Help! Route Issue

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
torranium
OpenVpn Newbie
Posts: 2
Joined: Sun Dec 04, 2016 9:56 pm

Help! Route Issue

Post by torranium » Sun Dec 04, 2016 10:07 pm

Hello, new users here thats spent the past 24hrs trying to figure out routing.

I am trying to route to my local network for certain websites, but I am unable to. I am using tunnelblick for MacOSX with PureVPN. For most of my internet use I want to be on a VPN, however for some websites I want for it to go through my local network. I would prefer to use the domain (whatismyipaddress.com). All the ip addresses in the config.ovpn are (whatismyipaddress.com)

I have used the below config.ovpn to get my local network IP address to show up in whatismyipaddress.com to no avail.

Is there anything wrong here below? I can get my VPN working, but the website always shows up as my VPN IP and not my local IP...

client
dev tun
proto tcp
remote usfl1-ovpn-tcp.purevpn.net 80
persist-key
persist-tun
ca ca.crt
tls-auth Wdc.key 1
cipher AES-256-CBC
comp-lzo
verb 1
mute 20
route-method exe
route-delay 2
route 0.0.0.0 0.0.0.0
float
auth-user-pass
auth-retry interact
ifconfig-nowarn
#Whatismyipaddress Domain and IP information
route "whatismyipaddress.com" 255.255.255.0 192.168.0.1
route "whatismyipaddress.com" 255.255.255.255 192.168.0.1
route whatismyipaddress.com 255.255.255.255 192.168.0.1
route whatismyipaddress.com 255.255.255.0 192.168.0.1
route whatismyipaddress.com 255.255.255.0 192.168.0.0
route whatismyipaddress.com 255.255.255.255 192.168.0.0
route 2.19.128.45 255.255.255.0 192.168.0.1
route 23.56.112.45 255.255.255.0 192.168.0.1
route 23.212.144.45 255.255.255.0 192.168.0.1
route 72.247.248.45 255.255.255.0 192.168.0.1
route 96.6.64.45 255.255.255.0 192.168.0.1
route 104.88.112.45 255.255.255.0 192.168.0.1
route 104.98.25.20 255.255.255.0 192.168.0.1
route 184.26.240.45 255.255.255.0 192.168.0.1
route 23.196.153.15 255.255.255.0 192.168.0.1

torranium
OpenVpn Newbie
Posts: 2
Joined: Sun Dec 04, 2016 9:56 pm

Cannot route domain name or IP

Post by torranium » Sun Dec 04, 2016 10:32 pm

Hello

I am using tunnelblick for OSX as a VPN client. I'm trying to route traffic to the website (Whatismyipaddress.com) thru my local network only while I am using the VPN but it is not working.

Below is my config.ovpn and Log

client
dev tun
proto tcp
remote usfl1-ovpn-tcp.purevpn.net 80
persist-key
persist-tun
ca ca.crt
tls-auth Wdc.key 1
cipher AES-256-CBC
comp-lzo
verb 1
mute 20
route-method exe
route-delay 2
float
auth-user-pass
auth-retry interact
ifconfig-nowarn
#Whatismyipaddress Domain and IP information
route "whatismyipaddress.com" 255.255.255.0 192.168.0.1
route "whatismyipaddress.com" 255.255.255.255 192.168.0.1
route whatismyipaddress.com 255.255.255.255 192.168.0.1
route whatismyipaddress.com 255.255.255.0 192.168.0.1
route whatismyipaddress.com 255.255.255.0 192.168.0.0
route whatismyipaddress.com 255.255.255.255 192.168.0.0
route 2.19.128.45 255.255.255.0 192.168.0.1
route 23.56.112.45 255.255.255.0 192.168.0.1
route 23.212.144.45 255.255.255.0 192.168.0.1
route 72.247.248.45 255.255.255.0 192.168.0.1
route 96.6.64.45 255.255.255.0 192.168.0.1
route 104.88.112.45 255.255.255.0 192.168.0.1
route 104.98.25.20 255.255.255.0 192.168.0.1
route 184.26.240.45 255.255.255.0 192.168.0.1
route 23.196.153.15 255.255.255.0 192.168.0.1

