Skip to content

Instantly share code, notes, and snippets.

mat@vpntest:~$ cat /etc/sockstables.sh
# clear tables
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
# vpn
iptables -A INPUT -p tcp --dport 1723 -j ACCEPT
iptables -A INPUT -p gre -j ACCEPT