summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-02-26 04:40:04 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-02-26 04:40:04 +0000
commitd8cf03269c1625d050ed3714d588ea6e9601491b (patch)
treef7bb2f7cc7585fc2ecff3feb203e9d9ac2be6cf1 /share
parentf9e00f5f146f1aac13afd6ccc3fbe4d5a47edd2d (diff)
more examples
Diffstat (limited to 'share')
-rw-r--r--share/ipf/nat.14
1 files changed, 4 insertions, 0 deletions
diff --git a/share/ipf/nat.1 b/share/ipf/nat.1
index 9c26754a57f..132583e5246 100644
--- a/share/ipf/nat.1
+++ b/share/ipf/nat.1
@@ -1,3 +1,7 @@
+# map all tcp connections from network 10 to the address of the first ppp0
+# interface
+map ppp0 10.0.0.0/8 -> ppp0/32 portmap tcp/udp 10000:20000
+
# 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