Problems with DMZ

Martyn Carl Pfalzer-Brown carlpfalzer at yahoo.com
Thu Jan 16 14:25:55 GMT 2003


Hi people,
 
I am a total newbie, so please excuse my ignorance.
Unable to connect to my ftp/http server through my
firewall from outside, connects fine from internal
network.
Using Freebsd 4.7-Stable, running IPfilter. Below are
my .rules files. Can anybody help me?
 
ipf.rules
pass out log quick on xl0 from any to any keep state
pass in log quick on xl0 from any to any keep state
pass out log quick on xl1 from any to any keep state
pass in log quick on xl1 from any to any keep state
pass out log quick on xl2 from any to any keep state
pass in log quick on xl2 from any to any keep state
pass in quick on lo0 all
pass out quick on lo0 all
 
ipnat.rules
map xl1 192.168.1.0/24 -> 0/32
map xl2 10.1.0.0/24 -> 0/32
rdr xl0 213.48.xxx.xxx/32 port 80 -> 10.1.0.3 port
8080 tcp
rdr xl0 213.48.xxx.xxx/32 port 80 -> 10.1.0.3 port
8080 udp
rdr xl1 192.168.xxx.xxx/32 port 80 -> 10.1.0.3 port
8080 tcp
rdr xl1 192.168.xxx.xxx/32 port 80 -> 10.1.0.3 port
8080 udp
rdr xl2 10.1.xxx.xxx/32 port 80 -> 10.1.0.3 port 8080
tcp
rdr xl2 10.1.xxx.xxx/32 port 80 -> 10.1.0.3 port 8080
udp
rdr xl0 213.48.xxx.xxx/32 port 21 -> 10.1.0.3 port 21
tcp
rdr xl0 213.48.xxx.xxx/32 port 21 -> 10.1.0.3 port 21
udp
rdr xl1 192.168.xxx.xxx/32 port 21 -> 10.1.0.3 port 21
tcp
rdr xl1 192.168.xxx.xxx/32 port 21 -> 10.1.0.3 port 21
udp
rdr xl2 10.1.xxx.xxx/32 port 21 -> 10.1.0.3 port 21
tcp
rdr xl2 10.1.xxx.xxx/32 port 21 -> 10.1.0.3 port 21
udp
 
Many thanks,
Carl

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com




More information about the Ukfreebsd mailing list