Letting client access greater internet over vpn
Posted: Tue Dec 07, 2021 2:08 am
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 via 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 to let me access 8.8.8.8 but it doesn't let me get though.
I have turned on IP forwarding though in and reloaded it with
Looking at 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 :)
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
Code: Select all
ping 10.1.1.4
Code: Select all
push "route 10.1.1.0 255.255.255.0"
Code: Select all
push "route 8.8.8.0 255.255.255.0"
I have turned on IP forwarding though
Code: Select all
net.ipv4.ip_forward=1
Code: Select all
/etc/sysctl.conf
Code: Select all
sysctl -p
Any help would be greatly appreciated, Thanks :)