Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. iptables -A INPUT -i tun0 -j ACCEPT
  2. iptables -A FORWARD -i tun0 -j ACCEPT
  3. iptables -A OUTPUT -o tun0 -j ACCEPT
  4. iptables -A FORWARD -i tun0 -o eth0 -s 10.8.0.0/24 -j ACCEPT
  5. iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement