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

    Openpvn client cannot connect to WAN CARP VIP

    Scheduled Pinned Locked Moved HA/CARP/VIPs
    6 Posts 2 Posters 1.7k 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
      m3tatr0n
      last edited by

      Hi All,

      I have a pair of SG-4860 running the latest version of pfSense.
      I have configured CARP on WAN and 2 LANS.
      WAN CARP IP is x.x.x.1 (x.x.x.2 and x.x.x.3 - master and slave respectively).

      I can not connect to the WAN CARP VIP (x.x.x.1). I can connect though
      to either master or slave.

      I modified the interface field on my vpn server ( VPN -> OpenVPN -> Server ) changed
      WAN to x.x.x.1 WAN CARP IP.

      I still can not connect to WAN CARP IP. Also not connecting now to master and salve.
      On the OPenVPN firewall rules there is no to select WAN CARP VIP as the interface.

      TIA

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

        I got it connecting to x.x.x.1. In the rule for openvpn I had to set destination from 'Wan address' to 'single host or alias'
        and put x.x.x.1 in the address field.

        Now I have another issue, I can not connect to any internal lan boxes expect for the lan ip address of the openvpn server.

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

          Are your LAN boxes set to use pfSense as default gateway?

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

            Right at this moment no. The pfsense boxes are new and in the middle of getting tested.
            I do have test box and I configured it's default gateway to be the pfsense and I can get to it now.

            We have two internet service providers. one is used for the main business (server)
            one for workstations, mainly used for common internet stuff such as downloading
            and web browsing.

            We are currently using openvpn running on Debian linux with iptables as the firewall.
            The openvpn on that one was configured to used bridging, I guess that's why it doesn't
            matter if a box or server is using either of the the internet service provider as the gwatway.
            It is accessible because of ip address of the openvpn client is bridged.

            Thanks for the help.

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

              You can get it work on pfSense which isn't your default gateway anyhow by nating vpn client addresses to the pfSense LAN address using outbound NAT or by adding a static route for the vpn tunnel subnet to your LAN boxes.

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

                That is good to know. Thank you very much for your help. Really appreciate it.

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