From 7dadc47c1bd977a4f2f91c159e6331767b85affe Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 25 Jul 2021 21:17:43 +0200 Subject: tunnel: T3366: rename local-ip and remote-ip CLI nodes --- docs/configuration/interfaces/l2tpv3.rst | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'docs/configuration/interfaces/l2tpv3.rst') diff --git a/docs/configuration/interfaces/l2tpv3.rst b/docs/configuration/interfaces/l2tpv3.rst index ca6e0841..d26d0e0b 100644 --- a/docs/configuration/interfaces/l2tpv3.rst +++ b/docs/configuration/interfaces/l2tpv3.rst @@ -47,14 +47,14 @@ L2TPv3 options This defaults to UDP -.. cfgcmd:: set interfaces l2tpv3 local-ip
+.. cfgcmd:: set interfaces l2tpv3 source-address
Set the IP address of the local interface to be used for the tunnel. This address must be the address of a local interface. It may be specified as an IPv4 address or an IPv6 address. -.. cfgcmd:: set interfaces l2tpv3 remote-ip
+.. cfgcmd:: set interfaces l2tpv3 remote
Set the IP address of the remote peer. It may be specified as an IPv4 address or an IPv6 address. @@ -94,10 +94,10 @@ Over IP l2tpv3 l2tpeth10 { address 192.168.37.1/27 encapsulation ip - local-ip 192.0.2.1 + source-address 192.0.2.1 peer-session-id 100 peer-tunnel-id 200 - remote-ip 203.0.113.24 + remote 203.0.113.24 session-id 100 tunnel-id 200 } @@ -109,7 +109,7 @@ Over UDP UDP mode works better with NAT: -* Set local-ip to your local IP (LAN). +* Set source-address to your local IP (LAN). * Add a forwarding rule matching UDP port on your internet router. .. code-block:: none @@ -119,10 +119,10 @@ UDP mode works better with NAT: address 192.168.37.1/27 destination-port 9001 encapsulation udp - local-ip 192.0.2.1 + source-address 192.0.2.1 peer-session-id 100 peer-tunnel-id 200 - remote-ip 203.0.113.24 + remote 203.0.113.24 session-id 100 source-port 9000 tunnel-id 200 @@ -159,7 +159,7 @@ IPSec: set vpn ipsec site-to-site peer connection-type 'initiate' set vpn ipsec site-to-site peer ike-group 'test-IKE-1' set vpn ipsec site-to-site peer ikev2-reauth 'inherit' - set vpn ipsec site-to-site peer local-address + set vpn ipsec site-to-site peer local-address set vpn ipsec site-to-site peer tunnel 1 allow-nat-networks 'disable' set vpn ipsec site-to-site peer tunnel 1 allow-public-networks 'disable' set vpn ipsec site-to-site peer tunnel 1 esp-group 'test-ESP-1' @@ -184,11 +184,11 @@ L2TPv3: set interfaces l2tpv3 l2tpeth0 description 'L2 VPN Tunnel' set interfaces l2tpv3 l2tpeth0 destination-port '5000' set interfaces l2tpv3 l2tpeth0 encapsulation 'ip' - set interfaces l2tpv3 l2tpeth0 local-ip + set interfaces l2tpv3 l2tpeth0 source-address set interfaces l2tpv3 l2tpeth0 mtu '1500' set interfaces l2tpv3 l2tpeth0 peer-session-id '110' set interfaces l2tpv3 l2tpeth0 peer-tunnel-id '10' - set interfaces l2tpv3 l2tpeth0 remote-ip + set interfaces l2tpv3 l2tpeth0 remote set interfaces l2tpv3 l2tpeth0 session-id '110' set interfaces l2tpv3 l2tpeth0 source-port '5000' set interfaces l2tpv3 l2tpeth0 tunnel-id '10' -- cgit v1.2.3