• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 321 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 Jan 18, 2018, 2:28 PM

    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 Jan 18, 2018, 2:56 PM

      @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 Jan 19, 2018, 9:00 AM Jan 19, 2018, 8:54 AM

        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
        • J
          johnpoz LAYER 8 Global Moderator
          last edited by Jan 19, 2018, 11:40 AM

          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.8, 24.11

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