Stacker Hush wrote:> Hello to all.
>
> I have my network with this configuration:
>
> LOCATION A:
> Firewall Box with shorewall:
> eth0/wan: 10.1.1.254 (connected to adsl)
> eth1/lan: 192.168.0.254
> tap0/openvpn: 192.168.99.1
>
> LOCATION B:
> Firewall Box with shorewall:
> eth0/wan: 10.1.1.254 (connected to adsl)
> eth1/lan: 192.168.1.254
> tap0/openvpn: 192.168.99.2
>
> The gateway of the newtorks is showrewall (lan IP).
>
> I need to create a masq rule/route rule to the both hosts inside the LAN in
> LOCATION A/B can give access to shared resources including samba shares.
>
> I have configured shorewall with zones/interfaces. My question is about Nat
> and Routing.
>
> Can someone help me with this setup?
http://www.shorewall.net/OPENVPN.html#Routed has all of the details of
this type of setup. Except that it uses a routed OpenVPN configuration
rather than a bridged one. Given the addresses you have chosen, you
should also be using a routed configuration since bridging is buying you
nothing.
The Samba shares require that you have a installed some sort of Windows
name resolution (Wins, AD, etc).
-Tom
--
Tom Eastep \ The ultimate result of shielding men from the
Shoreline, \ effects of folly is to fill the world with fools.
Washington, USA \ -Herbert Spencer
http://shorewall.net \________________________________________________
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer''s
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/