From f1215ee9b0277c0067c0e2e9daf77bf592b1b6ad Mon Sep 17 00:00:00 2001 From: kstailey <> Date: Wed, 9 Apr 1997 02:41:55 +0000 Subject: [PATCH] NAT example rules file --- src/etc/Makefile | 10 +++++----- src/etc/nat.rules | 5 +++++ 2 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 src/etc/nat.rules diff --git a/src/etc/Makefile b/src/etc/Makefile index 6af6e321..895ff454 100644 --- a/src/etc/Makefile +++ b/src/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/src/etc/nat.rules b/src/etc/nat.rules new file mode 100644 index 00000000..8d2ab153 --- /dev/null +++ b/src/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