Default Gateway is 0.0.0.0 No Internet access
77wisher77 opened this issue · 1 comments
77wisher77 commented
How to configure the default gateway so clients can access the internet while connected to the vpn?
77wisher77 commented
enable ip forwarding in /etc/sysctl.conf net.ipv4.ip_forward = 1
run sysctl -p
configure IP Masquerading
`sudo iptables -t nat -A POSTROUTING -o <network_interface> -j MASQUERADE
Default gateway will still be 0.0.0.0 but now internet access will be available
You may want to set this up as a service as i believe this needs to be done every boot