From owner-freebsd-questions Tue Nov 13 3:33:11 2001 Delivered-To: freebsd-questions@freebsd.org Received: from slacknet.slacknet.com (slacknet.slacknet.com [204.228.135.180]) by hub.freebsd.org (Postfix) with ESMTP id 5F08537B416 for ; Tue, 13 Nov 2001 03:33:08 -0800 (PST) Received: from rj45 (helo=localhost) by slacknet.slacknet.com with local-esmtp (Exim 3.12 #1 (Debian)) id 163boS-0004xK-00 for ; Tue, 13 Nov 2001 04:33:08 -0700 Date: Tue, 13 Nov 2001 04:33:08 -0700 (MST) From: RJ45 To: freebsd-questions@freebsd.org Subject: samba+ipnat+wins Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I am really confused about a problem I have. THis si my configuration: 172.16.16.2 .254 192.84.x.y Windows PC <----> FreeBSD NAT <------- LAN ---------> | -----> Samba WINS server + CUPS I configured a samba WINS server on my lan but my PC is on a hidden network on MY lan and when I look into wins.dat file my PC appears to be as 172.16.16.2 that is the HIDDEN IP but I expected it to be hte IP of my FreeBSD nattting BOX. I had configured ipnat in this way: map dc0 172.16.16.0/24 -> 192.84.x.y/32 portmap tcp/udp 10000:20000 map dc0 172.16.16.0/24 -> 192.84.x.y/32 Does it mean that NAT works only for the TCP/IP porotocol and not for SMB? Anyway as well I Can print from my windows PC which is hidden behind my FreeBSD box and since I Can print this means that the IP Translation is done... how come then samba writes the ip 172.16.16.2 and not 192.84.x.y in the wins.dat file ?? thanks a lot Rick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message