Professional Documents
Culture Documents
Step by Step Configure Router Vyata 6.5.27
Step by Step Configure Router Vyata 6.5.27
Step by Step Configure Router Vyata 6.5.27
NOTE Committing configuration changes to this configuration node does not result in the
OpenVPN process being restarted. The configuration change will take effect the next time the
client connects to the server.
Use the set form of this command to create the client configuration node.
Use the delete form of this command to remove the client configuration node.
Use the show form of this command to view the configuration.
Syntax
set interfaces openvpn vtunx server client client-name disable
delete interfaces openvpn vtunx server client client-name disable
show interfaces openvpn vtunx server client client-name
Command Mode
Configuration mode.
Configuration Statement
interfaces {
openvpn vtunx {
server {
client client‐name {
disable
}
}
}
}
Parameters
vtunx The identifier for the OpenVPN interface. This may be vtun0 to
vtunx, where x is a non-negative integer.
Default
Clients are allowed to connect to the OpenVPN server.
Usage Guidelines
Use this command to specify a client that will be disallowed from connecting to the
OpenVPN server the next time it tries to connect (and any subsequent attempts). This
will not affect the client’s current connection. The current connection can be reset using
the monitor interfaces openvpn <interface> traffic command.
NOTE If an OpenVPN client tries to connect to an OpenVPN server and is refused by the server,
the client process will exit.
Use the set form of this command to specify a client that will be disallowed from
connecting to the OpenVPN server on any subsequent attempts.
Use the delete form of this command to allow the client to connect to the OpenVPN
server.
NOTE A OpenVPN client needs to be restarted before it will initiate a new connection to
the OpenVPN server.
Use the show form of this command to view the configuration.
Syntax
set interfaces openvpn vtunx server client client-name ip ipv4
delete interfaces openvpn vtunx server client client-name ip
show interfaces openvpn vtunx server client client-name ip
Command Mode
Configuration mode.
Configuration Statement
interfaces {
openvpn vtunx {
server {
client client‐name {
ip ipv4
}
}
}
}
Parameters
vtunx The identifier for the OpenVPN interface. This may be vtun0 to
vtunx, where x is a non-negative integer.
Default
None.
Usage Guidelines
Use this command to specify the IP address to assign to the client in a client-server
environment.
NOTE Committing configuration changes to this configuration node does not result in the
OpenVPN process being restarted. The configuration change will take effect the next time the
client connects to the server.
Use the set form of this command to specify the IP address to assign to the client in a
client-server environment.
Use the delete form of this command to remove the IP address.
Use the show form of this command to view the IP address.
Syntax
set interfaces openvpn vtunx server client client-name push-route ipv4net
delete interfaces openvpn vtunx server client client-name push-route ipv4net
show interfaces openvpn vtunx server client client-name push-route
Command Mode
Configuration mode.
Configuration Statement
interfaces {
openvpn vtunx {
server {
client client‐name {
push‐route ipv4net
}
}
}
}
Parameters
vtunx The identifier for the OpenVPN interface. This may be vtun0 to
vtunx, where x is a non-negative integer.
Default
None.
Usage Guidelines
Use this command to specify a subnet that the client can access by routing packets
through the server.
NOTE Committing configuration changes to this configuration node does not result in the
OpenVPN process being restarted. The configuration change will take effect the next time the
client connects to the server. Use the reset openvpn interface <vtunx> command on the client to
reset the connection.
Use the set form of this command to specify a route to be pushed to all clients .
Use the delete form of this command to remove the route configuration.
Use the show form of this command to view the route configuration.
Syntax
set interfaces openvpn vtunx server client client-name subnet ipv4net
delete interfaces openvpn vtunx server client client-name subnet ipv4net
show interfaces openvpn vtunx server client client-name subnet
Command Mode
Configuration mode.
Configuration Statement
interfaces {
openvpn vtunx {
server {
client client‐name {
subnet ipv4net
}
}
}
}
Parameters
vtunx The identifier for the OpenVPN interface. This may be vtun0 to
vtunx, where x is a non-negative integer.
Default
None.
Usage Guidelines
Use this command to identify a subnet at a client site in a client-server environment.
NOTE Committing configuration changes to this configuration node does not result in the
OpenVPN process being restarted. The configuration change will take effect the next time the
client connects to the server.
Use the set form of this command to specify the subnet.
Use the delete form of this command to remove the subnet configuration.
Use the show form of this command to view the subnet configuration.
Syntax
set interfaces openvpn vtunx server domain-name domain-name
delete interfaces openvpn vtunx server domain-name show
interfaces openvpn vtunx server domain-name
Command Mode
Configuration mode.
Configuration Statement
interfaces {
openvpn vtunx {
server {
domain‐name domain‐name
}
}
}
Parameters
vtunx The identifier for the OpenVPN interface. This may be vtun0
to vtunx, where x is a non-negative integer.
domain-name The domain name to be given to OpenVPN clients connected
to this OpenVPN server. A domain name can include letters,
numbers, hyphens (“-”), and one period (“.”). For example,
“vyatta.com”.
Default
None.
VPN 6.5R1 v01
Vyatta