Navigation

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

    Single WAN PPPOE Carp HA OpenVPN - remote LAN issue

    HA/CARP/VIPs
    4
    10
    2077
    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.
    • C
      crl last edited by crl

      My PPPOE single WAN Carp based setup is shown in the picture.

      pfSense failover CARP topology_Netgate_forum_post3.png

      Top path: pfSense VM on ESXi on Supermicro.
      Bottom path: pfSense VM on Qnap Virtualization Station.
      The top path is used in everyday normal operation, the bottom path is used only when the Supermicro is under maintenance.

      This HA setup works for me as intended.

      Issue symtom: since I transited to this HA setup, openVPN remote clients can only ping 192.168.1.1 but nothing else on the LAN network 192.168.1.0.
      I am stuck despite googling a lot of posts relating to openVPN and CARP.

      Can you please advise with the troubleshooting / fixing steps?

      Basis for the openVPN setup was this guide. I applied it before HA was configured. Since then I was tinkering with the settings trying to fix it, without success.

      Basis for the pppoe based HA setup was this guide

      d0662c75-652a-4930-bee6-d023d712ecdd-image.png

      cc566991-c3ab-4097-bcfa-7af3b87be634-image.png

      63c1fd21-c81a-4bc5-8003-436680cd890b-image.png

      Screenshot 2022-01-23 at 14-20-18 pfSense cser pro - OpenVPN Client Export Utility.png

      Outbound NAT.png

      35f27675-6dc6-4a98-b47d-21a3bda0c8a3-image.png

      ee88dfc8-7384-4699-ab8b-c7c218527e29-image.png

      2ea744a9-1723-476a-9eac-53e8b0cab82b-image.png

      Firewall Rules LAN.png

      5f54f291-aca2-460d-a70c-4c05b93dd064-image.png

      72048a53-3eea-438d-9687-8a1952f13553-image.png

      System High Availability Sync.png

      Remote side symtoms:
      Client.png

      CmdPing.png

      Content of pfSense-UDP4-1194-tarvpn-config.ovpn:
      dev tun
      persist-tun
      persist-key
      ncp-disable
      cipher AES-256-CBC
      auth SHA256
      tls-client
      client
      resolv-retry infinite
      remote 192.168.77.1 1194 udp4
      verify-x509-name "VPNServer_Cert" name
      auth-user-pass
      remote-cert-tls server
      explicit-exit-notify

      <ca>
      -----BEGIN CERTIFICATE-----
      ....
      -----END CERTIFICATE-----
      </ca>
      <cert>
      -----BEGIN CERTIFICATE-----
      ...
      -----END CERTIFICATE-----
      </cert>
      <key>
      -----BEGIN PRIVATE KEY-----
      ...
      -----END PRIVATE KEY-----
      </key>
      key-direction 1
      <tls-auth>

      2048 bit OpenVPN static key

      -----BEGIN OpenVPN Static key V1-----
      ...
      -----END OpenVPN Static key V1-----
      </tls-auth>

      V 1 Reply Last reply Reply Quote 0
      • Referenced by  C crl 
      • Referenced by  C crl 
      • G
        Gabri.91 last edited by

        Interface of the OpenVPN Server should be the PPOE interface (so WAN), not 192.168.77.1

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

          @crl said in Single WAN PPPOE Carp HA OpenVPN - remote LAN issue:

          Issue symtom: since I transited to this HA setup, openVPN remote clients can only ping 192.168.1.1 but nothing else on the LAN network 192.168.1.0.
          I am stuck despite googling a lot of posts relating to openVPN and CARP.

          I don't think on any relation with the CARP setup.
          Rather I guess, your LAN devices might block access from the remote site. You may have to configure the devices firewall properly to allow it.

          How you get access to the secondary node from remote network over VPN is described in the docs: https://docs.netgate.com/pfsense/en/latest/troubleshooting/ha-vpn-secondary.html

          C 1 Reply Last reply Reply Quote 0
          • C
            crl @Gabri.91 last edited by

            @gabri-91 Thanks for your response. I have changed it to WAN, still the issue remains.

            1 Reply Last reply Reply Quote 0
            • C
              crl @viragomann last edited by crl

              @viragomann Thanks for your response. Before the HA setup was introduced, openVPN LAN was visible from remote and devices such as 192.168.1.5 were accessible. So I don't think this is the case. Problem exists with Master pfSense, I have not yet tested the Backup pfSense instance. So it's either OpenVPN or CARP - maybe some sort of routing issue?

              result ipconfig /all
              40a3b7b6-044e-402c-915b-ae8cd26ecb59-image.png
              I oserved that the openVPN client tray icon is grey (inactive)
              45d436c3-cfc4-4d57-aeb0-f720af974f79-image.png . It should be green inside when ready, but for me it is grey.

              I have seen dual WAN descriptions with appropriate tricky ruling, but I could not adapt them for my case:
              Link

              C V 2 Replies Last reply Reply Quote 0
              • C
                crl @crl last edited by

                @crl 935d1cc4-4a72-471b-b512-d4da96aa184a-image.png
                This is so far the result of my brainstorming for the possible root causes. Please help to develop futher categories and prioritize them to track it down finally.

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

                  @crl said in Single WAN PPPOE Carp HA OpenVPN - remote LAN issue:

                  I oserved that the openVPN client tray icon is grey (inactive)

                  So it might not have connected properly.

                  Above you stated, the client connect and you can access pfSense.

                  If the client doesn't connect, you should start troubleshooting here.

                  1 Reply Last reply Reply Quote 0
                  • C
                    crl last edited by

                    Any ideas how to narrow this down / troubleeshot?
                    Can this be a pfSense bug? If so, which component?

                    V MrPete 2 Replies Last reply Reply Quote 0
                    • V
                      viragomann @crl last edited by

                      @crl
                      Check the OpenVPN logs on client and server. The whole connection establishment is logged with default settings.

                      1 Reply Last reply Reply Quote 0
                      • MrPete
                        MrPete @crl last edited by

                        @crl was this resolved? I'm having some issues myself.

                        Hoping you found your solution. :)

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post