From 7595d5ffce4a14f32ac605d21cbd61fbe85057e2 Mon Sep 17 00:00:00 2001 From: darrenr Date: Thu, 26 Oct 2000 12:45:54 +0000 Subject: Import IP Filter 3.4.12 --- contrib/ipfilter/rules/BASIC.NAT | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'contrib/ipfilter/rules') diff --git a/contrib/ipfilter/rules/BASIC.NAT b/contrib/ipfilter/rules/BASIC.NAT index df041d1..213e338 100644 --- a/contrib/ipfilter/rules/BASIC.NAT +++ b/contrib/ipfilter/rules/BASIC.NAT @@ -8,6 +8,12 @@ # # If we have only 1 valid IP address from our ISP, then we do this: # +# To make ftp work, using the internal ftp proxy, use: +# +map ppp0 w.x.y.z/24 -> a.b.c.d/32 proxy port ftp ftp/tcp +# +# For normal TCP/UDP and other IP protocols +# map ppp0 w.x.y.z/24 -> a.b.c.d/32 portmap tcp/udp 40000:60000 map ppp0 w.x.y.z/24 -> a.b.c.d/32 # @@ -38,8 +44,3 @@ map ppp0 w.x.y.z/24 -> a.b.c.d/32 #map ppp0 w.x.y.q/32 -> a.b.c.J/32 #map ppp0 w.x.y.p/32 -> a.b.c.K/32 portmap tcp/udp 40000:60000 #map ppp0 w.x.y.p/32 -> a.b.c.K/32 -# -# To make ftp work, using the internal ftp proxy, use: -# -map ppp0 w.x.y.z/24 -> a.b.c.d/32 proxy port ftp ftp/tcp -# -- cgit v1.1