5

[ubuntu] push "redirect-gateway def1"

view full story
linux-howto

http://ubuntuforums.org – heres my server config everytime i connect i cannot browse internet.... port 1194 proto udp dev tun ca /tmp/openvpn/ca.crt cert /tmp/openvpn/cert.pem key /tmp/openvpn/key.pem dh /tmp/openvpn/dh.pem server 10.8.0.0 255.255.255.0 push "redirect-gateway local def1" keepalive 10 120 comp-lzo persist-key persist-tun verb 3 iptables -I INPUT -p udp --dport 11907 -j logaccept iptables -I INPUT -p tcp --dport 11907 -j logaccept iptables -I INPUT -p udp --dport 1194 -j logaccept iptables -I INPUT -p tcp --dport 1194 -j logaccept iptables -A INPUT -i tun+ -j ACCEPT iptables -A FORWARD -i tun+ -j ACCEPT iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE push "dhcp-option DNS 10.8.0.1" (HowTos)