Skip to content

Instantly share code, notes, and snippets.

View codeb2cc's full-sized avatar
🎯
Focusing

Codeb Fan codeb2cc

🎯
Focusing
View GitHub Profile
@codeb2cc
codeb2cc / iptables
Created January 3, 2013 15:44 — forked from anonymous/iptables
Linode PPTP VPN iptables configuration
# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*nat
:PREROUTING ACCEPT [10:532]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
# PPTP
-A POSTROUTING -s 10.18.1.0/24 -o eth0 -j MASQUERADE