Mailinglist Archive: opensuse-security (757 mails)

< Previous Next >
AW: [suse-security] probs with ftp-masquerading
  • From: "OKDesign oHG Security Administrator" <security@xxxxxxxxxxx>
  • Date: Wed, 23 Jan 2002 18:47:04 +0100
  • Message-id: <>

does someone know how this redirecting is done ? I tried out with
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 20:21 -j
REDIRECT --to-post 3128
but this doesn't work. Since that I can't even connect to a ftp-server
anymore :-(

How exactly must this be done ?

Thanks in advance


-----Urspr√ľngliche Nachricht-----
Von: Alberto Tarantino [mailto:alberto.tarantino@xxxxxxxxxxxx]
Gesendet: Dienstag, 22. Januar 2002 09:18
An: OKDesign oHG Security Administrator
Betreff: Re: [suse-security] probs with ftp-masquerading

Hi there,
I know it might sound like a "dirty trick".. but.. why don't you use port
redirection and Squid as FTP proxy? That might improve security as well as
be a very easy ti implement solution.

----- Original Message -----
From: "OKDesign oHG Security Administrator" <security@xxxxxxxxxxx>
To: <suse-security@xxxxxxxx>
Sent: Tuesday, January 22, 2002 8:24 AM
Subject: RE: [suse-security] probs with ftp-masquerading

> Okay,
> I've now learned a lot of security-wisdom and that the SuSE-firewall 2 is
> damned good tool (something I already knew).
> But my problem is still unsolved. For any reasons ftp-masquerading doesn't
> work.
> I tried what Ralf recommended, but the two iptables-commands didn't have
> result (okay, maybe they had, but they didn't enable ftp-masquerading).
> I also looked for the modules ip_conntrack_ftp and ip_nat_ftp as GertJan
> told me. I had no luck to find the first one anywhere on my system
> the FW-Packe is installed. The second one is there and I did an insmod,
> this also didn't solve the problem.
> Ah yes, Lars pointed me to an error I made. Of course I didn't install my
> system from the crab, but from the scratch. Funny to image a crab with
> SuSE-Linux tied on the back :-)
> To Roman: Of course you are right, but as I already mentioned, I have to
> live with DAUs in my LAN, and it's hard enough to have my phone actually
> ringing like hell because this damn ftp doesn't work. By now I only answer
> "I'm working on it and I'll send a message to all users when it's working
> again..."; but to imagine to have to explain all users what
> is and how and why it must be used, is as hard as to imagine that my
> mother-in-law is going to stay for more than one week (one week is bad
> enough, but more will ruin my nerves *sigh*). I really don't know which
> I would prefer if I had only these two choices...
> Anyway, could someone help me in solving my problem ? I'm sure out there
> this list are lots of iptables-freaks knowing nearly all tricks one can do
> with it and it should be no big problem for them to find out how to enable
> this ftp-masquerading.
> Thanks in advance
> Stephan
> --
> To unsubscribe, e-mail: suse-security-unsubscribe@xxxxxxxx
> For additional commands, e-mail: suse-security-help@xxxxxxxx

< Previous Next >
Follow Ups