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

    Setting up static ip on pfsense

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 4 Posters 13.1k 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.
    • U
      userkiller
      last edited by

      Hi im trying to use my pfsense firewall as a dedicated firewall,And NAT.

      My ISP provided me with 5 static ip how can i set it up, also i want the server to obtain a static ip from the dhcp server.
      Im going to be using the the servers for webhosting (virtualization to be exact) can anyone help me out.

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • pttP
        ptt Rebel Alliance
        last edited by

        Have you checked the Docs ?

        http://doc.pfsense.org/index.php/Main_Page

        http://doc.pfsense.org/index.php/Category:NAT

        http://doc.pfsense.org/index.php/Category:DHCP

        http://doc.pfsense.org/index.php/What_are_Virtual_IP_Addresses%3F

        1 Reply Last reply Reply Quote 0
        • U
          userkiller
          last edited by

          I checked it, i know about the NAT tutorial, but i don't know how to set up the static ip to give my servers internet access.
          I need someone to explain to me.
          Wan,Lan do i need to make any firewall rules to allow internet traffic?

          Sorry for my beginner questions, but im a fast learner i just need this push to start learning and experimenting more.

          1 Reply Last reply Reply Quote 0
          • P
            podilarius
            last edited by

            WAN will use one static and then you will use virtual IPs to assign the rest. Yes, you will have to use NAT and firewall rules to allow traffic and forward them on to certain IPs behind the firewall. I would reference the docs already posted.

            1 Reply Last reply Reply Quote 0
            • C
              craigduff
              last edited by

              I have an ADSL Provider in my area, and they provided me with a router, with 5 useable IP addresses. I swapped it out for a Zyxel router really nice. I used the first IP for that device… And then with my pfsense i used the secondary IP in the range and my gateway was the Zyxel Router (first IP). Then added the rest using Alias in pfsense. The reason for this, is so that i can still access the Zyxel interface if i need. And plus if i was ever outside the network i could ping the Zyxel to make sure the internet was up without compromising the network, and Pfsense.

              Kind Regards,
              Craig

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