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

Problem with OpenVPN server and client at the same time

Discussion in 'Tomato Firmware' started by jochen, Sep 16, 2013.

  1. jochen

    jochen Network Guru Member

    I have Tomato Shibby and configured a OpenVPN server (tap interface) for remote access to my home lan. That worked very well.
    Now I configured additionally a OpenVPN client to route all internet traffic through a vpn service provider (privateinternetaccess.com). This works also very well, but when the client is running, I have no access to my home lan through openvpn server. I can connect to the server without errors, but I cannnot ping the router through this tunnel. I get the error "network not reachable".

    Looks like there is some problem with the routing table.

    Any ideas?
  2. jochen

    jochen Network Guru Member

    No one?
  3. Vi Lo

    Vi Lo Connected Client Member

  4. jochen

    jochen Network Guru Member

    No, sadly I didn't.
  5. Bird333

    Bird333 Network Guru Member

    Are you saying that while you have all traffic going to PIA you also want to access your OpenVPN server? That's like having OpenVPN inside OpenVPN. If that's the case, even if you get this working I would think it would really slow down your connection. Good luck. :)
  6. jochen

    jochen Network Guru Member

    Why shouldn't that be possible? When I establish a vpn connection on my Linux pc, I can say "dont route adresses from my lan through the vpn tunnel". So my lan is still reachable. The same should be possible on the router: "dont route adresses from the server-vpn through the client-vpn."
  7. Bird333

    Bird333 Network Guru Member

    Not saying it shouldn't be possible but if I understood you are saying you are sending all traffic to PIA. You need to somehow fix that issue.
  8. jochen

    jochen Network Guru Member

    No, I say: all traffic directed to internet should go through PIA. Traffic to my lan should stay in my lan (even if connected through a vpn tunnel).
  9. beezar

    beezar Networkin' Nut Member

    I'm a real novice at this, but I've been trying to do the same thing as you. From what I've read when searching how to do this, you have to open ports of your specific devices on your LAN so that they don't go through the OpenVPN client when trying to reach you. It doesn't make sense to me (then again I am a novice); I would think the OpenVPN server connection would not go through the client, but I have no clue. Please let me know if you come up with something; I have no idea how to open ports on my specific devices (read: I am a novice...)
  10. Bird333

    Bird333 Network Guru Member

    It sounds like you want to run two OpenVPN clients on your one computer. One connecting to your home lan and one connecting to PIA. I don't know how to do this but it sounds like you need to get the routing tables on your computer set up right to direct the traffic correctly. You also might want to read these two threads to get some ideas. If you get this working please post so it can benefit everybody (I am personally curious also :)).



Share This Page