How to Install ‘IPFire’ Free Firewall Linux Distribution

Step 2: IPFire Network Configuration Settings

17. Here, we are using 2 Ethernet cards in our system. Each Ethernet card needs to be assigned separately for each network, by default it will choose GREEN + RED that means It connects to the local area network and WAN connection with Internet access.

IPFire Network Configuration
IPFire Network Configuration

18. Next, select GREEN + RED color for our two network cards and choose Ok to continue.

Select IPFire Network Type
Select IPFire Network Type

Now we can see the current config as GREEN + RED it’s with local, WAN.

Step 3: IPFire Drivers and Card Assignments

19. From here, choose Drivers and card assignments type to choose the Network, which is going to assign for LAN and WAN interfaces.

Select Drivers and Cards
Select Drivers and Cards

20. Next, choose GREEN and press Select to enable a Interface for all two network cards.

Select Network Interface
Select Network Interface
Enable Network Interface
Enable Network Interface

21. Repeat same above steps for RED interfaces and at final step we can see as below.

Assign Red Network Interface
Assign Red Network Interface

Step 5: Assign IP Addresses for Network Interfaces

22. Now time to assign IP address for each interfaces. Here we have only 2 interfaces and we need to assign IP address in different sub-net.

If we using 192.168.0.100 for RED interface, we must use different IP and network for other interface. For RED interface we going to use DHCP.

Select Address Settings
Select Address Settings
  1. GREEN interface – 192.168.1.1
  2. RED interface – DHCP

23. Choose GREEN and provide the IP, While choosing we will get a Warning that our Local area connection will be dropped if we change the IP.

Select Green Interface
Select Green Interface
IP Change Warning
IP Change Warning

24. Next, provide the IP 192.168.1.1 for GREEN network interface for our Local/Internal network.

Set IP Address For Green
Set IP Address For Green

25. Choose RED interface and choose DHCP to get a IP from our ISP are we can assign a manual IP. This is our WAN interface which expose to the Internet.

Set DHCP IP Address
Set DHCP IP Address

26. Here we need to configure whether our internet connection with a Static IP or PPPOE or DIALUP method. I’m using DHCP for WAN interface. Choose Ok and save it by choosing DONE.

Configure Internet Connection
Configure Internet Connection

Hey TecMint readers,

Exciting news! Every month, our top blog commenters will have the chance to win fantastic rewards, like free Linux eBooks such as RHCE, RHCSA, LFCS, Learn Linux, and Awk, each worth $20!

Learn more about the contest and stand a chance to win by sharing your thoughts below!

Babin Lonston
I'm Working as a System Administrator for last 10 year's with 4 years experience with Linux Distributions, fall in love with text based operating systems.

Each tutorial at TecMint is created by a team of experienced Linux system administrators so that it meets our high-quality standards.

Join the TecMint Weekly Newsletter (More Than 156,129 Linux Enthusiasts Have Subscribed)
Was this article helpful? Please add a comment or buy me a coffee to show your appreciation.

16 Comments

Leave a Reply
  1. I need some help immediately please, I am trying to setup ipfire in my virtual environment and got to the stage where set-password is required but my keyboard won’t input anything in the field. Is there any special key to use for typing in there?

    Reply
  2. Nice writeup.

    I’ve been using ipfire as my production firewall appliance for about 5 years. It is very simple yet very powerful.

    I moved to ipfire from ipcop years ago because of the active development and modern kernel. Ipcop was secure and functional but was just kind of stagnating on innovation and moving forward to operate on today’s hardware.

    I’m surprised I don’t see more about ipfire in any the tech sites I visit.

    Thanks for promoting this great tool!

    Reply
  3. I can’t access the web interface after installation.
    I ping the green interface from my notebook and then ping my notebook from the virtualbox with the ipfire and it’s all right.

    My network range is 10.0.0.0 ~ 10.0.0.255
    IPFire range is 10.0.1.0 ~ 10.0.1.10

    I’ve tried access at: https://10.0.1.1:444 it loads for minutes, then it stops.

    Reply
    • What are the colors you chooses for interface’s how many interfaces are there? Can you give the information about IP, subnet, dhcp used in both interfaces

      Reply
  4. My Red IP is 133.82.0.4/24 and Green IP is 133.82.0.1/20.
    IPFIRE is running on NAT.
    In above condition 133.82.0.xxx/20 IP address is not working in Green LAN.
    I want to disable the NAT and enable the routing.
    What are the procedure for disable the NAT and enable the routing between green to red.

    Reply
  5. Hi Babin,

    i am unable to get the web interface i have chosen GREEN+RED

    my current network design is

    Internet (ISP)–> Modem–> Ipfire
    Red= wan=192.168.1.5 via dhcp from internet modem/router
    Green=lan=192.168.100.8 static lan

    please help to get the web interface

    Reply
      • Yes I’v entered “https://192.168.100.8:444/” in the client browser. The IP is pinging from client machine and Service Scan on this IP reveiled “3 services running; 53:domain; 81:host2-ns; 444:snpp”.

        Reply
        • Could you please give me the Network range of your Desktop? 192.168.1.0.x or 192.168.1.x? Or else? What is your Desktop IP range and have you tried by routing to 192.168.100.0 ?

          My desktop ip 192.168.0.254, network range is 192.168.0.0 but my ipfire range was 192.168.1.0 i have routed to 192.168.1.0 using:

          $ sudo route add default gw 192.168.0.254 eth0
          $ sudo route add -net 192.168.1.0 netmask 255.255.255.0 gw 192.168.0.254 eth0
          
          This will allow us to access web UI in 192.168.1.1.
          Reply

Got Something to Say? Join the Discussion...

Thank you for taking the time to share your thoughts with us. We appreciate your decision to leave a comment and value your contribution to the discussion. It's important to note that we moderate all comments in accordance with our comment policy to ensure a respectful and constructive conversation.

Rest assured that your email address will remain private and will not be published or shared with anyone. We prioritize the privacy and security of our users.