summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNephiaust <29741794+Nephiaust@users.noreply.github.com>2023-09-17 23:27:53 +0930
committerNephiaust <29741794+Nephiaust@users.noreply.github.com>2023-09-17 23:27:53 +0930
commitb5ce5a2eba7f6857edf46e0401a5cd4981cc8a89 (patch)
treeecbdfcdd50615fe666fbeba67bb2cf569961111d
parentaf5b760d3c61ab9484ada493224c440bdb11a620 (diff)
downloadvyos-documentation-b5ce5a2eba7f6857edf46e0401a5cd4981cc8a89.tar.gz
vyos-documentation-b5ce5a2eba7f6857edf46e0401a5cd4981cc8a89.zip
Fixed bad formatting for code-blocks
Signed-off-by: Nephiaust <29741794+Nephiaust@users.noreply.github.com>
-rw-r--r--docs/configuration/interfaces/openvpn.rst3
-rw-r--r--docs/quick-start.rst1
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/configuration/interfaces/openvpn.rst b/docs/configuration/interfaces/openvpn.rst
index 2160e781..70161e1e 100644
--- a/docs/configuration/interfaces/openvpn.rst
+++ b/docs/configuration/interfaces/openvpn.rst
@@ -148,6 +148,7 @@ Local Configuration:
set interfaces openvpn vtun1 tls certificate 'openvpn-local' # The self-signed certificate
set interfaces openvpn vtun1 tls peer-fingerprint <remote cert fingerprint> # The output of 'run show pki certificate <name> fingerprint sha256
on the remote rout
+
Remote Configuration:
.. code-block:: none
@@ -163,6 +164,7 @@ Remote Configuration:
set interfaces openvpn vtun1 tls certificate 'openvpn-remote' # The self-signed certificate
set interfaces openvpn vtun1 tls peer-fingerprint <local cert fingerprint> # The output of 'run show pki certificate <name> fingerprint sha256
on the local router
+
Pre-shared keys
---------------
@@ -200,6 +202,7 @@ Then you need to install the key on the remote router:
Then you need to set the key in your OpenVPN interface settings:
.. code-block:: none
+
set interfaces openvpn vtun1 shared-secret-key s2s
Firewall Exceptions
diff --git a/docs/quick-start.rst b/docs/quick-start.rst
index 5f7ebbe3..a3927560 100644
--- a/docs/quick-start.rst
+++ b/docs/quick-start.rst
@@ -305,6 +305,7 @@ the DNS recursor we configured earlier, accepting traffic bound for port 53 from
all hosts on the ``NET-INSIDE-v4`` network:
.. code-block:: none
+
set firewall ipv4 input filter rule 30 action 'accept'
set firewall ipv4 input filter rule 30 icmp type-name 'echo-request'
set firewall ipv4 input filter rule 30 protocol 'icmp'