From owner-freebsd-questions@FreeBSD.ORG Sat Apr 16 16:12:10 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF33216A4CE for ; Sat, 16 Apr 2005 16:12:10 +0000 (GMT) Received: from mr.tuwien.ac.at (mr2-n.kom.tuwien.ac.at [128.131.2.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id BFCB543D48 for ; Sat, 16 Apr 2005 16:12:09 +0000 (GMT) (envelope-from e0025265@student.tuwien.ac.at) Received: from webmail.zserv.tuwien.ac.at (lps.ben.tuwien.ac.at [193.170.74.11]) by mr.tuwien.ac.at (8.12.10/8.12.8) with SMTP id j3GGC5lI018831 for ; Sat, 16 Apr 2005 18:12:05 +0200 (MEST) MIME-Version: 1.0 X-Mailer: V-webmail 1.5.1 ( http://www.v-webmail.co.uk/ ) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-ID: Date: Sat, 16 Apr 2005 18:12:05 +0200 From: "Florian Hengstberger" To: FreeBSD mailinglist X-Vwebmail-Auth: e0025265@stud3.tuwien.ac.at X-Virus-Scanned: by amavisd-milter (http://amavis.org/) Subject: which interface: mountd,rpcbind X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Apr 2005 16:12:11 -0000 Hi! I really worry about that it seems (man mountd, man rpcbind) impossible to specifiy the interface these daemons bind to. Specifing this in rc.conf rpcbind_enable="YES" rpcbind_flags="-h 192.168.0.1" nfs_server_enable="YES" nfs_server_flags="-t -n 4 -h 192.168.0.1" mountd_flags="-r" the output of sockstat -l is this: root nfsd 398 3 tcp4 192.168.0.1:2049 *:* root mountd 396 4 udp4 *:812 *:* root mountd 396 5 tcp4 *:912 *:* root mountd 396 6 udp6 *:811 *:* root mountd 396 7 tcp6 *:911 *:* root rpcbind 329 4 udp6 *:* *:* root rpcbind 329 5 stream /var/run/rpcbind.sock root rpcbind 329 6 udp6 ::1:111 *:* root rpcbind 329 7 udp6 *:* *:* root rpcbind 329 8 udp6 *:1023 *:* root rpcbind 329 9 tcp6 *:111 *:* root rpcbind 329 10 udp4 127.0.0.1:111 *:* root rpcbind 329 11 udp4 192.168.0.1:111 *:* root rpcbind 329 12 udp4 *:808 *:* root rpcbind 329 13 tcp4 *:111 *:* bind named 314 20 udp4 192.168.0.1:53 *:* bind named 314 21 tcp4 192.168.0.1:53 *:* bind named 314 22 udp4 127.0.0.1:53 *:* bind named 314 23 tcp4 127.0.0.1:53 *:* bind named 314 24 udp4 *:53 *:* ... The man page of sockstat does not give information about * int the last column, but I assume this means 'listens on all interfaces'. How can I avoid this? Many thanks, Florian