Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My ISP (local phone company) rules include that I can't build up own server to used from WAN. I use it now only in LAN. I have tried to connect to ftp-server from "outside", but the server doesn't showed from "outside". I found site www.dyndns.org. Is it possible that they could help me in this thing or do i have to change ISP?
dyndns will only map a domain name to your ip, so no it wont help you.
you probably can have your own server running, though dont quote me on that.
flush all iptables rules, if you have any, with iptables -F
then issue the command : iptables -A input -p tcp -dport 20:21 -j ACCEPT
this will open both the control and data ports that ftp uses.
then fire up your ftp deamon, if it isnt already running and try connect from an external address.
You can work around this by running your ftp on a different port. For instance...this is what I use:
FTP server listens on: port 6531 (looks like PCAnywhere)
Passive connections: port 6532-6534
...then I just configure my router to open and forward ports 6531-6534 to my ftp server. If your FTP server is not behind a router, then just make sure ports 6531-6534 are open on that machine.
I have router (Zyxel Prestige 324) and my ftp server have a private IP. The isp maybe blocking the port i'm not sure. I have to find out it.
I have configured router like this: Sua server - ftp -start port = 20 - End port = 21 - Sever IP-address = 192.168.1.5
Please, be patient. I changed the port to the /etc/proftpd.conf . I put there port 6531 and same time i changed routers ftp start port 6531 and end port 6534. But when I changed proftpd.conf port to 6531, i can't get to ftp even private ip-address.
When I'll get to the ftp with private ip-address and I'll try with public ip there comes prompt "530 User jack cannot log in".
I tried to find "iptables" with command line, no answer. I even set the firewall of from the control center. I have done many things and now i'm confused.
It's more interesting to get the ftp working from WAN before studing those security things.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.