openvpn: initialization sequence completed but no internet

Discussion in 'Tomato Firmware' started by jwork123nl, Aug 21, 2012.

  1. jwork123nl

    jwork123nl Serious Server Member

    Using Tomato Firmware v1.28.0498 MIPSR2-Toastman-VLAN-RT-N K26 VPN
    Configured my Linksys E4200V1 as VPN client.

    Press start now and according to the syslog the connection is established.
    I can ping the vpn server (BolehVPN) both from the router and from devices connected
    to the router.
    But: that is the only thing I can do. I have absolutely no internet connection whatsoever.

    The whole thing work like a charm setup on my Linux pc with the openvpn package.
    But I want it on the router, it is the reason that I installed tomato in the first place.

    My thought was that there might be an error in the routing- see below.
    Let me know if you need more input...

    Here is the output of ip route show before and after establishing the connection

    ****** Without VPN client service

    root@unknown:/tmp/etc/dnsmasq# ip route show
    89.98.128.1 dev vlan2 scope link
    89.98.128.0/24 dev vlan2 proto kernel scope link src 89.98.128.155
    192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.1
    127.0.0.0/8 dev lo scope link
    default via 89.98.128.1 dev vlan2


    ****** Running VPN client service
    root@unknown:/tmp/etc/dnsmasq# ip route show
    217.168.16.25 via 89.98.128.1 dev vlan2
    89.98.128.1 dev vlan2 scope link
    89.98.128.0/24 dev vlan2 proto kernel scope link src 89.98.128.155
    192.168.1.0/24 dev br0 proto kernel scope link src 192.168.1.1
    172.16.1.0/24 dev tun11 proto kernel scope link src 172.16.1.212
    127.0.0.0/8 dev lo scope link
    0.0.0.0/1 via 172.16.1.1 dev tun11
    128.0.0.0/1 via 172.16.1.1 dev tun11
    default via 89.98.128.1 dev vlan2
     
  2. rhester72

    rhester72 Network Guru Member

    Code:
    0.0.0.0/1 via 172.16.1.1 dev tun11
    
    This is not a happy thing. Make sure that you haven't configured OpenVPN to force all traffic through the tunnel.

    Rodney
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice