I want my client to be able to access the internet outside of the vpn subnet.
I have this server config file
https://pastebin.com/9RVWrCKE
And this client one
https://pastebin.com/38NrZxBK The certificates and real IP address of the server have been removed.
I can ping at its local network IP address
ping 10.1.1.4
via
push "route 10.1.1.0 255.255.255.0"
and I believe that this also allows me to access anything else on that network. I don't have anything else on that network to test with though. I would like to be able to something similar for the whole internet but adding something like
push "route 8.8.8.0 255.255.255.0"
to let me access 8.8.8.8 but it doesn't let me get though.
I have turned on IP forwarding though
net.ipv4.ip_forward=1
in
/etc/sysctl.conf
and reloaded it with
sysctl -p
Looking at
https://forums.openvpn.net/viewtopic.php?f=6&t=10923 I am at 'Is NAT enabled on the VPN subnet?' but there is no reference on how to check and enable it so I am stuck there.
Any help would be greatly appreciated, Thanks :)