summaryrefslogtreecommitdiff
path: root/docs/configuration/vpn/l2tp.rst
diff options
context:
space:
mode:
authorsrividya0208 <a.srividya@vyos.io>2021-03-05 09:23:58 -0500
committersrividya0208 <a.srividya@vyos.io>2021-03-05 09:23:58 -0500
commit9b6f4d6e14ce34ee5e4a3d81c76e4b6622c8eb9d (patch)
tree19d21504040f45c9eb9fd66b15af3b0674e4165e /docs/configuration/vpn/l2tp.rst
parent8a5286b648c18806ac8268422ac970dd09997d97 (diff)
downloadvyos-documentation-9b6f4d6e14ce34ee5e4a3d81c76e4b6622c8eb9d.tar.gz
vyos-documentation-9b6f4d6e14ce34ee5e4a3d81c76e4b6622c8eb9d.zip
Correction in command syntax "set vpn l2tp remote-access dns-servers"
dns-servers parameter is replaced with name-server in the latest release Old Syntax: set vpn l2tp remote-access dns-servers server-1 '198.51.100.8' set vpn l2tp remote-access dns-servers server-2 '198.51.100.4' New Syntax: set vpn l2tp remote-access name-server '198.51.100.8' set vpn l2tp remote-access name-server '198.51.100.4'
Diffstat (limited to 'docs/configuration/vpn/l2tp.rst')
-rw-r--r--docs/configuration/vpn/l2tp.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration/vpn/l2tp.rst b/docs/configuration/vpn/l2tp.rst
index d331ce2c..0df5080c 100644
--- a/docs/configuration/vpn/l2tp.rst
+++ b/docs/configuration/vpn/l2tp.rst
@@ -72,8 +72,8 @@ parameter to the client.
.. code-block:: none
- set vpn l2tp remote-access dns-servers server-1 '198.51.100.8'
- set vpn l2tp remote-access dns-servers server-2 '198.51.100.4'
+ set vpn l2tp remote-access name-server '198.51.100.8'
+ set vpn l2tp remote-access name-server '198.51.100.4'
Established sessions can be viewed using the **show vpn remote-access**
operational command, or **show l2tp-server sessions**