1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

OpenVPN server can't ping client using TUN, routing issues.

Discussion in 'Tomato Firmware' started by chingychun, Nov 9, 2013.

  1. chingychun

    chingychun Reformed Router Member

    Hi ya'll

    I'm using TomatoVPN and trying to setup a site to site, bi-directional vpn connection.

    The OpenVPN server (192.168.0.1) is install on my WRT54G and is also the main router to the internet. The openvpn client (10.0.1.100) i'm using OpenVPN GUI installed on Windows 7.

    I have everything setup with configurations recommended in this forum (using TUN) for bi-directional connectivity.
    I can ping the server and the 192.168.0.x subnet machines. DNS is pushed to the client, etc. However, the server can't ping the client (10.0.1.100) or devices in the 10.0.1.0 subnet. I can however ping 10.8.0.6 (client) from the server side.

    If i change to TAP, then everything works, Server can ping the client. So it clearly seems to be a problem with my routing and ip forwarding rules. I am unfamiliar with iptables so can anyone tell me exactly what i need to enter in the firewall script?

    Thanks in advance!
     
  2. chingychun

    chingychun Reformed Router Member

    This is my routing table[​IMG]
     
    Last edited: Nov 9, 2013
  3. Goggy

    Goggy Network Guru Member

  4. chingychun

    chingychun Reformed Router Member

    @Goggy, yup i have read that post before and i have it configured exactly the same.

    Ofcourse, client side setup is different, because i'm using OpenVPN GUI running Windows7.

    PS. I've also changed the client subnet to 192.168.1.0 from 10.0.1.0 as mentioned above.

    [​IMG]
     

Share This Page