summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
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