Thu Sep 29, 2016 12:56 pm
this is a default firewall script from rb2011. i change my last input rule to drop everything from pppoe-out1 (before it was ether1-gateway, but i am using a modem in bridge mode for the dsl connection)
with this set your are protected from outside dns requests.
this is my mostly used firewall rules in my customers with hotspots.
i always set dsl modem to bridge mode.
# jan/02/1970 00:01:04 by RouterOS 6.35
#
/ip firewall filter
## add chain=input comment="Accept Winbox over WAN" dst-port=8291 protocol=tcp
add chain=input comment="defconf: accept ICMP" protocol=icmp
add chain=input comment="defconf: accept established,related" \
connection-state=established,related
add action=drop chain=input comment="defconf: drop all from WAN" \
in-interface=pppoe-out1
add chain=forward comment="defconf: accept established,related" \
connection-state=established,related
add action=drop chain=forward comment="defconf: drop invalid" \
connection-state=invalid
add action=drop chain=forward comment=\
"defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat \
connection-state=new in-interface=ether1-gateway
also dont forget these..
/ip dns
set allow-remote-requests=yes servers=8.8.8.8,8.8.4.4