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

    (SOLVED) Creating Outbound NAT from LAN (OpenVPN network) to LAN

    Scheduled Pinned Locked Moved NAT
    10 Posts 2 Posters 1.4k 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.
    • SipriusPTS
      SipriusPT
      last edited by

      Hello,

      This is a strange situation, I have at least one machine (aka NAS) where I cannot ping to it, connect it through smb and https, while I am in OpenVPN using just the IP.

      If you need any extra configs just ask.

      Anyone knows what can be?

      Thanks!

      1xSG-4860-1U
      1xSG-3100
      2xpfSense Virtual Machines

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

        You may check if the pfSense is the default gateway on the NAS.

        But I guess, it doesn't allow access from different networks. So check the settings and its firewall.

        1 Reply Last reply Reply Quote 0
        • SipriusPTS
          SipriusPT
          last edited by

          @viragomann:

          You may check if the pfSense is the default gateway on the NAS.

          But I guess, it doesn't allow access from different networks. So check the settings and its firewall.

          I forgot that this NAS could bring a firewall.

          It is allowing all connections, there is no restriction to networks. =/

          I will try to contact the support team of it, to know if is a known bug. It can be from that, it have a firmware a bit outdated.

          Thanks viragomann!

          1xSG-4860-1U
          1xSG-3100
          2xpfSense Virtual Machines

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

            As a workaround you can try a source NAT rule for the NAS.

            To do so, ensure that your outbound NAT is set to hybrid or manual rule generation.
            Then add a new rule, set the interface to this one which is facing to the NAS (e.g. LAN), at source enter the vpn tunnel network, at destination enter the NAS IP, translation is to be set to "interface address".

            1 Reply Last reply Reply Quote 0
            • SipriusPTS
              SipriusPT
              last edited by

              @viragomann:

              As a workaround you can try a source NAT rule for the NAS.

              To do so, ensure that your outbound NAT is set to hybrid or manual rule generation.
              Then add a new rule, set the interface to this one which is facing to the NAS (e.g. LAN), at source enter the vpn tunnel network, at destination enter the NAS IP, translation is to be set to "interface address".

              Thanks again viragomann, I was thinking in using NAT but never did a NAT from LAN to LAN.

              I will let you know if I succed.

              1xSG-4860-1U
              1xSG-3100
              2xpfSense Virtual Machines

              1 Reply Last reply Reply Quote 0
              • SipriusPTS
                SipriusPT
                last edited by SipriusPT

                viragomann, I am not being able to do that, as you said who is the way it make sense to me.

                Here it goes:

                0_1531410278198_transferir (1).png

                1xSG-4860-1U
                1xSG-3100
                2xpfSense Virtual Machines

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

                  You have to select the interface which the NAS is connected to. I'm in doubt that this is a vpn interface.
                  Network + IP/32 is fine for a single host.

                  1 Reply Last reply Reply Quote 0
                  • SipriusPTS
                    SipriusPT
                    last edited by

                    @viragomann:

                    You have to select the interface which the NAS is connected to. I'm in doubt that this is a vpn interface.
                    Network + IP/32 is fine for a single host.

                    It was from the interface as you said, I change it to the one where NAS is connected and bang it show up eheh.

                    Thanks a lot one more time viragomann!

                    1xSG-4860-1U
                    1xSG-3100
                    2xpfSense Virtual Machines

                    1 Reply Last reply Reply Quote 0
                    • SipriusPTS
                      SipriusPT
                      last edited by

                      I will also rename this thread to be more ease to find!

                      1xSG-4860-1U
                      1xSG-3100
                      2xpfSense Virtual Machines

                      1 Reply Last reply Reply Quote 0
                      • SipriusPTS
                        SipriusPT
                        last edited by SipriusPT

                        Here it goes my working Outbound NAT from LAN to LAN:

                        0_1531410240204_transferir.png

                        1xSG-4860-1U
                        1xSG-3100
                        2xpfSense Virtual Machines

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