Port to be closed.
Please,I do not know how to close the following:
1. Ports TCP opened by Xwindow. 2. Ports and services as: sunrpc auth 947 smtp 957 Your help is appreciated. Thanks |
Just:
Code:
apt-get install firestarter Edit: Dang typos! |
I wish to close not by firestarter but directly.
Thanks |
The following code closes port 23 (telnet):
Code:
iptables -I INPUT 1 -p tcp --destination-port 23 -j DROP |
Please,I wish ports to be closed and not firewall drops the packets.
Thanks |
edit /etc/inetd.conf, commenting out lines to services you want closed. When your done use "/etc/init.d/inetd restart".
|
Debian has special a program for this. Check out "man update-inetd". I've used it to close all unnecessary inetd services.
|
"startx -- -nolisten tcp" will close the X Window port.
I had to "chmod -x /etc/init.d/exim4" to get rid of smtp. |
All times are GMT -5. The time now is 02:22 AM. |