Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.
-A ufw-before-input -i tun0 -j ACCEPT
-A ufw-before-output -i tun0 -j ACCEPT
-A ufw-before-forward -s -j ACCEPT
-A ufw-before-forward -d -j ACCEPT

This input into my before.rules file stops me being able to ping the outside world. Before its fine i can ping google.co.uk after cant get out. Is there something wrong in my syntax here or what is the issue...? Im just trying to NAT my VPN so i can get internet access. Any thoughts would be greatly appreciated.

Thanks William

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.