Advertisement
wakoond

firewall user for ipsec

Jan 16th, 2012
12,528
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. # This file is interpreted as shell script.
  2. # Put your custom iptables rules here, they will
  3. # be executed with each firewall (re-)start.
  4.  
  5. iptables -A input_wan -m policy --strict --dir in --pol ipsec --proto esp -j ACCEPT
  6. iptables -A forwarding_rule -i ppp+ -j ACCEPT
  7. iptables -A forwarding_rule -o ppp+ -j ACCEPT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement