Mailinglist Archive: opensuse (2358 mails)
| < Previous | Next > |
[SLE] FTP problems when using Linux as Gateway
- From: tom.winkler@xxxxxxxxxx (Thomas Winkler)
- Date: Sat, 2 Oct 1999 20:24:24 +0100
- Message-id: <005101bf0d0b$bcf81700$0200a8c0@piii450>
Hello,
I'm not sure if this is the right mailing list for this question but I hope you'll help my anyway.
I've set up a Linux box (SuSE 6.2, Kernel 2.2.10) to use it as a gateway to the internet for my LAN. Well, I'm new to Linux but so far I had no big problems. I use http (IE5, NSN 4.5)) from the clients as well as e-mailing (Outlook Express). I'm able to read newsgroups and even ICQ works fine except file transfers. That's one problem and there is one more that's much more important to me is that I'm unable to us FTP (WSFTP).
Here's the log file from WSFTP:
connecting to 212.172.52.2 ...
Connected to 212.172.52.2 port 8989
220-Serv-U FTP-Server v2.4a for WinSock ready...
Host type (1): Serv-U
220 Willkommen auf dem GamesZone Fileserver !
USER tibde-staff
331 User name okay, need password.
PASS (hidden)
230 User logged in, proceed.
PWD
257 "/c:/server/web/docs/tsgalaxy/news-stuff" is current directory.
Host type (I): Serv-U
PORT 192,168,0,2,6,154
200 PORT Command successful.
LIST
150 Opening ASCII mode data connection for /bin/ls.
And that's the point where nothing goes on anymore. I never get to se the directories and files on my server. I really have no idea what I might have to change to get FTP working but I guess you might have an idea (I at least hope so...).
One more datail that might be important. Below you'll find the commands I use to enable ip masquerading on my Linux box. The Linux box itself has IP-Number 192.168.0.1 and is connected by modem to my local ISP.
echo 1 > /proc/sys/net/ipv4/ip_forward
ipchains -P forward DENY 1
ipchains -A forward -s 192.168.0.2/255.255.255.0 -j MASQ
ipchains -A forward -s 192.168.0.3/255.255.255.0 -j MASQ
I'd be glad if you could help me on that because I really need access to my website again...
THANK YOU VERY MUCH!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV>Hello,</DIV>
<DIV> </DIV>
<DIV>I'm not sure if this is the right mailing list for this question but I hope
you'll help my anyway.I've set up a Linux box (SuSE 6.2, Kernel 2.2.10) to
use it as a gateway to the internet for my LAN. Well, I'm new to Linux but so
far I had no big problems. I use http (IE5, NSN 4.5)) from the clients as well
as e-mailing (Outlook Express). I'm able to read newsgroups and even ICQ works
fine except file transfers. That's one problem and there is one more that's much
more important to me is that I'm unable to us FTP (WSFTP).</DIV>
<DIV> </DIV>
<DIV>Here's the log file from WSFTP:</DIV>
<DIV> </DIV>
<DIV>connecting to 212.172.52.2 ...Connected to 212.172.52.2 port
8989220-Serv-U FTP-Server v2.4a for WinSock ready...<BR>Host type (1):
Serv-U220 Willkommen auf dem GamesZone Fileserver !<BR>USER
tibde-staff331 User name okay, need password.<BR>PASS (hidden)<BR>230 User
logged in, proceed.PWD<BR>257 "/c:/server/web/docs/tsgalaxy/news-stuff" is
current directory.Host type (I): Serv-U<BR>PORT 192,168,0,2,6,154<BR>200
PORT Command successful.LIST <BR>150 Opening ASCII mode data connection for
/bin/ls.</DIV>
<DIV> </DIV>
<DIV>And that's the point where nothing goes on anymore. I never get to se the
directories and files on my server. I really have no idea what I might have to
change to get FTP working but I guess you might have an idea (I at least hope
so...).</DIV>
<DIV> </DIV>
<DIV>One more datail that might be important. Below you'll find the commands I
use to enable ip masquerading on my Linux box. The Linux box itself has
IP-Number 192.168.0.1 and is connected by modem to my local ISP.</DIV>
<DIV> </DIV>
<DIV>echo 1 > /proc/sys/net/ipv4/ip_forwardipchains -P forward DENY
1ipchains -A forward -s 192.168.0.2/255.255.255.0 -j MASQ <BR>ipchains -A
forward -s 192.168.0.3/255.255.255.0 -j MASQ </DIV>
<DIV> </DIV>
<DIV>I'd be glad if you could help me on that because I really need access to my
website again...</DIV>
<DIV> </DIV>
<DIV>THANK YOU VERY MUCH!</DIV></BODY>
| < Previous | Next > |