[Samba] Samba through a NAT router
Robin Bowes
robin-lists at robinbowes.com
Mon Apr 4 22:02:58 GMT 2005
Hi,
My network topology is as follows:
Netgear Linksys
DG632 WRT54G
DSL Modem --- Switch --- WAP/Router
| (NAT)|
| |
Samba server (dude) +-- Win2000 PC 192.168.4.101 (Mum)
192.168.1.5 |
+-- WinXP PC 192.168.4.100 (Tosh)
Dude is configured as follows:
# Global parameters
[global]
workgroup = HOME
server string = Samba Server
guest account = ftp
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
os level = 255
domain master = Yes
dns proxy = No
wins support = Yes
ldap ssl = no
remote announce = 192.168.4.255 192.168.3.255
remote browse sync = 192.168.4.255 192.168.3.255
cups options = raw
name resolve order = wins,lmhosts,host,bcast
[homes]
comment = Home Directories
read only = No
browseable = yes
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[music]
comment = Music files used by slimserver
path = /home/slimserver/music
write list = robin
read only = No
[test]
comment = Test share
path = /home/test
write list = robin
read only = No
If I connect the WinXP machine to the 192.168.1.x network I can connect
to and use the shares on the samba server.
However, when connected to the 192.168.4.x network I am unable to browse
or connect to the shares.
If I give the full domain name of the samba server (dude.robinbowes.com)
I can see the shares, e.g.:
C:\Documents and Settings\robin>net view \\dude.robinbowes.com
Shared resources at \\dude.robinbowes.com
Samba Server
Share name Type Used as Comment
-------------------------------------------------------------------------------
homes Disk Home Directories
music Disk Music files used by slimserver
robin Disk Home Directories
test Disk Test share
The command completed successfully.
Is there some way to enable browsing across the NAT-enable router?
Thanks,
R.
--
http://robinbowes.com
More information about the samba
mailing list