INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

No access from LAN to FTP-site with SSL

No access from LAN to FTP-site with SSL

(OP)
Hi,

I'm having a strange problem where I can access my FTP-site from outside my LAN. But when I'm on premise I can't connect.
Below tou can see the outcome. It connects fine, checks the cert., logs in with the right credentials, wants to load the folderlist and then nothing... :-/

CODE -->

Status:	Adres bepalen van ftp-lan.website.be => URL checks out fine
Status:	Verbinden met 192.168.1.28:21... => internal IP of the FTP-Server
Status:	Verbinding gemaakt, welkomstbericht afwachten...
Status:	TLS initialiseren...
Status:	Certificaat controleren....
Status:	TLS-verbinding opgezet.
Status:	Ingelogd
Status:	Mappenlijst ophalen...
Opdracht:	PWD
Antwoord:	257 "/" is current directory.
Opdracht:	TYPE I
Antwoord:	200 Type set to I.
Opdracht:	PASV
Antwoord:	227 Entering Passive Mode (xx,xx,xx,xx,xx,xx). => WAN-IP showing here with the datacontrol ports
Opdracht:	LIST
Antwoord:	150 Opening BINARY mode data connection.
Antwoord:	550 The network connection was aborted by the local system. 
Fout:	Ontvangen van mappenlijst is mislukt => FAIL 


I set up my FTP site with the correct data and control ports. I also opened them on our firewall.
External connection is not a problem. I did see that I needed to insert my wan-ip on the FTP site for the Firewall section... so I did and everything works.
Now it also shows, when entering Passive Mode, that it uses that wan-ip even when connecting from within the LAN...
I guess that's where it fails and breaks the connection.

How do I solve this?
I already tried creating a secondary FTP-Site on the same port but with a different hostname. didn't work...
Am I overlooking something?

Kindest regards and thanx for any info on the subject.


Stijn

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close