2009-06-14, 03:08 PM
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
vsftpd access remotely
|
2009-06-14, 03:08 PM
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 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
2009-06-15, 11:44 AM
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, 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
2009-06-15, 06:36 PM
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>
2009-06-17, 05:00 PM
(This post was last modified: 2009-06-17, 05:02 PM by Dungeon-Dave.)
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. |
« Next Oldest | Next Newest »
|