Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
vsftpd access remotely
#1

Hi,

 

Im wondering how to access my new vsftpd server remotely. I can connection "remotely" with the LAN, on 192.168.1.1, but how can i know the corresponding public ip address?

cheers

Reply
#2

You can find out your public IP address using a site such as http://checkip.dyndns.org.

 

You may also need to forward the FTP port (21) on your router so that people outside your local area network can actually get to the right machine when they try to access port 21 of your public IP. This process depends on your router, but you

Reply
#3

Hi thanks for that.

 

though i couldnt still access it from the "outside world" using the public ip.

 

I added ftp to the virtual server,

 

[Image: firewall.jpg]

 

http://i136.photobucket.com/albums/q172/...rewall.jpg

 

I can still access it from the internal network on other computers, so this is still a router issue, or something related?

 

Also the firewall is completely off at the router for testing purposes,

 

Hope you can help soon,

 

 

Cheers

Reply
#4

From what I can see the screenshot shows those settings to be what I would expect to work.

 

So, a few more diagnosis questions:

 



<ol style="list-style-type:decimal;">[*]What make/model of router are you using?

[*]Which Linux distro are you using? Is there a client firewall running on your local OS?

[*]Use a service such as Shields Up and test 'All Service Ports'. When the scan finishes, locate port 21 in the grid (hovering over shows you which port it is, and use guide numbers along the side). Is Port 21 open (red), closed (blue) or stealthed (green)?

</ol>

Reply
#5

You'll also need to open port 20 for FTP data.

 

Check the VSFTP settings that incoming connections use PORT (not PASV) - and that you've got that connection in your FTP client also.

 

Lastly, check the logfiles - /var/log/xfer.log or so - for information regarding incoming connections. Usually they can tell you what is/isn't working.

 

BTW - I've just tried connecting on 124.171.*.* (your reported IP address) and I didn't get any response, so it looks like it's not NATing through correctly.

 

The last place I'd check is your firewall rules on the server itself - it may permit FTP connections from the LAN but not the WAN.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)