machine behind VPN server wont respond
Rashkae
ubuntu at tigershaunt.com
Tue Dec 20 00:46:25 UTC 2016
On 16-12-19 06:26 PM, Jack McGee wrote:
>>
>> mythuser at amethi:~$ route -n
>> Kernel IP routing table
>> Destination Gateway Genmask Flags Metric Ref Use
>> Iface
>> 0.0.0.0 10.22.10.5 128.0.0.0 UG 0 0 0 tun0
>> 0.0.0.0 192.168.0.1 0.0.0.0 UG 100 0 0 eth0
>> 10.22.10.1 10.22.10.5 255.255.255.255 UGH 0 0 0
>> tun0
>> 10.22.10.5 0.0.0.0 255.255.255.255 UH 0 0 0 tun0
>> 91.108.183.50 192.168.0.1 255.255.255.255 UGH 0 0 0
>> eth0
>> 128.0.0.0 10.22.10.5 128.0.0.0 UG 0 0 0 tun0
>> 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth0
>> 192.168.0.0 0.0.0.0 255.255.255.0 U 100 0 0 eth0
>>
>
> and 192.168.0.1 is the tomato router.
>
Ok, you seem to have two default gateways, and another vpn already
running. I'm assuming, (at the well known risk,) that this is caused by
the private internet gateway app. Make sure the app is stopped and
restart the computer. Your routting table shoudl not have any
references to 10.22.10.xxx (and I'm not sure why there is an entry for
91.108.183.50.... presumably, that's a host for which you had to bypass
the vpn.)
once you have your routing table in working order, you should be able to
reach the host over the vpn.
If you want your phone vpn to work at the same time as private internet
access, you'll have to add a new routing table entry for your vpn subnet.
Once that's working and tested, if you want your vpn
(It's been a while since I've done this, so there might be a mistake)
route add 10.8.0.0 netmask 255.255.255.0 gw 192.168.0.1
PS. On an unrelated note, rather than running private internet's app, I
would download the ovpn configuration file they provide, and import that
file into Ubuntu's network manager. One GUI to rule them all, and it
works really well. You probably have to add the network manager openvpn
gui plugin package.
More information about the ubuntu-users
mailing list