Linux Netfilter discussions
 help / color / mirror / Atom feed
* FTP access from outside
@ 2005-05-05 14:29 Dimitri Yioulos
  0 siblings, 0 replies; 6+ messages in thread
From: Dimitri Yioulos @ 2005-05-05 14:29 UTC (permalink / raw)
  To: netfilter

Hello, colleagues.

I'm embarassed to ask for help on this (it should be trivial to set up), but 
I'm having no luck:

I'd like to enable FTP access to my web server, which is sitting in a DMZ, 
from outside.  I've add proftpd, and believe I've set it up properly.  I can 
access FTP from my LAN, but not from outside.  I've added the following rules 
to allow access:

-A FORWARD -p tcp -m tcp -d 192.168.1.3 -i eth0 -o eth2 --dport 21 -j ACCEPT
-A PREROUTING -p tcp -m tcp -d 67.x.x.x -i eth0 --dport 21 -j DNAT 
--to-destination 192.168.1.3
-A POSTROUTING -s 192.168.1.3 -o eth0 -j SNAT --to-source 67.x.x.x

where eth0 is public interface and eth2 is DMZ interface

What have I missed (or messed up)?

As always, thanks.

Dimitri


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-05-06 11:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200505051437.j45EbauW006066@eden.inf.ed.ac.uk>
2005-05-05 14:48 ` FTP access from outside Dimitri Yioulos
2005-05-05 15:06   ` Daniel Wittenberg
2005-05-05 15:18     ` Dimitri Yioulos
2005-05-06  9:37       ` Jörg Harmuth
     [not found] ` <d5e96bf205050604367aef4e3a@mail.gmail.com>
     [not found]   ` <d5e96bf205050604378818c3d@mail.gmail.com>
2005-05-06 11:47     ` Dimitri Yioulos
2005-05-05 14:29 Dimitri Yioulos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox