Attempting to tunnel all client traffic thru server
Posted: Tue Jun 23, 2015 12:24 am
Just as a preface, I am not extremely experienced with VPN networking in general, despite being in networking classes so bear with me when trying to figure this out.
So as of right now I (finally) have a single Windows client connecting to a single Windows OpenVPN server. This works but 1. The client still uses the same external network IP address when browsing 2. LAN traffic is inaccessible (This is less on an issue right now, and can wait until later.)
As I understand, I need to put in the server configuration. Is this correct? There seems to be so many ways to accomplish this that I am completely lost. e.g ethernet bridging, TUN/TAP, etc.
Client (Physical Adapter: internet | TUN/TAP: 10.8.0.6) -----> Home router (WAN: internet | LAN: 192.168.1.1/24) -------> OpenVPN Server (LAN: 192.168.1.35/24 | TUN/TAP: 10.8.0.1)
The configs are pretty default but I can post any of them you need, just let me know. Any help figuring out how to tunnel the traffic correctly would be a great help.
So as of right now I (finally) have a single Windows client connecting to a single Windows OpenVPN server. This works but 1. The client still uses the same external network IP address when browsing 2. LAN traffic is inaccessible (This is less on an issue right now, and can wait until later.)
As I understand, I need to put
Code: Select all
push "redirect-gateway def1"
Client (Physical Adapter: internet | TUN/TAP: 10.8.0.6) -----> Home router (WAN: internet | LAN: 192.168.1.1/24) -------> OpenVPN Server (LAN: 192.168.1.35/24 | TUN/TAP: 10.8.0.1)
The configs are pretty default but I can post any of them you need, just let me know. Any help figuring out how to tunnel the traffic correctly would be a great help.