On Tue, 02 Jan 2001 10:27:54 -0500, John Aldrich <[EMAIL PROTECTED]> wrote:
>
> How do I close the "X" port to the outside world? A buddy of mine
> (actually one of my co-workers who's job is security <G>) scanned my
> machine for me and saw that the "X" port is open.... I'm running RH
> 6.2 and that's about the only thing open to the outside world...
>       Thanks...
>       John


This is what I use:

# X Displays :0-:2-
$IPCHAINS -A input -l -p tcp -s $REMOTENET -d $LOCALNET 5999:6003 -j DENY
$IPCHAINS -A input -l -p udp -s $REMOTENET -d $LOCALNET 5999:6003 -j DENY
echo -n "."

# X Font Server :0-:2-
$IPCHAINS -A input -l -p tcp -s $REMOTENET -d $LOCALNET 7100 -j DENY
$IPCHAINS -A input -l -p udp -s $REMOTENET -d $LOCALNET 7100 -j DENY
echo -n "."


Credits go to:

# Original script by Ian Hall-Beyer ([EMAIL PROTECTED])
#
# Contributors:
# terminus ([EMAIL PROTECTED]) (ICQ & DHCP, @home testing)

__
Larry Grover, PhD
Assoc Prof of Physiology
Marshall Univ Sch of Med




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to