OPNsense Forum

English Forums => General Discussion => Topic started by: JaRoOo on November 20, 2016, 01:24:31 am

Title: how can i acces to a ftp server via wan?
Post by: JaRoOo on November 20, 2016, 01:24:31 am
hi, i have created an ftp server on a computer with an ip = 172.22.16.22, this ip is assigned by dhcp.

my firewall has a wan ip = 192.168.1.224

i added the next configuration in NAT>port forward
https://postimg.org/image/m1d8fygqv/ (https://postimg.org/image/m1d8fygqv/)

but when i try to enter ftp://192.168.1.224 the page shows me nothing

what do i missing? hope you can help me, im new on this

Title: Re: how can i acces to a ftp server via wan?
Post by: JaRoOo on November 20, 2016, 01:28:39 am
i also have created this rule, sorry i forgot about it

https://postimg.org/image/gev46mwmt/ (https://postimg.org/image/gev46mwmt/)
Title: Re: how can i acces to a ftp server via wan?
Post by: fabian on November 20, 2016, 11:52:32 am
It would be more helpful if you would post the FTP-Log but I think you are not able to establish a data connection.
Title: Re: how can i acces to a ftp server via wan?
Post by: Julien on March 08, 2017, 03:20:00 pm
I see you are blocking RFC1918 networks, and you are trying to connect from class B/C network to the FTP.
this could the reason.
if you disable the block of the RFC1918 on the WAN side you should be able to establish a connection.

we are having a FTP for our customer online and using the same rules as yours and everything works fine.