LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Stop Portmaping NFS ... (https://www.linuxquestions.org/questions/linux-newbie-8/stop-portmaping-nfs-30564/)

SchwipSchwap 09-17-2002 04:21 AM

Stop Portmaping NFS ...
 
I wanna stop all these NFS and RPC-Services, to
allow somebody to mount my harddisk or control programs
(X-Server). Need help to block all these things coming from Outside.

THX SchwipSchwap

born4linux 09-17-2002 09:06 AM

use ipchains/iptables or tcwrappers. Also, disable or uninstall the services that you don't want (i.e nfs).

If you are using Red Hat, use lokkit. it has a predefined set of rules for ipchains that automatically disables NFS and remote X services.

Try this if you want to use iptables:

http://firestarter.sourceforge.net/

It's a gui based fwall config program.

jetblackz 09-17-2002 10:06 AM

Or you could always uninstall them.

That's what I always do right after install, along with many other services the regular Joe never used.

SchwipSchwap 09-18-2002 08:25 AM

uninstalling nfs, nfsserver, sendmail, start the
X-Server with startx -- nolisten tcp and block tcp 111
should close all, or?

PS: and listen 127.0.0.1 in sshd_config

jetblackz 09-18-2002 10:43 AM

Uninstall ssh, Openssh, or sshd (I don't think it's the name).

If port A isn't listening, no need to block it.

tied2 09-18-2002 06:53 PM

You don't have to uninstall evey thing you don't use just do this from a shell ntsysv --level 456 and take out what you don't want and reboot you can shut down portmapping from there along with a host of other programs you don't need running.


All times are GMT -5. The time now is 08:31 PM.