Date: Tue, 13 Nov 2001 04:33:08 -0700 (MST) From: RJ45 <rj45@slacknet.com> To: freebsd-questions@freebsd.org Subject: samba+ipnat+wins Message-ID: <Pine.LNX.4.21.0111130426310.19026-100000@slacknet.slacknet.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0111130426310.19026-100000>