FTP through Firewall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to grant FTP access to Internet customers
to our servers behind our firewall.
When they try to connect they get the following error:

ftp: connect :Unknown error number

I am using the following iptables commands to allow
access.  Our default policy is DENY.

iptables -A FORWARD -m state --state
RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -m state --state NEW -i eth4 -o
eth5 -d 1.1.1.2 -p tcp --dport ftp -j ACCEPT
iptables -t nat -A PREROUTING -i eth1 -d 208.1.1.1 -p
tcp --dport ftp -j DNAT --to 1.1.1.2


Thanks in advance!


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux