Virtual Private Networks (VPN) OpenVPN
Digi TransPort WR Routers User Guide
216
digi.router> openvpn-route 2 destination 10.222.33.0
digi.router> openvpn-route 2 mask 255.255.255.0
2. Save the configuration.
digi.router> save config
Configure an OpenVPN client and server for bridge mode
The configuration for the bridge mode is the same as with routing mode except for the following
differences:
n The OpenVPN server is not configured with an IP network or mask.
n A LAN interface is assigned to the OpenVPN server.
n A LAN interface is assigned to the OpenVPN client.
Web
For OpenVPN server
1. On the menu, click Network > Networks > OpenVPN and select OpenVPN Server. The
OpenVPN Server page appears.
2. Click Edit. The OpenVPN server page displays the settings for the OpenVPN server.
3. Enter the Network settings:
n Bridge Mode: Select the LAN interface to be bridged with the OpenVPN clients.
4. Click Apply.
For OpenVPN clients
1. On the menu, click Network > Networks > OpenVPN and select OpenVPN Client. The
OpenVPN Client page appears.
2. Select the required OpenVPN client.
3. Click Edit. The OpenVPN client page displays the settings for the OpenVPN client.
4. Enter the Network settings:
n Bridge Mode: Select the LAN interface to be bridged with the OpenVPN server.
5. Click Apply.
Command line
1. Configure the LAN interface to be assigned with the OpenVPN server.
digi.router> openvpn-server bridge-mode lan1
2. Configure the LAN interface to be assigned with the OpenVPN client.
digi.router> openvpn-client 1 bridge-mode lan1