-   Linux - Networking (
-   -   ipchains, ftp from client to non-ftp ports (

atari303 10-31-2002 09:00 PM

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.


jharris 11-01-2002 07:17 AM

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.



atari303 11-08-2002 03:43 AM

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.

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