[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

disable remote connections to local ports?



How can I set things up so that connections to a local port, say 6666,
are only accepted  if they are coming from  localhost? More generally,
how can I shut off all outside access to my machine, except for the ssh
daemon? I've got

ALL: ALL 

in /etc/hosts/deny, and 

ALL: 127.0.0.1

in /etc/hosts/allow, but I guess this isn't doing the trick? 

-chris






Reply to: