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 <ip addr> <port>.

Over the assertion Connection Status and -Control a new connection will be created by clicking the Add button. As Connection Type the Host-to-Net Virtual Private Network (RoadWarrior) 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 semicolon. The other remote addresses should be commented out with the semicolon.

Edit Page ‐ Yes, you can edit!

Older Revisions • June 9 at 3:12 pm • Jon