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

NAT : FTPserver -- non standard port - Please Help

Il take the : FTP/FXP server with ASL packet filter and DNAT example from http://docs.astaro.org/docs/ftp-howto.txt

Why ? because its not fiting the options thats in ASL 3.202 (and i dont understand it)

P L E A S E - H E L P

se reply
 
 [size="1"][ 26 July 2002, 04:14: Message edited by: Gordini ][/size]


This thread was automatically locked due to age.
Parents
  • Fill in the blanks (that is for the helpfull helper im looking for):

    --------------------------------------------------
    FTP server with ASL packet filter and DNAT :

    Lets assume that you have a FTPserver set up in your LAN on address 192.168.1.10
    with control port 23456. Your external, official IP on the ASL firewall is
    1.2.3.4.

    --------------------------------------------------
    step#1
    [WebAdmin\Definitions\Networks]

    - FTP_Server 192.168.1.10 255.255.255.255
    - ASL_Extern 1.2.3.4 255.255.255.255
    --------------------------------------------------

    --------------------------------------------------
    step#2
    [WebAdmin\Definitions\Services]

    FTP_ALTControl   TCP 1024:65535  23456
    PASV_Range       TCP 1024:65535  3000:4000
    --------------------------------------------------

    --------------------------------------------------
    step#3
    [WebAdmin\Packet Filter\Rules]

    Any         FTP_ALTControl   FTP_Server   Allow

    FTP_Server      Any             Any       Allow
    --------------------------------------------------

    --> (whats between @@ and @@ i dont understand)

    Finally, we must add the DNAT rules. Go to [WebAdmin\NAT/Masquerading\DNAT/SNAT] and add the following definitions:

    @@(this is what ftp-howto sugests)  [:O]  
    --------------------------------------------------
    ASL_extern  FTP_ALTControl  FTP_Server  FTP_ALTControl
    --------------------------------------------------
    ASL_extern  PASV_Range  FTP_Server  PASV_Range

    --------------------------------------------------
    @@

    --> (please fill in the blanks for the DNAT/SNAT rules under)

    step#4

    #rule1
    --------------------------------------------------
    Packets to match:

    Source address: _______________
    Destination address: _______________
    Service: _______________
    --------------------------------------------------
    Change source to:

    Address: _______________
    Service source: _______________
    --------------------------------------------------
    Change destination to:

    Address: _______________
    Service destination: _______________
    --------------------------------------------------
    #end_rule1

    ==================================================

    #rule2
    --------------------------------------------------
    Packets to match:

    Source address: _______________
    Destination address: _______________
    Service: _______________
    --------------------------------------------------
    Change source to:

    Address: _______________
    Service source: _______________
    --------------------------------------------------
    Change destination to:

    Address: _______________
    Service destination: _______________
    --------------------------------------------------
    #end_rule2
     
     [size="1"][ 26 July 2002, 04:24: Message edited by: Gordini ][/size]
  • Please someone that know this ..

    I have nightmares about this
  • [:S]h ??
    i see after i wrote this post Astaro has mooved the ftp-howto.txt to :
    http://docs.astaro.org/docs_v2/ftp-howto.txt

    Does that mean that its impossible in 3.202 ?
    Does that mean that no one is capable of explaining it regarding 3.202 ?
    What does it mean ? i cannot find anything more to read. please help  
Reply Children
No Data