diff options
author | gene <gene@cvs.openbsd.org> | 1998-02-19 01:58:47 +0000 |
---|---|---|
committer | gene <gene@cvs.openbsd.org> | 1998-02-19 01:58:47 +0000 |
commit | fe45f4eaf0aae1c586a086a6a83484cb7aad7b27 (patch) | |
tree | f835680b5f83e7aeec498d57278333f0d2383c5a /sbin/ipnat | |
parent | 98cd760e123cb1a22be3d318534edfa3c6c4469e (diff) |
Refer to /etc/ipnat.rules not nat.rules in examples.
Diffstat (limited to 'sbin/ipnat')
-rw-r--r-- | sbin/ipnat/ipnat.1 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipnat/ipnat.1 b/sbin/ipnat/ipnat.1 index 203fbe3e905..f8c1a7609d7 100644 --- a/sbin/ipnat/ipnat.1 +++ b/sbin/ipnat/ipnat.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ipnat.1,v 1.10 1998/01/26 04:13:46 dgregor Exp $ +.\" $OpenBSD: ipnat.1,v 1.11 1998/02/19 01:58:46 gene Exp $ .\" .\" Manual page, using -mandoc macros .\" @@ -52,12 +52,12 @@ in the .Pa /etc/ppp/ip-up script: .Bd -literal -/sbin/ipnat -CF -f /etc/nat.rules +/sbin/ipnat -CF -f /etc/ipnat.rules /sbin/ipf -E .Ed .Pp To translate addresses from the interal 192.168.1.0/8 network -.Pa /etc/nat.rules +.Pa /etc/ipnat.rules should look like this: .Bd -literal map ppp0 192.168.1.0/8 -> ppp0/32 portmap tcp/udp 10000:20000 |