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

Notices

Reply
 
Search this Thread
Old 10-31-2002, 08:00 PM   #1
atari303
Member
 
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:

#comments
/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 192.168.0.2/24 -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.

Thank-you.
 
Old 11-01-2002, 06:17 AM   #2
jharris
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.

cheers

Jamie...
 
Old 11-08-2002, 02:43 AM   #3
atari303
Member
 
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.
 
  


Reply


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 05:28 AM
Deny FTP by IP address with ipchains loiter99 Linux - Security 3 05-27-2004 01:54 PM
FTP ports deweirdt Linux - Networking 2 11-04-2003 07:58 AM
Red Hat 7.3, FTP, and ipchains help wkm001 Linux - Security 1 10-10-2003 09:12 AM
ipchains Syntax for FTP Ports ifm Linux - Software 1 06-11-2002 08:14 PM


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

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