How can we help you?

How to configure IPFire firewall?

In order to configure IPFire firewall to connect to NordVPN, follow these steps:

  1. Access your IPFire via command line as root.
  2. Create and access the directory where all our configuration file will be stored:

    mkdir /etc/openvpn
    cd /etc/openvpn

  3. Download our configuration file from page. Hover over the Download config and copy the download link.

    In this example, it is To download a file, use wget command as in the example below:

  4. Add an additional rule to the routing table:

    iptables -t nat -A POSTROUTING -s -o tun0 -j MASQUERADE

    This rule will route all traffic from network via the VPN tunnel. If you use different addresses - change them accordingly.
  5. Start OpenVPN with a chosen configuration by entering sudo openvpn file_name. Example:

    sudo openvpn

  6. Type in your NordVPN username and password.

  7. You will see this line if your connection is successful:

    Initialization Sequence Completed


  • If you get this error:

    ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)

    enter the following commands:

    mkdir -p /dev/net
    mknod /dev/net/tun c 10 200
    chmod 600 /dev/net/tuncat /dev/net/tun

  • If you receive this message, it means your TUN/TAP device is not ready for use. Repeat steps 5 and 6.

    cat: /dev/net/tun: File descriptor in bad state

Related Articles

© Copyright 2020 all rights reservedSelf-service byNanorep