[Samba] Nested NAT'd subnet

Bob Sully rcs at malibyte.net
Wed Sep 4 14:57:00 GMT 2002

Hey all, quick question:

I have a server running Samba 2.2.3a which has two NAT'd private domains 
behind it ( and  The .88.0 subdomain has 
a wireless AP/router on it ( which also does NAT (the 
wireless machines are on  The router has the IP of the 
second internal NIC as its gateway; the wireless machines have the 
"internal" IP of the router as theirs.

The subnet sees the Samba server with no problems; all of 
the functions I need work (print, file server, etc.).  However, I can't 
see the Samba server on the wireless machines.  Firewall rules have 
been written to permit this, so it's not an iptables issue, either.
I can get out onto the 'net, so all of the forwarding works.

Here are the relevant lines from smb.conf:

    hosts allow = 192.168.1. 192.168.88. 127.
    interfaces =
    remote announce =
    remote browse sync =

Any help would be appreciated...I'm figuring it's likely a a network 
configuration problem rather than anything to do with Samba, but if 
I've missed anything in smb.conf, I'd appreciate it if someone could 
clue me in.

TIA - Bob

Bob Sully - Simi Valley, California, USA

"The weather is here - wish you were beautiful." - J. Buffett

More information about the samba mailing list