[SOLVED] vsftpd: No route to host | CentOS 7 with two ethernet cards
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.
vsftpd: No route to host | CentOS 7 with two ethernet cards
Hi everyone, good afternoon.
I would like to ask you a favor to help me on below issue.
Let me explain the environment:
1) I have one generic modem (192.168.25.1)
2) I have one router ArcherC8 (192.168.0.1)
3) The router ArcherC8 has the internet interface connected to one interface from modem and the internet/wireless is working properly
4) I have one CentOS 7 with two ethernet cards (1 connected to the router, the ip address is 192.168.25.200) and (1 connected to the modem, the ip address is 192.168.0.200)
5) I have opened the FTP port (20 and 21) on modem
6) I have used the port forwarding for both ports (20 and 21) pointing to my CentOS ethernet card 192.168.25.200
7) I can establish connection on FTP server (locally and remotelly) but when I type the command `dir` or `ls` or simple upload some file, I am getting the error message "ftp: connect: No route to host"
8) The port 21 is opened on CentOS as per below command:
Thank you jnihil.
I have solved the issue by upgrading the firmware of my modem to use it as bridge instead of router, and have my router doing the pppoe services. My router has many options in terms of port forwarding, NAT, firewall, so this decision was good.
I am now able to connect remotelly and use ftp services.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.