Mailinglist Archive: opensuse (2358 mails)
| < Previous | Next > |
Re: [SLE] FTP problems when using Linux as Gateway
- From: tomas@xxxxxxxxxxxx (S.Toms)
- Date: Sat, 2 Oct 1999 11:55:01 -0700 (PDT)
- Message-id: <Pine.LNX.4.10.9910021148490.20613-100000@xxxxxxxxxxxxxxxxxxxx>
On Sat, 2 Oct 1999, Thomas Winkler wrote:
tw> Hello,
tw>
tw> I'm not sure if this is the right mailing list for this question but I
tw> hope you'll help my anyway. I've set up a Linux box (SuSE 6.2, Kernel
tw> 2.2.10) to use it as a gateway to the internet for my LAN. Well, I'm
tw> new to Linux but so far I had no big problems. I use http (IE5, NSN
tw> 4.5)) from the clients as well as e-mailing (Outlook Express). I'm
tw> able to read newsgroups and even ICQ works fine except file transfers.
tw> That's one problem and there is one more that's much more important to
tw> me is that I'm unable to us FTP (WSFTP).
tw>
tw> And that's the point where nothing goes on anymore. I never get to se
tw> the directories and files on my server. I really have no idea what I
tw> might have to change to get FTP working but I guess you might have an
tw> idea (I at least hope so...).
tw>
tw> One more datail that might be important. Below you'll find the
tw> commands I use to enable ip masquerading on my Linux box. The Linux
tw> box itself has IP-Number 192.168.0.1 and is connected by modem to my
tw> local ISP.
tw>
tw> echo 1 > /proc/sys/net/ipv4/ip_forward
tw> ipchains -P forward DENY 1
tw> ipchains -A forward -s 192.168.0.2/255.255.255.0 -j MASQ
tw> ipchains -A forward -s 192.168.0.3/255.255.255.0 -j MASQ
tw>
tw> I'd be glad if you could help me on that because I really need access
tw> to my website again...
tw>
tw> THANK YOU VERY MUCH!
tw>
One thing I noticed missing, mind you, I don't use masq, but I believe
the 'input' and 'output' rules in ipchains is whats causing your problems.
My system isn't using masq so I have no rules in 'forward' but you still
need to accept ftp with the 'input' and 'output' in order to forward them
to the other systems.
Of course I could be completely out in right field here, as I havn't
messed with masq, but I would assume its the same, everthing still has to
come through 'input' and 'output' before it can goto 'forward'.
--
S.Toms - tomas@xxxxxxxxxxxx - http://www.primenet.com/~tomas
SuSE Linux v6.2+ - Kernel 2.2.11
Ask not for whom the <CONTROL-G> tolls.
--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
| < Previous | Next > |