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

    Route one IP through vpn

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 1 Posters 674 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.
    • O Offline
      ograweb
      last edited by

      Hi

      I have a fully functionnal network with 7 pfsense connected through OpenVPN. It's working very well !

      Site A : Datacenter 10.0.0.1/24
      OpenVPN server
      Don't roote all traffic through VPN

      Site B : 10.0.50.1/24
      OpenVPN client (Dynamic openvpn ip 10.0.210.X)
      VPN work well to contact Server on Datacenter from Site B
      Web access don't go though VPN but directly to Wan

      I want to route 1 flow  (an UDP voip stream from an IPBX on site B (10.0.50.8))  to go outsite network by routing across OpenVPN (Exit flow by Datacenter Wan IP)

      I try some setting :

      • (on Site B) Creating OPT1 interface with ovpn1
      • (on Site B) Creating Gateway on interface OPT1
      • (on Site B) Creating a firewall rule on LAN, to use OPT1 Gateway
      • (On Datacenter) Creating a firewall rule to (temporary) accept all flow from OpenVPN

      But i's not working.  I can see the data leaving Site B and enter on Datacenter pfsene, but nothing more.

      What must I do ?  (I think I miss a setting on site DATACENTER, maybe something with NAT (I see automatic NAT setting allowing data from Datacenter or Openvpn to exit pfsense , but no rules with Site network

      Thanks

      1 Reply Last reply Reply Quote 0
      • O Offline
        ograweb
        last edited by

        It's working !

        I don't do anything more, just sleep a long night and it's working ! Amazing !

        …

        Yesterday, my test don't work because i must drop existing tcp/udp flow before testing

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.