View previous topic :: View next topic |
Author |
Message |
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Fri Feb 24, 2012 1:35 pm Post subject: |
|
|
Port 21 will do.
Have you disable your router's 21port if it has it enabled?
You can try http://net2ftp.com/ to check your ftp from outside, since checking from inside not always work, unless you have somebody from an external network testing your ftp.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
riteman Member
Joined: 01 Feb 2011 Posts: 27
|
Posted: Fri Feb 24, 2012 2:42 pm Post subject: |
|
|
..but I also tried to make the SMS server an exposed host (Open to the internet) and that did not change anything. Could be that my internal PCs are blocked but my windows firewall allows FTP?
My PC is found at lsoathome.dyndns.org in case you want to try it out from your PC. |
|
Back to top |
|
riteman Member
Joined: 01 Feb 2011 Posts: 27
|
Posted: Fri Feb 24, 2012 2:45 pm Post subject: |
|
|
I tried net2ftp but could not connect |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Fri Feb 24, 2012 2:48 pm Post subject: |
|
|
All your ports are filtered, meaning there is a firewall blocking them...
Either your port forward is not working or you might have an extra protection from your ISP through ports 0-1000.
Try port forward port 35665 to 21in your local machine and try to login from outside at
lsoathome.dyndns.org:35665
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
riteman Member
Joined: 01 Feb 2011 Posts: 27
|
Posted: Fri Feb 24, 2012 5:14 pm Post subject: |
|
|
I had hooked my SMS server up to a wireless repeater - now it is attached directly to the router and teh WEB server is seen from the outside - still no luck with the FTP server |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Fri Feb 24, 2012 6:44 pm Post subject: |
|
|
This is the result of nmap
Code: | PORT STATE SERVICE
21/tcp filtered ftp |
filtered = firewall or no port forward
open = port forward is enabled, got respond from ftp server
closed = port forward is enabled but ftp service is down
You need to check your router's firewall.
What's your router? I'm guessing a fritzbox ?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
riteman Member
Joined: 01 Feb 2011 Posts: 27
|
Posted: Fri Feb 24, 2012 8:00 pm Post subject: |
|
|
correct! |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Fri Feb 24, 2012 8:31 pm Post subject: |
|
|
I'm guessing all fritzbox are little bit the same, so go to
System and enable expert mode , if it's not enabled and then
Internet -> Port Forward
Have you try to restart router, just in case?
Also have you tried a higher port number as I suggest in previous posts e.g. 55000->21?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
riteman Member
Joined: 01 Feb 2011 Posts: 27
|
Posted: Sat Feb 25, 2012 1:23 am Post subject: |
|
|
I always work in expert mode
I rebooted server and router and now net2ftp connects correctly and my server is seen from the outside as well.
21/tcp open ftp vsftpd 2.0.8 or later
80/tcp open http Apache httpd 2.2.21 ((Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.
Thanks a lot for all your time, support and patience - I learned a lot! |
|
Back to top |
|
riteman Member
Joined: 01 Feb 2011 Posts: 27
|
Posted: Sat Feb 25, 2012 7:32 pm Post subject: |
|
|
very strange.
Today server and FTP is not available from the outside - I can ping lsoathome.dyndns.org but time out on the server as http and FTP
This is driving me crazy  |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sat Feb 25, 2012 7:53 pm Post subject: |
|
|
Port forward is enabled as I can see,but service is down unless this is not you.
Code: | PORT STATE SERVICE
21/tcp closed ftp
22/tcp closed ssh
8082/tcp closed blackice-alerts |
Is you local IP static on SMS machine?
Is dyndns.org service updated?
You can additionally setup ddclient as sometimes there is a delay from routers or not working at all, although fritzboxs as far as I know they work.
Do a
Code: | dig lsoathome.dyndns.org |
to check dns is right.
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
riteman Member
Joined: 01 Feb 2011 Posts: 27
|
Posted: Sat Feb 25, 2012 10:29 pm Post subject: |
|
|
I have ddclient running on the SMS server and checking with the DYNDNS homepage it updates the IP address as needed. The SMS server has a static IP address internally in order to assign open ports to it.
I did a DIG and Question/Answer gave me the external IP address
I am now using a good old Belkin router where I have opened the HTTP and FTP ports for the SMS server but the result is the same so seems the issue is in the SMS server |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Sat Feb 25, 2012 10:44 pm Post subject: |
|
|
If server is accessible from local network, I don't think SMS has an issue, unless fail2ban ban your external visitors.
You can try to stop fail2ban or restart it and check again.
You can check
iptables -L
to see if there is something blocked.
Do you have uPnP enabled or DMZ option in your router to try it?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
riteman Member
Joined: 01 Feb 2011 Posts: 27
|
Posted: Wed Feb 29, 2012 1:01 am Post subject: |
|
|
The problem was approximately 80 cm in front of the PC: I had opened the ports using the wrong IP address: ...102 instead of ...103 (the server has been given the iP .103 mapped with its MAC-address |
|
Back to top |
|
|