Networking Forums

Networking Forums > Computer Networking > Linux Networking > ftp routing / natting throu a RH7 firewall

Reply
Thread Tools Display Modes

ftp routing / natting throu a RH7 firewall

 
 
me
Guest
Posts: n/a

 
      08-01-2003, 01:08 PM
Hi all,

I have setup iptables on RH7.
I now need to open a port for ftp access. I have chosen 40335 as the port as
apposed to 21.
From outside the firewall I can connect but cannot receive any folder or
file listings.
What am I doing wrong, and can anyone help with a script to get this working

Thanks
Robert


 
Reply With Quote
 
 
 
 
Allen Kistler
Guest
Posts: n/a

 
      08-01-2003, 04:01 PM
me wrote:
> Hi all,
>
> I have setup iptables on RH7.
> I now need to open a port for ftp access. I have chosen 40335 as the port as
> apposed to 21.
> From outside the firewall I can connect but cannot receive any folder or
> file listings.
> What am I doing wrong, and can anyone help with a script to get this working
>
> Thanks
> Robert


add to /etc/modules.conf

add above ip_conntrack ip_conntrack_ftp

and also add to /etc/sysconfig/iptables something like

-A INPUT -p tcp -m state --state RELATED -j ACCEPT
-A OUTPUT -p tcp -m state --state RELATED -j ACCEPT

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I not find the NAT/Basic Firewall under Routing\IP Routing mtczx232@yahoo.com Windows Networking 2 12-16-2006 04:08 PM
Multiple MACs from same Interface OR MAC/VLAN NATting nikhil.subscribed@gmail.com Linux Networking 0 08-28-2006 10:02 AM
IPSec NATTING and multiple firewalls Bernd Broadband Hardware 0 04-01-2004 10:06 AM
MSN Messenger Behind a NATting IPtables Firewall Meron Lavie Linux Networking 10 01-25-2004 12:48 PM
Natting Problem Eddie Linux Networking 2 09-24-2003 10:55 AM



1 2 3 4 5 6 7 8 9 10 11