I have a PC router that runs Ubuntu Server 7.04 and Shorewall as a firewall. On one of computers connected to it I run a FTP server. the problem is i cannot connect to it from outside. the port used for ftp is 50005 and the ip of that computer is 192.168.0.3. i can however connect to it from another computer on LAN. here are my rules:
Code:
#ACTION	SOURCE		DEST		PROTO	DEST	SOURCE		ORIGINAL	RATE		USER/
#						PORT(S)	PORT(S)		DEST		LIMIT		GROUP
#SECTION ESTABLISHED
#SECTION RELATED
SECTION NEW
SSH/ACCEPT	all	$FW
Webmin/ACCEPT	all	$FW
DNS/ACCEPT	loc	fw
#Web/ACCEPT	all	all
Ping/ACCEPT	loc	all
Ping/REJECT:info	all	$FW
Ping/ACCEPT	$FW	all
DNAT	net	loc:192.168.0.3	tcp	50000:50005
DNAT	net	loc:192.168.0.3	udp	50000:50005
NTP/ACCEPT	all	all
ports 50000-50004 are used for torrents, ed2k and a couple of other things, which work fine. what am i missing here? i updated to latest shorewall version and still nothing. Please help me!!!