IPFire is a Linux firewall distribution that is secure and easy to operate. 

To configure IPFire firewall in order to connect to LimeVPN using OpenVPN, follow the below steps:

1. Open IPFire via command line as root

2. Create and access the directory where all the configuration files will be stored:

mkdir /etc/openvpn

cd /etc/openvpn

3. Download the OpenVPN configuration files and unzip them:

wget https://www.limevpn.com/downloads/OpenVPN-Config-1194.zip

unzip zip

rm -rf zip

4. Before connecting add the below rule to the routing table:

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

This will route all traffic from network via the VPN tunnel. If you use different addresses, change accordingly.

5. To connect to a server, example eu10.limevpn.com, use the below command:

openvpn eu10.ovpn

6. When prompted enter the LimeVPN username and password

7. Following command will come up if the connection is completed

Initialization Sequence Completed


If you get an error message like below:

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

Then use the below commands:

mkdir -p /dev/net

mknod /dev/net/tun c 10 200

chmod 600 /dev/net/tun

cat /dev/net/tun

If you receive below message, then it means your TUN/TAP device is ready for use.

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

Now repeat steps 5, 6 and 7

Did this answer your question?