Welcome to the IPFire Wiki

This wiki is a community-maintained resource about everything there is to know about IPFire. Join us and help us improving it!

Looking for something?

Use the search and find answers to everything about IPFire. If you cannot find what you are looking for, join our community and talk to fellow IPFire users, developers and everybody else involved in the project.

IPFire Community

OpenVPN and WLAN

Back to OpenVPN main page

Next configuraion section

To use a W-LAN connection over an OpenVPN connection, OpenVPN must be enabled on blue in the "global settings". This ensures that IPFires blue network address will be printed into the client configuration file via the directive "remote".

Over the assertion "Status and client control" a new connection will be created by clicking the "Add" button. As "connection typ" the "Host-to-Net Virtual Private Network" should be selected. The name of the connection must not already exist, also the usage of special characters or spaces should be avoided, the rest of the entries (as above) should be self explanatory.

In this example, only LAN IP`s are used, so it may looks different to your .ovpn file:

;remote 192.168.10.1 1194
#Coment the above line and uncoment the next line, if you want to connect on the Blue interface
remote 192.168.20.1 1194
#Coment the above line and uncoment the next line, if you want to connect on the Orange interface
;remote 192.168.30.1 1194

To comment out the analogue lines, the semicolon ";" will be used.

filename = WLAN-TO-IPFire.ovpn

#OpenVPN Server conf
tls-client
client
dev tun
proto tcp
tun-mtu 1500
;remote 192.168.10.1 1194
#Coment the above line and uncoment the next line, if you want to connect on the Blue interface
remote 192.168.20.1 1194
#Coment the above line and uncoment the next line, if you want to connect on the Orange interface
;remote 192.168.30.1 1194
pkcs12 WLAN.p12
cipher AES-256-CBC
comp-lzo
verb 3
ns-cert-type server
tls-remote 192.168.10.1

So in that case the IP address "192.168.20.1" are the IPFires WLAN address, which should be activated by deleting the semikolon. The other "remote" addresses should be outcommented with the semikolon.

Next configuraion section

Back to OpenVPN main page

Edit Page ‐ Yes, you can edit!

Older Revisions • Wednesday at 2:50 pm • Jon