How to Install ‘IPFire’ Free Firewall Linux Distribution

Step 6: Set DNS and Gateway Settings

27. Choose DNS and Gateway Settings to configure the DNS and gateway. Here we can provide a Manual DNS or it will get assigned because we used DHCP in above step. If you need to be relief from these headache? Just leave this blank.

Select DNS and Gateway

Select DNS and Gateway

DNS IP Settings

DNS IP Settings

Choose DONE to exit from DNS settings.

Step 7: DHCP server Configuration

28. We need to configure DHCP settings for our GREEN interface for LOCAL/INTERNAL interface. To get IP for client machine’s from DHCP.

DHCP pool range will be from to

Configure DHCP Settings

Configure DHCP Settings

29. We are almost completed our setup, Choose OK to complete IPFire setup.

IPFire Setup Completed

IPFire Setup Completed

Step 8: Post Installation Setup

30. After reboot, we will get the Command line access using root credentials which we provided during setup at step #15 above.

PASSWORD	:	redhat123$
IPFire Commandline Access

IPFire Commandline Access

31. To access the web interface use the below URL, Which we used for the GREEN interface local/internal will be used for the WEB interface. Enter the username as “admin” and password that we’ve set at #step 16 above.
IPFire Web Access

IPFire Web Access

32. Once you logged in, you will get the Dashboard of the web Interface in IPFire.

IPFire Dashboard

IPFire Dashboard

There are many features included in IPFire they are as follows, Web Proxy with squid, URL filter, Update accelerator, DHCP server, Connection scheduler, DNS Server, DNS forwarding, Static Routes, Wake-ON-LAN, Open VPN, Dynamic DNS (DDNS), Time server, Bandwidth monitoring, Memory usage, Log collector for every services, Syslog, Firewall rules, P2P networks, iptables, Backup options and restore for configurations, Shutdown etc..

Following are the screen shots of IPFire features.

Advanced Web Proxy

Advanced Web Proxy

URL Filter Configuration

URL Filter Configuration

DHCP Configuration

DHCP Configuration

Iptables Connection Tracking

Iptables Connection Tracking


We have seen how to protect our office or home network with IPFire firewall/Router, IPFire was a German based Linux distribution only focused on security. Hope you have found this article simple and easy to install and configure firewall for your office or home environment. Don’t forget to fire your comments below after working around with IPFire..

Reference Links

IPFire HomePage
IPFire Documentation

If You Appreciate What We Do Here On TecMint, You Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

We are thankful for your never ending support.

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.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide
The Complete Linux System Administrator Bundle
Become an Ethical Hacker Bonus Bundle

You may also like...

16 Responses

  1. Than Vu Van says:

    Hi, I am learning about IPFire. Can you tell me about the structure of IPFire? Thank you

  2. Garron says:

    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?

  3. Johan says:

    Thank you so much!!!!!!

  4. Francis says:

    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!

  5. Jadson says:

    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 ~
    IPFire range is ~

    I’ve tried access at: it loads for minutes, then it stops.

  6. jeran maglanque says:

    Sir can i know how to add another system administrator in ipfire to avoid in login to root password?

  7. RK SINGH says:

    My Red IP is and Green IP is
    IPFIRE is running on NAT.
    In above condition 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.

  8. Deepanjan says:

    yes i have used the port no. i.e. 444 isn’t ?? but didn’t get any web console

  9. Babin says:

    You have two Ethernet cards ? Everything okay, Have you used the port number to access the Web UI ?

  10. Deepanjan says:

    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= via dhcp from internet modem/router
    Green=lan= static lan

    please help to get the web interface

    • Babin says:

      @Deepanjan You have two Ethernet cards ? Everything okay, Have you used the port number to access the Web UI ?

      • Deepanjan says:

        Yes I’v entered “” 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”.

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

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

          $ sudo route add default gw eth0
          $ sudo route add -net netmask gw eth0
          This will allow us to access web UI in

Leave a Reply to Babin Lonston Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.