|
|
Franco Spinelli wrote:
I want to connect 2 LAN, one at office and one at home, both connected to
Internet by a modem-router (Zyxel).
My layout is:
At office:
win pc1 ---->
win pc2 ----> switch
linux1 ----->
linux2 -----> modem-router ----> internet by xDSL
All machine have a private IP (192.168.0.x), linux2 and mode-router have also
public static IP - linux2 have a default route to modem-router for internet
connection. So now connections go from linux2 to modem-router and from here to
internet. No NAT on modem-router or on linux2.
Do you mean that win1, win2 and linux1 is not connected to the internet
at all ?
Linux2 is my public server and
the machine on wich I need to install OpenVpn
You just need to forward 1 public port in the modem-router to linux2.
At home:
win pc1 ---->
win pc2 ----> hub ---> modem-router ----> internet by ADSL
linux1 ----->
All machine have a private IP (192.168.0.x), modem-router have a public dynamic
IP - All machine have a default route to modem-router and modem-router is able
to NAT private IP
Linux1 is the machine on wich I need to install OpenVpn.
The public dynamic IP means, that it will be difficult to initiate the
tunnel from work, unless linux1 runs a dyndns-service or yopu keep the
tunnel alive all the time with ping-commands.
Is a schema as shown compatible with OpenVpn ?
Is is a disadvantage, that you use the same private subnet 192.168.0.x
both at work and at home. That will make it difficult (maybe impossible)
to reach other PC's than the OpenVPN-server on the other lan.
--
mvh
Morten Christensen
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users
|