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

    Access Open VPN Server from two External IPs

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 3 Posters 319 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.
    • M
      mode
      last edited by

      Hi,

      i am running an OpenVPN Server on pfsense. I have two internet connections with separate NAT Routers:

      WAN <router 192.168.1.1="">LAN 192.168.1.0/24
      WAN <router 192.168.2.1="">LAN 192.168.2.0/24

      Pfsense has two network adresses 192.168.1.10 and 192.168.2.10.
      Both Routers have a Port Forwarding for the OpenVPN Service on the pfSense machine.

      How can manage that pfsense is responding to the router, where the request came from? ATM all responses go to the default GW set in pfSene which is Router 1. This results in asymetric routing for Requests comig from Router 2.
      How can i handle this?

      BR

      mode</router></router>

      1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        @mode:

        WAN <router 192.168.1.1="">LAN 192.168.1.0/24
        WAN <router 192.168.2.1="">LAN 192.168.2.0/24

        Pfsense has two network adresses 192.168.1.10 and 192.168.2.10.</router></router>

        That are both LAN addresses. So you have no WAN on pfSense?
        How are these addresses assigned? One to each interface, both to only one interface?

        1 Reply Last reply Reply Quote 0
        • M
          mode
          last edited by

          My pfsense is running in a VM. I have two LAN interfaces with 192.168.1. and 192.168.2. adresses. No WAN Interface on pfsence since this is handled by other routers in the network. This pfsense provides only ovpn service.

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            How does the openvpn traffic get to pfsense?  That would be pfsense "wan" interface.. The interface pfsense uses to get to or from other networks would be a wan interface..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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