Hello All,
I have witnessed some issues in my MT.I am using it as a Hotspot for my wireless and wired connections. When someone login to hotspot and the time exhausted, he cannot open any web site again but cant still chat. I want to know why such is happening and why must it be so.
I want a situation where as the ticket in hotspot exhausts, all connections will be closed including yahoo chat unless the person login again.
Your help will be appreciated.
Here is my firewall rules
[admin@SILVER] /ip firewall> export
/ip firewall connection tracking
set enabled=yes generic-timeout=10m icmp-timeout=10s tcp-close-timeout=10s
tcp-close-wait-timeout=10s tcp-established-timeout=1d
tcp-fin-wait-timeout=10s tcp-last-ack-timeout=10s
tcp-syn-received-timeout=5s tcp-syn-sent-timeout=5s tcp-syncookie=no
tcp-time-wait-timeout=10s udp-stream-timeout=3m udp-timeout=10s
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=
“place hotspot rules here” disabled=yes
add action=drop chain=forward comment=“tcp connection limit”
connection-limit=41,32 disabled=no protocol=tcp
/ip firewall mangle
add action=mark-connection chain=prerouting comment=“http mark” disabled=no
dst-port=80 new-connection-mark=http_conn passthrough=yes protocol=tcp
add action=mark-packet chain=prerouting comment=“” connection-mark=http_conn
disabled=no new-packet-mark=http_conn passthrough=no
add action=mark-connection chain=prerouting comment=“p2p mark” disabled=no
new-connection-mark=p2p_conn p2p=all-p2p passthrough=yes
add action=mark-packet chain=prerouting comment=“” connection-mark=p2p_conn
disabled=no new-packet-mark=p2p_conn passthrough=no
add action=mark-connection chain=prerouting comment=“smtp mark” disabled=no
dst-port=25 new-connection-mark=smtp_conn passthrough=yes protocol=tcp
add action=mark-packet chain=prerouting comment=“” connection-mark=smtp_conn
disabled=no new-packet-mark=smtp_conn passthrough=no
add action=mark-connection chain=prerouting comment=“pop mark” disabled=no
dst-port=110 new-connection-mark=pop_conn passthrough=yes protocol=tcp
add action=mark-packet chain=prerouting comment=“” connection-mark=pop_conn
disabled=no new-packet-mark=pop_conn passthrough=no
add action=mark-connection chain=prerouting comment=“other connections”
disabled=no new-connection-mark=other_conn passthrough=yes
add action=mark-packet chain=prerouting comment=“” connection-mark=other_conn
disabled=no new-packet-mark=other_conn passthrough=no
add action=mark-connection chain=prerouting comment=“sip mark”
connection-type=sip disabled=no new-connection-mark=sip_conn passthrough=
yes
add action=mark-packet chain=prerouting comment=“” disabled=no
new-packet-mark=sip_conn packet-mark=sip_conn passthrough=yes
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment=
“place hotspot rules here” disabled=yes
add action=masquerade chain=srcnat comment=“” disabled=no out-interface=
ether2
add action=masquerade chain=srcnat comment=“masquerade hotspot network”
disabled=no src-address=192.168.200.0/24
/ip firewall service-port
set ftp disabled=no ports=21