summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-02-26 04:44:27 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-02-26 04:44:27 +0000
commit63e11bb6c8d0e1ac10c3d664879e6eab675da836 (patch)
tree9b7af24207d5bdbad942519120a0756e1d348c49 /share
parent3d14c03d529e650d1ea278ce053fd76691ec3696 (diff)
even more examples
Diffstat (limited to 'share')
-rw-r--r--share/ipf/nat.15
1 files changed, 4 insertions, 1 deletions
diff --git a/share/ipf/nat.1 b/share/ipf/nat.1
index 132583e5246..f4194c8f97b 100644
--- a/share/ipf/nat.1
+++ b/share/ipf/nat.1
@@ -1,7 +1,10 @@
# map all tcp connections from network 10 to the address of the first ppp0
-# interface
+# interface (which can be dynamically assigned prior to use of ipnat)
map ppp0 10.0.0.0/8 -> ppp0/32 portmap tcp/udp 10000:20000
+# map all tcp connections from network 10 into addresses of network 240.1.0
+map ppp0 10.0.0.0/8 -> 240.1.0.0/24 portmap tcp/udp 10000:60000
+
# map all tcp connections from 10.1.0.0/16 to 240.1.0.1, changing the source
# port number to something between 10,000 and 20,000 inclusive. For all other
# IP packets, allocate an IP # between 240.1.0.0 and 240.1.0.255, temporarily