2016-12-04 17:27:34 /sbin/route add -net 172.111.134.3 10.0.1.1 255.255.255.255
add net 172.111.134.3: gateway 10.0.1.1
2016-12-04 17:27:34 /sbin/route add -net 0.0.0.0 172.111.134.193 128.0.0.0
add net 0.0.0.0: gateway 172.111.134.193
2016-12-04 17:27:34 *Tunnelblick: No 'connected.sh' script to execute
2016-12-04 17:27:34 /sbin/route add -net 128.0.0.0 172.111.134.193 128.0.0.0
add net 128.0.0.0: gateway 172.111.134.193
2016-12-04 17:27:34 MANAGEMENT: >STATE:1480890454,ADD_ROUTES,,,
2016-12-04 17:27:34 /sbin/route add -net 23.206.174.219 192.168.0.1 255.255.255.0
add net 23.206.174.219: gateway 192.168.0.1
2016-12-04 17:27:34 /sbin/route add -net 23.206.174.219 192.168.0.1 255.255.255.255
add net 23.206.174.219: gateway 192.168.0.1
2016-12-04 17:27:34 /sbin/route add -net 23.206.174.219 192.168.0.1 255.255.255.255
route: writing to routing socket: File exists
add net 23.206.174.219: gateway 192.168.0.1: File exists
2016-12-04 17:27:34 /sbin/route add -net 23.206.174.219 192.168.0.1 255.255.255.0
route: writing to routing socket: File exists
add net 23.206.174.219: gateway 192.168.0.1: File exists
2016-12-04 17:27:34 /sbin/route add -net 23.206.174.219 192.168.0.0 255.255.255.0
route: writing to routing socket: File exists
add net 23.206.174.219: gateway 192.168.0.0: File exists
2016-12-04 17:27:34 /sbin/route add -net 23.206.174.219 192.168.0.0 255.255.255.255
route: writing to routing socket: File exists
add net 23.206.174.219: gateway 192.168.0.0: File exists
2016-12-04 17:27:34 /sbin/route add -net 2.19.128.45 192.168.0.1 255.255.255.0
route: writing to routing socket: File exists
add net 2.19.128.45: gateway 192.168.0.1: File exists
2016-12-04 17:27:34 /sbin/route add -net 23.56.112.45 192.168.0.1 255.255.255.0
route: writing to routing socket: File exists
add net 23.56.112.45: gateway 192.168.0.1: File exists
2016-12-04 17:27:34 /sbin/route add -net 23.212.144.45 192.168.0.1 255.255.255.0
route: writing to routing socket: File exists
add net 23.212.144.45: gateway 192.168.0.1: File exists
2016-12-04 17:27:34 /sbin/route add -net 72.247.248.45 192.168.0.1 255.255.255.0
route: writing to routing socket: File exists
add net 72.247.248.45: gateway 192.168.0.1: File exists
2016-12-04 17:27:34 /sbin/route add -net 96.6.64.45 192.168.0.1 255.255.255.0
route: writing to routing socket: File exists
add net 96.6.64.45: gateway 192.168.0.1: File exists
2016-12-04 17:27:34 /sbin/route add -net 104.88.112.45 192.168.0.1 255.255.255.0
route: writing to routing socket: File exists
add net 104.88.112.45: gateway 192.168.0.1: File exists
2016-12-04 17:27:34 /sbin/route add -net 104.98.25.20 192.168.0.1 255.255.255.0
route: writing to routing socket: File exists
add net 104.98.25.20: gateway 192.168.0.1: File exists
2016-12-04 17:27:34 /sbin/route add -net 184.26.240.45 192.168.0.1 255.255.255.0
route: writing to routing socket: File exists
add net 184.26.240.45: gateway 192.168.0.1: File exists
2016-12-04 17:27:34 /sbin/route add -net 23.196.153.15 192.168.0.1 255.255.255.0
route: writing to routing socket: File exists
add net 23.196.153.15: gateway 192.168.0.1: File exists

Post Reply