Blocking external Proxy

/ip firewall filter
add action=drop chain=forward comment=”Blokir Proxy Port #1″ out-interface=ether1-gateway dst-port=\
81,82,83,84,85,86,808,1071,3128,4006,6515,6666,6703,7315,8000 \
protocol=tcp src-address=0.0.0.0/0
add action=drop chain=forward comment=”Block Proxy Port #2″ out-interface=ether1-gateway dst-port=\
8001,8008,8017,8080,8081,8088,8090,8118,8123,8181,8888,8909,9000,9064,9090 \
protocol=tcp src-address=0.0.0.0/0
add action=drop chain=forward comment=”Block Proxy Port #3″ out-interface=ether1-gateway dst-port=\
12148,16181,18777,20084,24341,28283,29785,30910,30964,33450,33836,33976,34061,35995,36217 \
protocol=tcp src-address=0.0.0.0/0
add action=drop chain=forward comment=”Block Proxy Port #4″ out-interface=ether1-gateway dst-port=\
39634,39978,41711,43766,44126,45570,46253,46653,46863,49793,50478,53699,54182,54321,55699 \
protocol=tcp src-address=0.0.0.0/0
NOTE:
-maximum ports per line are 15 ports
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s