Community discussions

MUM Europe 2020
 
gmsmstr
Trainer
Trainer
Topic Author
Posts: 940
Joined: Fri Jun 04, 2004 2:22 am
Location: St. Louis, MO
Contact:

Block Hotspot Users

Sat Feb 04, 2006 8:14 pm

How do I make it so that only port 80 and 443 can be used though my hotspot?
 
Hellbound
Long time Member
Long time Member
Posts: 509
Joined: Tue Oct 26, 2004 11:21 am

Sat Feb 04, 2006 11:19 pm

should be like this
/ip firewall filter add chain=input dst-address=!10.1.1.1/32 dst-port=!80 action=drop
/ip firewall filter add chain=input dst-address=!10.1.1.1/32 dst-port=!443 action=drop
10.1.1.1 is the router ip so you can allow yourself to connect to the router without hassle
 
savage
Forum Guru
Forum Guru
Posts: 1213
Joined: Mon Oct 18, 2004 12:07 am
Location: Cape Town, South Africa
Contact:

Sat Feb 04, 2006 11:46 pm

Through his hotspot.

Should that not be forwarding chain??? :?
Regards,
Chris
 
ofasa
Member Candidate
Member Candidate
Posts: 104
Joined: Tue Jul 20, 2004 11:42 pm

Sun Feb 05, 2006 12:02 am

should be like this
/ip firewall filter add chain=input dst-address=!10.1.1.1/32 dst-port=!80 action=drop
/ip firewall filter add chain=input dst-address=!10.1.1.1/32 dst-port=!443 action=drop
10.1.1.1 is the router ip so you can allow yourself to connect to the router without hassle
Then port 443 wil get droped before it gets to the second rule.

It should be:

port=80 action=accept
port=443 action=accept
anything else action=drop

Who is online

Users browsing this forum: Google [Bot], MSN [Bot] and 48 guests