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.
I have a red hat box and I have 3 ips on eth0
If you for example try to connect to port 21 if you connect to ip1, ip2 or ip3
they all work so you end up in the same place but I want to set it so that connections to port 21 to be permited only on ip1 and if you try to connect to ip2 or ip3 to deny connection to the port
Hope I`ve been pretty clear,
Can anyone help me?
you can either use a firewalll on all NIC's and openly open the port on the single NIC you want, or more easily you should be to configure your ftp server to only listen on either 1) that interface or 2) the subnet applicable to that NIC.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.