Click to See Complete Forum and Search --> : NFS Security Question ( quotad )


goon12
09-16-2004, 09:21 AM
I have a box with 2 nics in it ( eth1->LAN and eth0->WAN ). That box is running NFS, after scanning my box I saw "799/tcp open controlit", so I did a "netstat -natl | grep 799" and got this result

tcp 0 0 0.0.0.0:799 0.0.0.0:* LISTEN
I had no idea what that meant to again I did "lsof -i tcp:799" and got this

rpc.rquot 16307 root 4u IPv4 374880 TCP *:799 (LISTEN)

I did a some googling and found that it was used by NFS. Now is there a way to stop it from listening on 0.0.0.0 and listen on my eth1 ( the card connected to the lan ) , I do not want to share with anyone else. Or is this "normal"?

Thanks,
goon12

ph34r
09-16-2004, 09:32 AM
Why not just firewall it off on the WAN side?

goon12
09-16-2004, 10:51 PM
Well to be honest, I don't really know how ;)

I just have this simple firewalls script I got from redhat.com, a year or 2 back and it's been working ever since.

-goon12

goon12
09-16-2004, 10:51 PM
I meant to post the file sorry....