openvpn only for internet traffic...
Posted: Fri Sep 20, 2013 11:24 pm
once again I am having a bit of trouble configuring my system. here is what I am trying to accomplish:
I have rented a server and installed openvpn on it to allow me to use that servers IP address for whatever I am doing on the internet.
I have a pc that has openvpn installed and it connects to that server perfectly, and when I am on the internet I am getting that IP address as intended.
my problem is once openvpn is connected, all other machines on my home network cannot connect to it easily. when openvpn is not connected to the server, everything is just fine.
I am sure the problem is in my config file, but I cannot figure it out on my own.
I would like it configured so that ALL traffic going out to the internet goes through the vpn server, and all networking on my home network stays untouched.
here is my config file:
I have read the information about the config files, but do not quite understand it all. 
I have rented a server and installed openvpn on it to allow me to use that servers IP address for whatever I am doing on the internet.
I have a pc that has openvpn installed and it connects to that server perfectly, and when I am on the internet I am getting that IP address as intended.
my problem is once openvpn is connected, all other machines on my home network cannot connect to it easily. when openvpn is not connected to the server, everything is just fine.
I am sure the problem is in my config file, but I cannot figure it out on my own.
I would like it configured so that ALL traffic going out to the internet goes through the vpn server, and all networking on my home network stays untouched.
here is my config file:
Code: Select all
client
dev tun
proto udp
remote 76.74.129.194 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
comp-lzo
verb 3
route-method exe
route-delay 2
