Configuration Commands
vpn
Cisco RV34xx Router CLI Reference Guide 34
4
• vpn restart --name connection-name
• vpn delete --name connection-name
• vpn show
vpn add --name connection-name --psk pre-shared key --
rwan remote wan IP --rlan remote lan IP --rmask remote lan
mask --lan local lan ip --lanmask local lan mask
• To add a vpn connection, use the vpn add --name connection-name --psk
pre-shared key --rwan remote wan IP --rlan remote lan IP --rmask
remote lan mask --lan local lan ip --lanmask local lan mask command.
Parameter
connection-name - Enter the connection name of the vpn.
pre-shared key - Enter the pre-shared key.
remote wan IP - Enter the remote WAN IP address.
remote lan IP - Enter the remote LAN IP address.
remote lan mask - Enter the remote LAN subnet mask.
local lan IP - Enter the local LAN IP address.
local lan mask - Enter the local LAN subnet mask.
Default Configuration
None.
Example
The following example displays how to add a vpn connection.
router06000a>vpn add --name test --psk qacafe123 --rwan 5.0.0.1 --rlan 11.0.0.0 --rmask
255.255.255.0 --lan 192.168.1.0 --lanmask 255.255.255.0
vpn stop --name connection-name
To stop a vpn connection, use the vpn stop --name connection-name command.