machine behind VPN server wont respond
Jack McGee
jack at greendesk.net
Mon Dec 19 23:26:33 UTC 2016
On 12/19/2016 02:25 PM, Rashkae wrote:
> On 16-12-19 02:14 PM, Ken D'Ambrosio wrote:
>> Could you post your Tomato server's Openvpn config file? My hunch is
>> that your phone doesn't know how to talk to the 192.168.0.0 subnet --
>> but I'm not sure I understand why it's able to talk to 192.168.0.106 if
>> that's the case.
>>
>> -Ken
>>
>
> I would also like to see the output of route -n from 192.168.0.105
>
> The default gateway should be pointed to the tomato router, (or a
> route for the vpn subnet.)
>
>
> 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.
here is config from router:
root at unknown:/tmp/etc/openvpn/server1# cat config.ovpn
# Automatically generated configuration
daemon
server 10.8.0.0 255.255.255.0
proto udp
port 1194
dev tun21
comp-lzo adaptive
keepalive 15 60
verb 3
push "route 192.168.0.0 255.255.255.0"
push "dhcp-option DNS 192.168.0.1"
push "redirect-gateway def1"
tls-auth static.key 0
ca ca.crt
dh dh.pem
cert server.crt
key server.key
status-version 2
status status
# Custom Configuration
More information about the ubuntu-users
mailing list