how to configure the services that only accessable from particular IP address
Hi guys
am new to linux.......... my query is , 1:in my SuSe 10 machine , i need to configure telnet(or ftp..) service is accesible from only particular IP address. is there is any way to configure this in suse plz help............ |
Run the service from xinetd and use the "only-from" option in the /etc/xinetd/telnet config file.
It would be better to use ssh instead of telnet. |
Another way could be to use tcp wrappers to deny access to telnet from other addresses. But as advised, ssh is reliable and more secure.
|
Quote:
suppose i need to restrict FTP , is there any other config file is there.. if we configure the IP in entry in the file "/etc/sysconfigg/Susefirewall2 " FW_TRUSTED_NETS will it work in the same way ..? |
Quote:
|
Quote:
|
I think that that setting opens the port on an internal NIC but not an external one. It is generalized so it you change a NIC device from internal to external, the ports will close.
|
All times are GMT -5. The time now is 06:15 AM. |