Accessing Internet through OpenVPN
Posted: Tue May 26, 2015 1:56 pm
Hi
My question is the question of many people who are like me (know a little about networking but know nothing about routing). I have searched and read for ours on internet and found many posts but I really can not understand the guides. please explain clearly (Only in windows language) and tell me if you want any data.
The goal:
Bypassing censorship by tunneling all my traffic through a windows server 2008 VPS
The problem:
I have configured openvpn server and client. I can connect to server and can ping it but I can not ping client (is it important?). I can remote desktop from client to server. but the problem is when I want to use internet on client, it uses the internet without tunneling. So I added 'redirect-gateway def1' to client config to route all traffic to openvpn server. then my connection to internet completely goes out and for example browser says can not display page. how should I configure client and/or server to route traffic from client to server and then to internet and vice.
Info(some of this for example only):
VPS real IP:210.110.110.100
VPS default gateway:62.43.23.23
openvpn server ip:10.26.0.1
openvpn server network:10.26.0.0/255.255.255.0
openvpn client ip:10.26.0.6
My question is the question of many people who are like me (know a little about networking but know nothing about routing). I have searched and read for ours on internet and found many posts but I really can not understand the guides. please explain clearly (Only in windows language) and tell me if you want any data.
The goal:
Bypassing censorship by tunneling all my traffic through a windows server 2008 VPS
The problem:
I have configured openvpn server and client. I can connect to server and can ping it but I can not ping client (is it important?). I can remote desktop from client to server. but the problem is when I want to use internet on client, it uses the internet without tunneling. So I added 'redirect-gateway def1' to client config to route all traffic to openvpn server. then my connection to internet completely goes out and for example browser says can not display page. how should I configure client and/or server to route traffic from client to server and then to internet and vice.
Info(some of this for example only):
VPS real IP:210.110.110.100
VPS default gateway:62.43.23.23
openvpn server ip:10.26.0.1
openvpn server network:10.26.0.0/255.255.255.0
openvpn client ip:10.26.0.6