Skip to content

Instantly share code, notes, and snippets.

View sjl070707's full-sized avatar

Mike Seung Jin Lee sjl070707

  • Toronto
View GitHub Profile
@sjl070707
sjl070707 / routing.sh
Created April 25, 2018 01:21
openstack openvpn save masquerade
iptables -A INPUT -i tun+ -j ACCEPT
iptables -A FORWARD -i tun+ -j ACCEPT
iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE
iptables-save