NAT example rules file
authorkstailey <kstailey@openbsd.org>
Wed, 9 Apr 1997 02:41:55 +0000 (02:41 +0000)
committerkstailey <kstailey@openbsd.org>
Wed, 9 Apr 1997 02:41:55 +0000 (02:41 +0000)
etc/Makefile
etc/nat.rules [new file with mode: 0644]

index 6af6e32..895ff45 100644 (file)
@@ -1,4 +1,4 @@
-#      $OpenBSD: Makefile,v 1.41 1997/03/02 04:41:53 millert Exp $
+#      $OpenBSD: Makefile,v 1.42 1997/04/09 02:41:55 kstailey Exp $
 
 TZDIR=         /usr/share/zoneinfo
 LOCALTIME=     US/Pacific
@@ -16,10 +16,10 @@ BINGRP= wheel
 BIN1=  aliases bootptab changelist ccd.conf csh.cshrc csh.login csh.logout \
        daily dm.conf exports ftpusers ftpchroot gettytab group hosts \
        hosts.equiv hosts.lpd ifaliases inetd.conf ipf.rules ksh.kshrc \
-       locate.rc man.conf monthly motd mrouted.conf myname netstart \
-       networks newsyslog.conf passwd.conf phones printcap protocols \
-       rbootd.conf rc rc.local remote rpc security services shells \
-       syslog.conf virc weekly etc.${MACHINE}/disktab
+       locate.rc man.conf monthly motd mrouted.conf myname nat.rules \
+       netstart networks newsyslog.conf passwd.conf phones printcap
+       protocols rbootd.conf rc rc.local remote rpc security services
+       shells syslog.conf virc weekly etc.${MACHINE}/disktab
 
 # -rw-rw-r--
 BIN2=  motd
diff --git a/etc/nat.rules b/etc/nat.rules
new file mode 100644 (file)
index 0000000..8d2ab15
--- /dev/null
@@ -0,0 +1,5 @@
+# $OpenBSD: nat.rules,v 1.1 1997/04/09 02:41:55 kstailey Exp $
+#
+# see /usr/share/ipf/nat.1 for examples
+
+# map ppp0 10.0.0.0/8 -> ppp0/32 portmap tcp/udp 10000:20000