Hallo
I´v set up my FTP Server (192.168.3.2) which is in a DMZ (192.168.3.1) to be reachable from WAN.
I added some lines in my /etc/vsftpd/vsftpd.conf
pasv_address=mydomain.net
pasv_addr_resolve=YES
pasv_min_port=30001
pasv_max_port=30101
further I´v added 1 WAN Rule in m0n0wall:
TCP * * 192.168.3.2 30001 - 30101 NAT FTP high ports
and 1 NAT Line:
WAN TCP 30001 - 30101 192.168.3.2 30001 - 30101 FTP high ports
now ftp passive mode works fine from extern (WAN) but not from LAN (192.168.2.x) cause the FTP Server send back his external IP address.
How can I solve this issue?
LAN to DMZ (http, mail,...) works fine after I added all the domains and hosts in the DNS forwarder section. (hope there will be soon another solution [LAN -> WAN -> DMZ].
thx in advance
opaque