First things first:
house 1 has a dlink DI-524(router 1) router wich has WAN connected
house 2 has a dlink DWL-2100(bridge 1) running as AP-Client for router 1. It is connected to another DI-524 router(WAN) in house2
Router 2 is set up with a static WAN ip(192.168.0.5), using router 1 as a gateway to internet.
house 3 has a dlink DWL-2100(bridge 2) running as AP-Client for router 1. It is set up same as bridge 1, except it connects directly to a computer, instead of a router.(That will change soon tho..)
So basicly I have 2 LAN's (Soon 3)
house 1 LAN uses 192.168.0.1/255.255.255.0
house 2 LAN uses 192.168.10.1/255.255.255.0
hosue 3 uses same as house1, but will change once I get the last router(will be setup same as router 2, just with 192.168.100.1)
All routers is running a dhcp server, aswell as WLAN.
I have a linux server set up in house 2 running samba.
house 1 has modem connected to WAN on router, wich gives laptops WLAN access to internet(Restricted outgoing WAN ports for clients getting IP thru DHCP)
house 2 has 2+ laptops(windows), the server(linux), and an xbox(xbmc) all connected to router 2.
house 3 has 1 laptop(windows), but will get a htpc (linux\xbmc) soon.
Internet works fine on all - But I can not get clients in houses other than house 2 to connect to the samba server.
I need a way around this which will not involve putting all computers on the same network(The bridges break with more than one client, so need NAT)
The setup should work in all houses, or it should at the very least be easy to get it working when moving from house to house.
I tried portforwarding TCP+UDP 135-139 on router2 to the computer running samba, but that would not work in house3 - As I have read now is not possible because broadcasts does not get thru.
I would prefer a solution which would not involve using vpn or a ssh tunnel
But if it is the only way I could use a ssh tunnel - If that is the case, Any ideas of a good program for the job? Preferably one which can run and start in the background, without user needing to set it up every time.
My idea would be something like this:
Make 2 batch scripts modify the hosts file to point a hostname to the server ip, depending on which house you are in..
Like if you are in house 2, it would add server 192.168.10.123
or if in house 3, it would add server 192.168.0.5(WAN address of router 2)
or alternatively use 2 scripts to enable\disable vpn or tunnel
Any ideas or thoughts?
Thanks in advance.