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

    remote OpenVPN-client LAN not reachable

    Scheduled Pinned Locked Moved OpenVPN
    23 Posts 4 Posters 3.6k 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.
    • S
      sgw
      last edited by

      I edited the topic now because things develop somehow.

      I talked to the support for the Westermo LTE-router, he told me to switch to TAP-mode. OK.
      Tunnel is up, ping still "asymmetric".

      Maybe I misunderstand which Firewall Rules to set:

      there is an assignment of ovpns3 (the openvpn-tap-server ...) to an Interface named like "Ovpn_remote" (example name ...).

      the VLAN to reach behind the pfsense for sure also has an Interface like VLAN160.

      And I see an interface "OpenVPN" as well!

      What to edit to allow VLAN160 access the Remote LAN behind the OpenVPN client (if that is configured correctly)?

      I am lost in allow-allow-any-any for getting things to work ;-)

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

        @sgw said in remote OpenVPN-client LAN not reachable:

        switch to TAP-mode.

        WHAT??

        Now you wanting to bridge vs route? I'm done if you can not follow the simple instructions given in the link - have fun!

        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

        S 2 Replies Last reply Reply Quote 0
        • S
          sgw @johnpoz
          last edited by

          @johnpoz said in remote OpenVPN-client LAN not reachable:

          @sgw said in remote OpenVPN-client LAN not reachable:

          switch to TAP-mode.

          WHAT??

          Now you wanting to bridge vs route? I'm done if you can not follow the simple instructions given in the link - have fun!

          I tried, believe me! Right now I am in telco with a technician from the router-support and connection works after adding a static route. It isn't really elegant right now, I agree ...

          1 Reply Last reply Reply Quote 0
          • S
            sgw
            last edited by

            We will reattack on monday with your HOWTO ... 6 eyes see more than 4 ...

            1 Reply Last reply Reply Quote 0
            • S
              sgw @johnpoz
              last edited by

              @johnpoz said in remote OpenVPN-client LAN not reachable:

              @sgw said in remote OpenVPN-client LAN not reachable:

              switch to TAP-mode.

              WHAT??

              Now you wanting to bridge vs route? I'm done if you can not follow the simple instructions given in the link - have fun!

              Solved now, I had missed the "Client Specific Overrides" part .. my mistake, sure.
              Now that was a big circle walked .... sigh
              Thanks again.

              Now to cleaning up my FW-rules, and documentation ... next sites are coming.

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

                Your still in TAP mode? That is NOT what you want!!!

                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

                S 1 Reply Last reply Reply Quote 0
                • S
                  sgw @johnpoz
                  last edited by

                  @johnpoz said in remote OpenVPN-client LAN not reachable:

                  Your still in TAP mode? That is NOT what you want!!!

                  no no! TUN as in the linked howto!

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

                    Ok great - now I would suggest you turn off compression, looks like you have it set on? And your using sha1 vs 256, those are not defaults?? And don't see them mentioned anywhere in the link - so why would you have changed them? Are you using an older version of pfsense?

                    Google VORACLE for info for the compression info.

                    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

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      sgw @johnpoz
                      last edited by

                      @johnpoz said in remote OpenVPN-client LAN not reachable:

                      Ok great - now I would suggest you turn off compression, looks like you have it set on? And your using sha1 vs 256, those are not defaults?? And don't see them mentioned anywhere in the link - so why would you have changed them? Are you using an older version of pfsense?

                      Google VORACLE for info for the compression info.

                      The remote site seems to enable LZO comp even when we set it to "disabled" there, so I enabled it as well.
                      SHA1 is the only choice he has, we now run AES-256-CBC (different from above config from yesterday).

                      I browsed the logs for OpenVPN on pfsense (2.4.4p2 btw) and changed settings which triggered warnings.

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

                        Well have to live with the limitations of the other end - replace it with pfsense ;)

                        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

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          sgw @johnpoz
                          last edited by

                          @johnpoz said in remote OpenVPN-client LAN not reachable:

                          Well have to live with the limitations of the other end - replace it with pfsense ;)

                          I disabled comp (chose 1st entry "Disable Compression"), he disabled. I push compress options there now and I get a ping and these logs:

                          SENT CONTROL [aba_n_ka]: 'PUSH_REPLY,route 192.168.160.0 255.255.255.0,compress ,route-gateway 10.1.160.1,topology subnet,ping 10,ping-restart 60,redirect-gateway def1,ifconfig 10.1.160.3 255.255.255.0,peer-id 1,cipher AES-128-GCM' (status=1)
                          

                          Otherwise it seems rather safe to me. The clients are only allowed to one separate VLAN behind pfsense etc etc

                          The guy understands all the fuzzing around, but I assume he mistrusts me and pfsense a bit now ;-)

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

                            @sgw said in remote OpenVPN-client LAN not reachable:

                            redirect-gateway def1

                            Why are you redirecting gateway? That is normally not done in a site to site setup.

                            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

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              sgw @johnpoz
                              last edited by

                              @johnpoz said in remote OpenVPN-client LAN not reachable:

                              @sgw said in remote OpenVPN-client LAN not reachable:

                              redirect-gateway def1

                              Why are you redirecting gateway? That is normally not done in a site to site setup.

                              A leftover from my desparate debugging. Thanks for spotting, disabled it now (was in the CSO).

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