summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkstailey <kstailey@openbsd.org>1997-04-09 02:41:55 +0000
committerkstailey <kstailey@openbsd.org>1997-04-09 02:41:55 +0000
commit6579aaa9e8b540e91a90d8a919ca0083f4650736 (patch)
tree11c56df1a0424c0669c7ef97c01cd1d01a28ebf7
parentthe the (diff)
downloadwireguard-openbsd-6579aaa9e8b540e91a90d8a919ca0083f4650736.tar.xz
wireguard-openbsd-6579aaa9e8b540e91a90d8a919ca0083f4650736.zip
NAT example rules file
-rw-r--r--etc/Makefile10
-rw-r--r--etc/nat.rules5
2 files changed, 10 insertions, 5 deletions
diff --git a/etc/Makefile b/etc/Makefile
index 6af6e321935..895ff4547eb 100644
--- a/etc/Makefile
+++ b/etc/Makefile
@@ -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
index 00000000000..8d2ab15359e
--- /dev/null
+++ b/etc/nat.rules
@@ -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