summaryrefslogtreecommitdiff
path: root/docs/configexamples
diff options
context:
space:
mode:
Diffstat (limited to 'docs/configexamples')
-rw-r--r--docs/configexamples/lac-lns.md4
-rw-r--r--docs/configexamples/nmp.md4
-rw-r--r--docs/configexamples/site-2-site-cisco.md2
-rw-r--r--docs/configexamples/wan-load-balancing.md4
4 files changed, 13 insertions, 1 deletions
diff --git a/docs/configexamples/lac-lns.md b/docs/configexamples/lac-lns.md
index 315abe1c..51a96f8b 100644
--- a/docs/configexamples/lac-lns.md
+++ b/docs/configexamples/lac-lns.md
@@ -77,6 +77,8 @@ interface Virtual-Template1
### LNS
+% stop_vyoslinter
+
```none
set interfaces ethernet eth0 address '192.168.139.100/24'
set nat source rule 100 outbound-interface name 'eth0'
@@ -94,6 +96,8 @@ set vpn l2tp remote-access name-server '8.8.8.8'
set vpn l2tp remote-access ppp-options disable-ccp
```
+% start_vyoslinter
+
:::{note}
This setup requires the Compression Control Protocol (CCP)
being disabled, the command `set vpn l2tp remote-access ppp-options disable-ccp`
diff --git a/docs/configexamples/nmp.md b/docs/configexamples/nmp.md
index 9aa73540..02d99f86 100644
--- a/docs/configexamples/nmp.md
+++ b/docs/configexamples/nmp.md
@@ -15,6 +15,8 @@ scale and expand with the needs of your network.
First prepare our VyOS router for connection to NMP. We have to set
up the SNMP protocol and connectivity between the router and NMP.
+% stop_vyoslinter
+
```none
set interfaces ethernet eth0 address 'dhcp'
set system name-server '8.8.8.8'
@@ -22,6 +24,8 @@ set service snmp community router authorization 'test'
set service snmp community router network '0.0.0.0/0'
```
+% start_vyoslinter
+
## Configuration 'NMP'
diff --git a/docs/configexamples/site-2-site-cisco.md b/docs/configexamples/site-2-site-cisco.md
index 2a2fb7a1..d8ca2c18 100644
--- a/docs/configexamples/site-2-site-cisco.md
+++ b/docs/configexamples/site-2-site-cisco.md
@@ -29,7 +29,7 @@ set interfaces tunnel tun1 source-address '198.51.100.1'
- IPsec:
```none
-set vpn ipsec authentication psk vyos_cisco_l id 'vyos.net’
+set vpn ipsec authentication psk vyos_cisco_l id 'vyos.net'
set vpn ipsec authentication psk vyos_cisco_l id 'cisco.hub.net'
set vpn ipsec authentication psk vyos_cisco_l secret 'secret'
set vpn ipsec esp-group e1 lifetime '3600'
diff --git a/docs/configexamples/wan-load-balancing.md b/docs/configexamples/wan-load-balancing.md
index 5671c515..b9357523 100644
--- a/docs/configexamples/wan-load-balancing.md
+++ b/docs/configexamples/wan-load-balancing.md
@@ -7,6 +7,8 @@ lastproofread: '2021-06-29'
# WAN Load Balancer examples
+% stop_vyoslinter
+
## Example 1: Distributing load evenly
The setup used in this example is shown in the following diagram:
@@ -177,3 +179,5 @@ set load-balancing wan rule 5 inbound-interface eth+
set load-balancing wan rule 5 destination address 10.0.0.0/8
```
+% start_vyoslinter
+