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

    Newbie question about LAN To WAN

    Scheduled Pinned Locked Moved NAT
    15 Posts 3 Posters 2.9k 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.
    • ?
      A Former User
      last edited by

      any one please help.

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

        why would you not just create a vpn with your asa to your lab?

        Your site A machines gateway is what?  Your asa or your isp router?  Something in 172.16.0/24

        How would they know to go down some tunnel you have created on some pfsense machine to some lab?  Your trying to put your whole site A behind pfsense??  So there are no more machines on 192.168.170???

        Yeah that drawing sucks ;)

        Why does this lab not just create a vpn tunnel to your HQ network like your other sites?

        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
        • ?
          A Former User
          last edited by

          why would you not just create a vpn with your asa to your lab? I don't have access to ASA box.

          Your site A machines gateway is what?  Your asa or your isp router?  Something in 172.16.0/24  ASA are gateways.

          How would they know to go down some tunnel you have created on some pfsense machine to some lab?  Your trying to put your whole site A behind pfsense??  So there are no more machines on 192.168.170???  **Yes, I'm putting all machines behind pfsense. No more machine on 192.168.170. **

          Yeah that drawing sucks ;) he he.. yep..

          Why does this lab not just create a vpn tunnel to your HQ network like your other sites?  That.. I don't know why.. sorry

          1 Reply Last reply Reply Quote 0
          • DerelictD
            Derelict LAYER 8 Netgate
            last edited by

            You should be able to make client connections out from pfSense to Lab without needing access to the ASA. Unless they are blocking all but certain outgoing connections or being otherwise aggressive on outbound.

            You will not be able to get a server running there without access to the ASA unless they are already forwarding a port to you from the outside that you can use instead. Preferably a UDP port.

            Probably your best bet is to put pfSense at Lab and run the OpenVPN server there. Make 192.168.170.2 the OpenVPN client.

            This seems like something that should be run by whomever is actually responsible for the security of these two sites though. Like the guy with the ASA credentials. Another IPsec tunnel from Lab with access to 192.168.170.0/24 seems like the way to go there.

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User
              last edited by

              No Problem accessing from Site A Pfsense 172.16. machines to Lab net at the moment as per Proposed Network diagram.

              The problem is accessing from Site B to Site A Pfsense machines.

              Am I correct in understanding your suggestion is to make OpenVPN client range 192.168.170 .  Will this allow Site B 192.168.160 range to communicate with 172.16 range?

              Sorry if it is a silly question.

              1 Reply Last reply Reply Quote 0
              • DerelictD
                Derelict LAYER 8 Netgate
                last edited by

                For that you will probably have to add VIPs on pfSense WAN and 1:1 NAT then to the inside hosts and pass the traffic on pfSense WAN.

                You might be able to get away with just 1:1 the whole /24 in that case.
                Firewall, Virtual IPs

                Type: Proxy ARP
                Interface: WAN
                Address Type: Network
                Address(es): 192.168.170.0/24

                Firewall > NAT, 1:1
                Interface: WAN
                External subnet IP: 192.168.170.0/24
                Internal IP: Network: 172.16.0.0/24
                Destination: Not: Checked WAN address

                On WAN pass IPv4 port any source 192.168.160.0/24 dest 192.168.170.0/24

                No idea what types of connections that NAT will break.

                I am also unsure about the Not WAN address. Seems to make sense that you would need to bypass NAT for WAN address there.

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User
                  last edited by

                  Thank you. :) I will try it on Monday and report back to you guys.

                  1 Reply Last reply Reply Quote 0
                  • DerelictD
                    Derelict LAYER 8 Netgate
                    last edited by

                    In case it's not clear, they will still think they are talking to, say, 192.168.170.101 but they will really be going through NAT and talking to 172.16.0.101

                    Chattanooga, Tennessee, USA
                    A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                    DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                    Do Not Chat For Help! NO_WAN_EGRESS(TM)

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User
                      last edited by

                      Sorry. Being a bit thick here.  So what shall I do now.

                      1 Reply Last reply Reply Quote 0
                      • DerelictD
                        Derelict LAYER 8 Netgate
                        last edited by

                        The same thing.

                        Chattanooga, Tennessee, USA
                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

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