On Wednesday 03 October 2001 03:44 pm, linus kumar wrote:
> How to block port 111/tcp sunrpc  on Redhat linux 7.1

If you want to only block it you can use iptables or ipchains with something 
like this:
iptables -A INPUT -d <your-i.p> -p tcp --dport 111 -j DROP

You can use various permutations and combinations of iptables to allow or 
disallow access to portmap for specific hosts/networks. Read the man page of 
iptables for further details.

If you're not using portmap and want to shut it down alltogether, then as 
root, do a 
service portmap stop

Also run setup as root, and disable portmap under system services. That will 
stop portmap from running the next time you reboot.

Regards,
Vinu.


_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to