[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] VPN and NAT with a single interface?



All,
 
My apologies... I don't know what went wrong with my last message... Here it is again...
 
---
 
Hi all,
 
I tried to find information on the web on how to do this without any luck. I was wondering whether anyone in this list could help me.
 
Here's what I am trying to do.
 
I have a Windows Server 2003 machine X in my organisation's network with only one net interface (x.x.x.x). X is part of the active directory (AD) and although I have admin rights to it, I don't have admin rights to AD.
 
I can establish a VPN connection with X from my laptop Y. I use tun and the IP addresses (X: 192.168.0.1, Y: 192.168.0.2).
 
The gateway from laptop changes, depending on which network (outside my organisation) I connect to. Let's assume that the gateway address is g.g.g.g.
 
What I want to do is to make my laptop part of my organisation's network. It should have been easy but I must be doing something wrong. I can establish the OpenVPN connection without a problem and I can ping 192.168.0.1 from my laptop.
 
Then, I add the following routes on my laptop (running WindowsXP).
 
route add x.x.x.x mask 255.255.255.255 g.g.g.g
route add x.x.0.0 mask 255.255.0.0 192.168.0.2
 
Then, on my Windows Server 2003 machine, X, I want to hide the use of the 192.168.0.0 private network. Initially, I enabled Internet Connection Sharing, which does NAT, on the physical interface (the one with IP x.x.x.x) but that didn't work so I disabled it. Then, I tried to enable the Remote Access and Routing service and configure NAT manually but that doesn't work either. I must be doing something wrong at this stage, so any pointers to information about how I could do this would be greatly appreciated.
 
Many thanks in advance,
.savas.
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÓ+ùÞéX¬²š'²ŠÞu¼ÿH_çzѽæÚrCë¢Úðèzĺ·Šà{ùÞ¥§*.méêk¡Û¶+Þü:²+azZr¢ç+y«^mëmz·(uïÒDLq9QÿjwazZn²¥¥ƒ”ü)brAÞïá¶Úÿÿû(º·~Šà{ùÞ÷h«^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ:—§¾™ÿºÇ²f¢–)à–+-:—§¾™ÿºÇ³ùb²Ûÿ²‹«qçè®ÿëa¶ÚlÿÿåŠËlþÊ.­Ç¢¸þw­þX¬¶ÏåŠËbú?¢—§¾™ÿºÇ


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2003-12/msg00035.html on line 198

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2003-12/msg00035.html on line 198