Skip to content

Instantly share code, notes, and snippets.

@life1347 life1347/vfw.sh
Last active Aug 29, 2015

Embed
What would you like to do?
vFW.sh
#!/bin/bash
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -i eth1 -j ACCEPT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.