OpenVPN and WLAN

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.

Edit Page ‐ Yes, you can edit!

Older Revisions • May 5 at 8:40 pm • Michael Tremer