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

    Port forwarding and static IP

    Scheduled Pinned Locked Moved NAT
    4 Posts 4 Posters 979 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.
    • K
      kdmiller45
      last edited by

      pfSense by default set the LAN for DHCP, will it cause problems if I set a Static IP for my web server and just let everything else stay Dynamic or since I am not sure where to tell pfsense that I have set that IP to the webserver, will it try to issue it to some other device

      Thanks for you help, just a newbie here

      Keith

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

        My rule of thumb is that servers should always be static unless there is a specific reason to set them to dynamic.

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

          Pretty much. Other than that, set up a DHCP static mapping for the host.

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

            As already mentioned - you could create a reservation for this server.  Or just set your pool to leave some IPs on either end or both ends of the segment for static assignment.  For example if using a /24.. set your pool .10 to .250 this leaves you IPs on both ends for static use.

            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
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.