[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 (192.168.1.0/24 and 192.168.88.0/24).  The .88.0 subdomain has 
a wireless AP/router on it (192.168.88.254) which also does NAT (the 
wireless machines are on 192.168.92.0/24).  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 192.168.1.0 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 = 192.168.1.1/24 192.168.88.1/24
    remote announce = 192.168.1.255 192.168.88.255
    remote browse sync = 192.168.1.255 192.168.88.255

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
http://www.malibyte.net

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






More information about the samba mailing list