Last active
August 29, 2015 14:26
-
-
Save RobK/763c4807bd369e70d9b3 to your computer and use it in GitHub Desktop.
Add firewall rules
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat >> /etc/config/firewall << EOF | |
config zone | |
option name 'VPN_FW' | |
option input 'REJECT' | |
option output 'ACCEPT' | |
option forward 'REJECT' | |
option masq '1' | |
option mtu_fix '1' | |
option network 'PIA_VPN' | |
config forwarding | |
option dest 'VPN_FW' | |
option src 'lan' | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment