diff options
author | rebortg <github@ghlr.de> | 2019-08-03 17:55:42 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2019-08-06 09:35:09 +0200 |
commit | adf8669015317edaa65660f11006b2b7e8a5aaf7 (patch) | |
tree | c2856a075c4ecbac79664773eaf123512ba68997 /docs/nat.rst | |
parent | cdd4d727b11b5361051f1c1ad548e265612dc2ae (diff) | |
download | vyos-documentation-adf8669015317edaa65660f11006b2b7e8a5aaf7.tar.gz vyos-documentation-adf8669015317edaa65660f11006b2b7e8a5aaf7.zip |
begin chance public IPs to documentation reseverd IPs
Diffstat (limited to 'docs/nat.rst')
-rw-r--r-- | docs/nat.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/nat.rst b/docs/nat.rst index 66fb783e..5c3dadc4 100644 --- a/docs/nat.rst +++ b/docs/nat.rst @@ -249,16 +249,16 @@ one external interface: set interfaces ethernet eth0 address '192.168.1.1/24' set interfaces ethernet eth0 description 'Inside interface' - set interfaces ethernet eth1 address '1.2.3.4/24' + set interfaces ethernet eth1 address '192.0.2.30/24' set interfaces ethernet eth1 description 'Outside interface' set nat destination rule 2000 description '1-to-1 NAT example' - set nat destination rule 2000 destination address '1.2.3.4' + set nat destination rule 2000 destination address '192.0.2.30' set nat destination rule 2000 inbound-interface 'eth1' set nat destination rule 2000 translation address '192.168.1.10' set nat source rule 2000 description '1-to-1 NAT example' set nat source rule 2000 outbound-interface 'eth1' set nat source rule 2000 source address '192.168.1.10' - set nat source rule 2000 translation address '1.2.3.4' + set nat source rule 2000 translation address '192.0.2.30' Firewall rules are written as normal, using the internal IP address as the source of outbound rules and the destination of inbound rules. |