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

    Setting Static IP

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    20 Posts 4 Posters 1.5k 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.
    • R
      Rileyc
      last edited by

      well my ISP only provides static IP's if you ask for one. I am trying to port forward some servers is the reason I needed a static IP. Im new to pfsense configurations so i was just trying to learn anyway I could.

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

        You sure and the F do not need a static to forward ports.. And unless your isp is a complete dick of an isp once you get an IP via dhcp it wont change unless you turn off your hardware for a period that exceeds the length of your lease.

        How much is this static IP is costing you? Again let me stress you do not need a static IP to port forward.. That is the whole point of dynamic dns services which there are 100's if not 1000's of that are free, etc..

        And even then more than you prob don't even need dyndns.. I have had multiple isps over the years... Once you get an IP it will stay that IP for months/years.. Unless you turn off your hardware or your isp does something that changes the netblock assigned to your area... I had the same IP for over 2 years.. Never changed.. And even when I changed hardware - just changed the mac to be the same and kept the IP, etc.

        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
        • R
          Rileyc
          last edited by

          Well I have a business line so i get one for free. My WAN was not matching my public ip address and i checked why and my ISP said that they change the public IP address every couple of days (for whatever reason) so i had to get a static one so it will not change and mess up all my port forwarding.

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

            Sounds like your ISP is a POS... or they are running you through a proxy? Why and the F would they change your IP if your getting it via a dhcp and renewing your lease?

            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
            • R
              Rileyc
              last edited by

              Im not sure why they do it honestly. All i know is i need to setup a static ip address lol.

              1 Reply Last reply Reply Quote 0
              • DerelictD
                Derelict LAYER 8 Netgate
                last edited by

                Yeah if they want to call an unchanging DHCP lease a "static" that is better than an address that changes.

                But that does not necessarily mean you can just change it to a static configuration.

                They might need DHCP to happen so they know where to route your traffic.

                If your address is supposed to be static and it keeps changing, I would call the ISP and ask them what specific configuration is required on your side. You don't need pfSense-specific information, just a generic configuration for your side of the WAN.

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

                  Well to setup a static just do what I showed.. Change your current wan from dhcp to static and put in the info your isp gave you for mask and gateway.

                  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
                  • R
                    Rileyc
                    last edited by

                    Okay, Ill follow it later tonight and let the thread know how it goes. I appreciate the help!

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

                      Yeah I don't get why the ISP wouldn't just setup a reservation for your dhcp if you want "static" vs changing it to actual static.. Some times I just don't get how some of these ISPs stay in business.

                      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
                      • R
                        Rileyc
                        last edited by

                        Well I am getting an actual static address now, i just had to ask for it from the ISP

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

                          Then just change your wan from dhcp to static and put in the info.. You will have to create the gateway then, etc.

                          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.