summaryrefslogtreecommitdiff
path: root/sbin/ipnat/ipnat.1
diff options
context:
space:
mode:
authorjohns <johns@cvs.openbsd.org>1998-03-22 05:31:09 +0000
committerjohns <johns@cvs.openbsd.org>1998-03-22 05:31:09 +0000
commit28a87e1cc628f52539f063b8ce6e473f7b6375db (patch)
tree171c9e1cc89abeafda26b28db11f16edff3f327a /sbin/ipnat/ipnat.1
parent768bbf877c347890eb4cbb5c85e584618a582bae (diff)
updated example for current nat syntax, i.e. was ppp0/32 now says 0/32 ...
Diffstat (limited to 'sbin/ipnat/ipnat.1')
-rw-r--r--sbin/ipnat/ipnat.18
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/ipnat/ipnat.1 b/sbin/ipnat/ipnat.1
index f8c1a7609d7..14f3c38d584 100644
--- a/sbin/ipnat/ipnat.1
+++ b/sbin/ipnat/ipnat.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ipnat.1,v 1.11 1998/02/19 01:58:46 gene Exp $
+.\" $OpenBSD: ipnat.1,v 1.12 1998/03/22 05:31:08 johns Exp $
.\"
.\" Manual page, using -mandoc macros
.\"
@@ -56,12 +56,12 @@ script:
/sbin/ipf -E
.Ed
.Pp
-To translate addresses from the interal 192.168.1.0/8 network
+To translate addresses from the internal 192.168.1.0/8 network
.Pa /etc/ipnat.rules
should look like this:
.Bd -literal
-map ppp0 192.168.1.0/8 -> ppp0/32 portmap tcp/udp 10000:20000
-map ppp0 192.168.1.0/8 -> ppp0/32
+map ppp0 192.168.1.0/8 -> 0/32 portmap tcp/udp 10000:20000
+map ppp0 192.168.1.0/8 -> 0/32
.Ed
.Sh FILES
.Pa /usr/share/ipf