Skip to content

Instantly share code, notes, and snippets.

@jsravn

jsravn/rules

Last active Jun 12, 2018
Embed
What would you like to do?
#ACTION SOURCE DEST PROTO DPORT SPORT ORIGDEST
# allow certain ICMP to not break TCP and pings
ACCEPT wan fw icmp 0,3,4,8,11
# example port forwarding
DNAT wan lan:192.168.1.10 tcp 2628
DNAT wan lan:192.168.1.10 udp 2628
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.