[ale] iptables...

Keith Hopkins hne at inetnow.net
Fri Aug 31 20:22:01 EDT 2001


Since this is the IP destinatin (your laptop) and not a router, just 
comment the ports you do not need out of /etc/services.  That will stop 
inetd from servicing them.  For any processes that listen to ports 
directly (sendmail, etc), just don't run the process.

Lost in Taipei,
   Keith


Timothy Ball wrote:

> I need to filter some ports on my laptop... I don't know iptables...
> (i'm not a networking guy). I've tried looking at the docs, but again
> I'm not a networking guy.
> 
> there are my open ports...
> Port       State       Service
> 22/tcp     open        ssh                     
> 25/tcp     open        smtp                    
> 111/tcp    open        sunrpc                  
> 113/tcp    open        auth                    
> 515/tcp    open        printer                 
> 1024/tcp   open        kdm                     
> 1026/tcp   open        nterm                   
> 6000/tcp   open        X11 
> 
> I need ssh and sunrpc (for nfs which I'm gonna add latter), but I would
> like to block all others. If anyone can get me started That'd Be Great
> (tm)
> 
> TIA,
> --timball
> 
> 


--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list