Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-31-2002, 09:00 PM   #1
Registered: May 2001
Posts: 34

Rep: Reputation: 15
ipchains, ftp from client to non-ftp ports

Hi all

From a client computer running behind my slackware 8 firewall (ipchains 1.3.10), I am trying to ftp to non-ftp ports, however it starts to log in and just hangs. The only ports that I can ftp to from my client machine are ports 20 or 21. Likewise, I am having similar problems trying to listen to streams on port 8000 or whichever from the client machine as well. My rc.firewall is a pretty common script but here is the relevent stuff:

/sbin/depmod -a

#more comments
/sbin/modprobe ip_masq_raudio

#even more comments
echo "1" > /proc/sys/net/ipv4/ip_forward

#and again more comments
/sbin/ipchains -M -S 7200 10 160

#and then finally
/sbin/ipchains -F forward
/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s -j MASQ

I've spent day after day learning about ipchains but I'm not really finding anything on allowing client machines to ftp to non-ftp ports or streaming music on something other than port 80. Any info would be sooooo peace.

Old 11-01-2002, 07:17 AM   #2
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
Are you using passive of active FTP?

You might want to try to find out how the ipchains-FTP support works, it may only look for connections on the usual FTP data/control ports.


Old 11-08-2002, 03:43 AM   #3
Registered: May 2001
Posts: 34

Original Poster
Rep: Reputation: 15
aha, I totally forgot about that, thanks for putting me in the right direction. Now I just have to figure out the streaming thing.

thanks again.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
FTP ports ayie Linux - Software 3 02-17-2005 06:28 AM
Deny FTP by IP address with ipchains loiter99 Linux - Security 3 05-27-2004 02:54 PM
FTP ports deweirdt Linux - Networking 2 11-04-2003 08:58 AM
Red Hat 7.3, FTP, and ipchains help wkm001 Linux - Security 1 10-10-2003 10:12 AM
ipchains Syntax for FTP Ports ifm Linux - Software 1 06-11-2002 09:14 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:54 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration