Virtual Private Networks (VPN)
OpenVPN
TX54 User Guide
460
Command line
1. Log into the TX54 command line as a user with full Admin access rights.
Depending on your device configuration, you may be presented with an
Access selection
menu
. Type
admin
to access the Admin CLI.
2. At the command line, type
config
to enter configuration mode:
> config
(config)>
3. At the config prompt, type:
(config)> add vpn openvpn server
name
(config vpn openvpn server
name
)>
where
name
is the name of the OpenVPN server.
The OpenVPN server is enabled by default. To disable the server, type:
(config vpn openvpn server
name
)> enable false
(config vpn openvpn server
name
)>
4. Set the mode used by the OpenVPN server:
(config vpn openvpn server
name
)> device_type
value
(config vpn openvpn server
name
)>
where
value
is one of:
n
TUN (OpenVPN managed)
—Also known as routing mode. Each OpenVPN client is
assigned a different IP subnet from the OpenVPN server and other OpenVPN clients.
OpenVPN clients use Network Address Translation (NAT) to route traffic from devices
connected on its LAN interfaces to the OpenVPN server.
n
TAP - OpenVPN managed
—Also know as bridging mode. A more advanced
implementation of OpenVPN. The TX54 device creates an OpenVPN interface and uses
standard interface configuration (for example, a standard DHCP server configuration).
n
TAP - Device only
—An alternate form of OpenVPN bridging mode, in which the device,
rather than OpenVPN, controls the interface configuration. If this method is is, the
OpenVPN server must be included as a device in either an interface or a bridge.
See
for information about OpenVPN modes. The default is
tun
.
5. If
tap
or
tun
are set for
device_type
:
a. Set the IP address and subnet mask of the OpenVPN server.
(config vpn openvpn server
name
)> address
ip_address/netmask
(config vpn openvpn server
name
)>
Содержание TX54
Страница 1: ...TX54 User Guide Firmware version 22 2 ...
Страница 190: ...Interfaces Bridging TX54 User Guide 190 ...
Страница 293: ...Hotspot Hotspot configuration TX54 User Guide 293 ...
Страница 332: ...Hotspot Show hotspot status and statistics TX54 User Guide 332 ...
Страница 584: ...Services Simple Network Management Protocol SNMP TX54 User Guide 584 4 Click Download ...
Страница 1069: ...Command line interface Command line reference TX54 User Guide 1069 reboot Reboot the system Parameters None ...