Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | RE: WuFTP server with Iptables. |
|---|---|
| Date: | Tue, 28 Sep 2004 22:42:52 +1000 |
Please ignore my last email. I fix it by using vsftpd. Cheers, Jari -----Original Message----- From: Jari IT [mailto:jari_info@yahoo.uk.co] Sent: Saturday, September 25, 2004 2:55 PM To: security-basics@securityfocus.com Subject: WuFTP server with Iptables. Hi all, I am setting a FTP server with Iptable firewall. Here is the rule, which I get from www.openna.com. # incoming request iptables -A INPUT -i $EXTERNAL_INTERFACE -p tcp \ --source-port $UNPRIVPORTS \ -d $IPADDR --destination-port 21 -j ACCEPT iptables -A OUTPUT -o $EXTERNAL_INTERFACE -p tcp ! --syn \ -s $IPADDR --source-port 21 \ --destination-port $UNPRIVPORTS -j ACCEPT # PORT MODE data channel responses iptables -A OUTPUT -o $EXTERNAL_INTERFACE -p tcp \ -s $IPADDR --source-port 20 \ --destination-port $UNPRIVPORTS -j ACCEPT iptables -A INPUT -i $EXTERNAL_INTERFACE -p tcp ! --syn \ --source-port $UNPRIVPORTS \ -d $IPADDR --destination-port 20 -j ACCEPT # PASSIVE MODE data channel responses iptables -A INPUT -i $EXTERNAL_INTERFACE -p tcp \ --source-port $UNPRIVPORTS \ -d $IPADDR --destination-port $UNPRIVPORTS -j ACCEPT iptables -A OUTPUT -o $EXTERNAL_INTERFACE -p tcp ! --syn \ -s $IPADDR --source-port $UNPRIVPORTS \ --destination-port $UNPRIVPORTS -j ACCEPT However, I still cannot connect from my house (behind ADSL router/modem) to that site. Stop this firewall, the FTP server work well. Please advice me about this. Thanks in advance, Jari
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: learning ethical hacking, Samir Kelekar |
|---|---|
| Next by Date: | Re: RE: learning ethical hacking, GuidoZ |
| Previous by Thread: | WuFTP server with Iptables., Jari IT |
| Next by Thread: | Re: How to Enforce Complex Password Policy for Selected Users Only, Alex Frias |
| Indexes: | [Date] [Thread] [Top] [All Lists] |