Client -> Server -> Internet
Posted: Thu May 18, 2017 7:35 pm
Folks,
Setting up slowly so I know what and why things are happening.
Set up a server and client with simple PSK. Set server to forward traffic. Also on server set the following;
Now am able to ping from client to server but if I ping an external internet address it goes via the client's normal eth or wlan adapter.
Am I missing something obvious, should there be some command routing tun to eth ?
Geffers
Setting up slowly so I know what and why things are happening.
Set up a server and client with simple PSK. Set server to forward traffic. Also on server set the following;
Code: Select all
sudo iptables -t nat -A POSTROUTING -s tun0 -o wlx74da382e0a3f -j MASQUERADE
Am I missing something obvious, should there be some command routing tun to eth ?
Geffers