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

    Internal network in public network

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 4 Posters 523 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
      Atreides
      last edited by

      If I wanted to set up an internal network inside a public network with pfSense, would I be able to plug into public hotel internet and use that as my WAN connection? Would this give me my own private network? Would anything else have to be considered like double NAT?

      1 Reply Last reply Reply Quote 0
      • KOMK
        KOM
        last edited by

        would I be able to plug into public hotel internet and use that as my WAN connection?

        Maybe.  Is it a regular link or does it lead to some kind of portal page?

        Would this give me my own private network?

        Yes.

        Would anything else have to be considered like double NAT?

        What are you trying to do?

        1 Reply Last reply Reply Quote 0
        • A
          Atreides
          last edited by

          Basically I will be living out of a hotel for a month and a bit and would like to set up my network like I have it at home with switches and servers. The reason I brought up NAT, is I assume the hotel will be NAT'd and then if I setup my own internal network with subnets and everything it will have NAT as well, will this be an issue or will I just be able to set it up just as if I was getting my connection directly from the ISP?

          The hotel is on University grounds and I doubt they will have any portal active. I didn't consider that, but if they do have about a portal active, is there anything I can do about it or will that throw a wrench into my plans?

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

            double nat is normally only an issue when trying to do unsolicited inbound (port forwards).. For normal internet outbound traffic it shouldn't be a problem.  While its not ideal.. It by no means is any sort of show stopper.

            As long as your internal network does not overlap your wan network it should just work out of the box.  Lets say pfsense gets 192.168.1.0/24 on its wan - make sure you use something different on your lan - 192.168.2.0/24 for example.

            That being said many hotels do have a portal to auth to get access, that only lasts like 24 hours.  Atleast any hotel I have been in..  So you might have to reauth ever day to the portal - normally giving your lastname and hotel room..

            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
            • JKnottJ
              JKnott
              last edited by

              As long as your internal network does not overlap your wan network it should just work out of the box.  Lets say pfsense gets 192.168.1.0/24 on its wan - make sure you use something different on your lan - 192.168.2.0/24 for example.

              I ran into that issue several years ago.  My home network or VPN would sometimes conflict with the hotel network.  To fix that, I moved my home network & VPN to the 172.16.x.y range.  While I have often seen networks in the 192.168. or 10. ranges, I have never seen the 172.16 addresses used elsewhere.

              PfSense running on Qotom mini PC
              i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
              UniFi AC-Lite access point

              I haven't lost my mind. It's around here...somewhere...

              1 Reply Last reply Reply Quote 0
              • A
                Atreides
                last edited by

                OK, great! Sounds like it might work! Thanks.

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