[ale] Closing ports 111 & 6000
Michael D. Hirsch
mhirsch at nubridges.com
Mon Oct 7 09:41:09 EDT 2002
On Saturday 05 October 2002 08:50 pm, Dana Powers wrote:
>
> X is a little harder - if you are running xdm or kdm or gdm as a
> login manager, you'll need to stop that ( replace kdm with yours -
> find it using 'ps aux'):
> bash# /etc/rc.d/init.d/kdm stop
One problem with this is that then you can't run X on your system any
more. If you want to run X, but still close port 6000, there are two
options, both of which work:
The wrong way: Use IP-Tables to turn off port 6000
The right way: Start X with the "-nolisten tcp" option.
In either case, you will still be able to use X on the box, but outside
systems will not be able to contact the X server.
--Michael
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list