From: kstailey Date: Wed, 9 Apr 1997 02:41:55 +0000 (+0000) Subject: NAT example rules file X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6579aaa9e8b540e91a90d8a919ca0083f4650736;p=openbsd NAT example rules file --- 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