This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Standard FTP in private network

Hi!

I'm trying to config ASL 3.202 so that I can run a FTP server in my private network to be accessable from the "outside".

FTP server IP:   192.168.1.1
ASL internal IP: 192.168.1.254
ASL external IP: 130.83.19.167
masq private LAN on WAN-Interface

First I added a packet filter rule:
All/All -> WAN_Interface/FTP : allow

Then I added a S-/DNAT rule:
All -> WAN_Interface SRCTransl.:none DSTTransl.: FTPserverIP

But (as I assuemed) I doesn't work.   [:(]  
Do I have to allow FTP-Control separatley and add another S-/DNAT Rule?   [:S]  

Tkx in advance.
Greetings
Chris


This thread was automatically locked due to age.
Parents Reply Children
  • Hmmmm ...  I really can't believe it ...
    I did what you say, but its still not working.

    At the moment, there is one packetfilter rule:
    any -> any -> any : allow

    I'm masquerading my private network on ASLs WAN-NIC and there is one DNAT rule:

    All -> myExternalIP/Any | noSrcTrans | DestTrans: myFTPServer

    What am I doing wrong???
     
     [size="1"][ 16 August 2002, 07:50: Message edited by: f3@Rl3SS ][/size]
  • ops ... my failure ...
    It works with that konfig. (no wonder)

    If I enable the packet filtering rules, it doesn't.
  • OK ... I found the "bad boy".
    It was a filter rule:
    Any/Any -> myLAN : DROP

    But isn't disabeling that rule insecure?
    (i still got the rule: Any/Any -> WAN_Interface_ : DROP )
  • By default Astaro denies traffic unless you explicitly allow it.
    Rules are also processed in order of their listing.  You can play with the rules and come up with good security whilst still allowing your ftpd to run.