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

Port Forwarding

NAT
3
5
503
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
    MarkCabrera
    last edited by Sep 8, 2023, 6:48 AM

    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 Sep 8, 2023, 8:11 PM Reply Quote 0
    • V
      viragomann @MarkCabrera
      last edited by Sep 8, 2023, 8:11 PM

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

      M 1 Reply Last reply Sep 27, 2023, 6:38 AM Reply Quote 0
      • M
        MarkCabrera @viragomann
        last edited by Sep 27, 2023, 6:38 AM

        @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.

        J 1 Reply Last reply Sep 27, 2023, 7:20 AM Reply Quote 0
        • J
          johnpoz LAYER 8 Global Moderator @MarkCabrera
          last edited by Sep 27, 2023, 7:20 AM

          @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

          login-to-view

          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

          M 1 Reply Last reply Sep 27, 2023, 7:41 AM Reply Quote 0
          • M
            MarkCabrera @johnpoz
            last edited by Sep 27, 2023, 7:41 AM

            @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.