Wilson A. Galafassi Jr. wrote:
Hello to all.

I have 2 server connected with openvpn.

ServerA (openvpn server)
eth0 (wan) eth1 (lan) 172.16.1.254
tap0 (vpn) 192.168.99.1


ServerB (openvpn client)
eth0 (wan) eth1 (lan) 172.16.2.254
tap0 (vpn) 192.168.99.2

i need a masq rule to Windows clients inside lan network of ServerB
(172.16.2.0) can access lan network to ServerA (172.16.1.0).

From ServerB i ping normaly the lan network of serverA.

You don't need any NAT hack -- you just need to add the proper routes on each of the gateways. See http://www.shorewall.net/OpenVPN.html and notice the 'route' entries in the OpenVPN configuration files.

-Tom
--
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to