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

    Port Forwarding

    Scheduled Pinned Locked Moved NAT
    5 Posts 3 Posters 505 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.
    • MarkCabreraM
      MarkCabrera
      last edited by

      Hello, I am new to pfsense. I recently configure my WAN interface from DHCP to Static IPV4 and input my Public Static IP. I also input my modem IP as an Upstream gateway. When I save the configuration, I got this error.

      "The gateway address 192.168.254.254 does not lie within one of the chosen interface's subnets."

      Please help, thanks.

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

        @MarkCabrera
        So the "modem" is a router indeed, or what are you trying to set up?
        What did the ISP give you?

        MarkCabreraM 1 Reply Last reply Reply Quote 0
        • MarkCabreraM
          MarkCabrera @viragomann
          last edited by

          @viragomann
          Yes. Now I already set up our public static ip in WAN, subnet and default gateway which is the upstream gateway. But the problem is that in LAN there's no internet connection. And I figured it out that i cannot ping the default gateway given by the ISP provider.

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

            @MarkCabrera not sure what this has to do with port forwarding and or nat?

            So your isp gave you static public IP say 1.2.3.4 with a mask of /24 (255.255.255.0) and they want you to point the gateway to 192.168.254.254?

            Normally the gateway is within the network your setting up, ie if you had a public IP of 1.2.3.4, the gateway might be 1.2.3.1 or 1.2.3.254 for example.

            But you can set a gateway outside your assigned IP network.

            https://docs.netgate.com/pfsense/en/latest/routing/gateway-configure.html#gateway-settings

            gateway.jpg

            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.7.2, 24.11

            MarkCabreraM 1 Reply Last reply Reply Quote 0
            • MarkCabreraM
              MarkCabrera @johnpoz
              last edited by

              @johnpoz
              i already enable the non-local gateway still the gateway is offline 100% Packetloss.

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