AutoVPN creates a session that automatically configures a UDP TINA VPN tunnel between two CloudGen Firewalls and handles the traffic through it. In addition, all necessary services are created if they do not already exist. Configuration must be initiated in two steps by an administrator on the command line. The first step is to initiate a server session on the first firewall that listens to incoming AutoVPN connection requests from the second firewall. The second step is to connect the second firewall to the first one by authentication with a token that was previously generated on the first firewall. AutoVPN uses BGP for routing and TLS for securing the connection during parameter negotiation. You can define how many CloudGen Firewall devices can connect to the listener. Per default, 250 connections are allowed. AutoVPN can also be configured using REST API.
AutoVPN provides four commands, which are described in the table below. Each command has various options. To show all available options, enter the command you are interested in and type
--help after the command and press Enter. All commands must be entered in the CLI of the desired firewall.
Starts an AutoVPN hub. Listens to connections from the allowed subnet or subnets if more than one subnet is declared.
An access control list is either a single subnet in CIDR format or a comma-separated list of subnets in CIDR format.
Connects to a listener. The token is displayed on the AutoVPN hub. Note that IP_address_listener and token are two parameters separated by a blank.
|autovpn status||Shows the status of established connections or sessions.|
| ||Removes all tunnels belonging to the specified session and the listener session itself on the listening device.|
Removes the specified AutoVPN tunnel on the connecting device.
|autovpn --help||Shows the help for the AutoVPN.|
Options are entered in the format:
autovpn command --option
For example, type
autovpn listen --help to show the help for the listen command.
- Per default, 250 connections are allowed on the AutoVPN Hub. To limit the number of connections, you must use the maxclients option:
autovpn listen <allowed_subnet_in_CIDR_format> --maxclients <number_maximum_allowed_clients>
- The timeout for the listener session is set to 60 minutes per default. If you want to specify another timeout, use the following command specifying the timeout in minutes. Use
0to create an unlimited listener session:
autovpn listen <allowed_subnet_in_CIDR_format> --timeout <minutes>