Link to home
Start Free TrialLog in
Avatar of Voronoy Oleg
Voronoy Oleg

asked on

Cannot access FTP Server from Internal when FTP behind Firewall

Cannot access FTP Server (Win2016Std) from Internal.  (or from outside, when used with WordPress as a client)

FTP Server (10.0.5.15) and IIS on same server behind firewall (TMG 2010). Configured publishing rule to forward External IP (X.X,X,X) to Internal (10.0.5.15)

All firewall rules are configured. Can connect from outside by FTP client (PASV) - no problems! Do not really need to connect from LAN, but

THE PROBLEM IS:

WORPRESS SITE requires FTP Server setup on WEB Server to upload Updates from WEB Site.

When I try to ftp from WordPress it sends internal IP of the WEB Site as a client IP (10.0.5.15) not the Client IP of the Browser machine.
So, TMG does not allow internal to external loopback...

Any solution?
Avatar of Britt Thompson
Britt Thompson
Flag of United States of America image

You need to setup the FTP server on the Wordpress site to send a masquerade address. I can't think of any FTP server software that doesn't have this option for this reason.
Avatar of Voronoy Oleg
Voronoy Oleg

ASKER

FTP server is setup with Support Firewall and External IP.  FTP server works from any external client in Passive mode. The problem is when I do FTP request from Websitr. Web server puts internal IP as client IP. So basicaly,  for firewall it look like request are coming from internal network. The WEB request not even getting to FTP server.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.