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

    Internal gateway

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 747 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.
    • M
      MrGlasspoole
      last edited by

      After all this years with network stuff at home i still have problems understanding what the gateway does.

      It was always like that, that the router/modem is the gateway.
      But i have pfSense running in Hyper-V and setting pfSense as gateway is a problem.
      If i have to reboot Hyper-V then i can't access it anymore because there is the "Network Location Awareness Service".
      Since pfSense is not running when Hyper-V starts, the NIC is set to public and you can't access the machine anymore trough remote desktop.

      So at social.technet.microsoft.com somebody said to set a network device as gateway.

      Does that mean the default gateway does not need to be pfsense/router?
      Can you set all the PCs, Tabs, Phones, TVs, access points to something else?

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        • You can set the location to private via GPO
        • You can run a scheduled task that to
        
        net stop nlasvc /yes
        
        

        a couple of minutes after boot, when the pfSense VM is up and running.

        Both of the above a whole lot better than messing with gateways.

        1 Reply Last reply Reply Quote 0
        • M
          MrGlasspoole
          last edited by

          Ok, then i have to figure out how to do it in Powershell.
          But

          net stop nlasvc /yes
          

          only stops the service? I have to restart it after that?

          So the gateway for all devices in the LAN should be pfSense?

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned
            last edited by

            No, there is no need to restart it, it will immediately restart itself on its own.

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