For some reasons, my neighbour country (country A), where I need to travel frequently for business purpose, blocks access of some sites.
i wish to gain full access to the Internet whenever I am in country A.
i then set up a vpn server (ubuntu) at home (country B, and no Internet restriction in country B). i wish to direct all internet access via the vpn server when i am in country A.
Code:
That's to say:
Internet (client) <==> Home router <==> VPN server <==> Home router <==> Internet (restricted sites)
i have completed the installation of vpn and can connect successfully to the vpn server from the Internet. the problem is that the connection is limited from client to the vpn server only, failed to access elsewhere (neither the Internet or File server within the intranet).
Code:
My settings:
<===> VPN server
Internet <==> Home router
<===> File server
Home subnet: 192.168.1.0
VPN subnet: 10.8.0.0
Home router private IP: 192.168.1.1
VPN server IP: 192.168.1.100 & 10.8.0.1
File server IP: 192.168.1.101
I am a newbie to networking. May I ask somebody's help to illustrate how to complete the configuration, in particular, the routing table and any things to do with the openvpn config files?
Thanks a lots!