• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Routing issue with multiple OpenVPN connections

Scheduled Pinned Locked Moved OpenVPN
2 Posts 2 Posters 1.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    PhantomGhost
    last edited by May 21, 2013, 12:29 PM

    I am having a strange issue… I have my network running off a pfsense box. That same box is also the OpenVPN server for 2 different VPN connections going to different friends of mine. Lets say VPN1 is on 10.0.8.0 for the tunnel network, VPN2 is on 10.0.9.0. I have had the first one up and running fine for a while now, but I just set up the second VPN connection last night. Both are P2P Shared Key, UDP.

    My problem is with the second connection. I haven't tested the first again after this to know if it happens both ways, but when I try to ping a device over VPN2, its random if it works...some devices seem to ping fine, others fail, it was really random. After a bit of testing, we figured out what was happening, but have no idea why. The user at the other end of VPN2 turned on packet capturing and saw my pings coming from 10.0.8.1, which is the virtual address for the VPN1 gateway...not VPN2. The pings were getting to him through that gateway though. He added a route for that traffic back to me on the correct path, and now pings work fine, however that isnt really a solution, just a work around, and I'm worried it will cause other problems down the road with heavier traffic. Any ideas why traffic for VPN2 is going out over the VPN1 virtual gateway address?

    1 Reply Last reply Reply Quote 0
    • M
      marvosa
      last edited by May 22, 2013, 5:30 AM

      Post a network map, your server.conf's, your routing table and firewall rules and lets take a look.

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received