LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   OpenVPN (https://www.linuxquestions.org/questions/linux-networking-3/openvpn-113102/)

dunmarie 11-06-2003 12:46 PM

OpenVPN
 
Hi,
I need some help with OpenVPN. :D

I do have one VPN running with the following details:
Subnet 1 = 192.xxx.xx.0 VPN IP = 10.x.x.x
Subnet 2 = 10.xx.xxx.0 VPN IP = 10.x.x.x

Now I want to setup a second and third VPN for laptops going out of the office.
The main idea is not to have to change your IP while out of the office.

Now, setting up the VPN is not the difficult part. Doing the routing is though.
The question thus is, how do you setup the routing for the following: (fake ip's used)
Laptop = 10.5.0.15
VPN IP on Laptop = 10.6.0.2
VPN IP on network = 10.6.0.1
Network = 10.5.0.xxx

The VPN server is running RH 9 and the Laptop is using Windows.
Since my first VPN is running "tun" I can't use "tap" in this instance.
Refer to http://openvpn.sourceforge.net/trouble.html

So, the tunnel is there, the ping goes from one VPN IP to the other but not to the other side.

Anybody that can help me?

Thanks.
:scratch:

fzzy 03-31-2004 09:28 AM

tap
 
"Note that "dev tun" and "dev tap" CANNOT be mixed
on either side of the connection. Use one or the other consistently."

this doen't mean you can't have a tap tunnel for windows and a tun for the rest. the rest is all routing.

linux-server1 [tun0] <--> [tun0] linux-client
|
<route here>
|
linux-server1 [tap0] <--> [tap0] windows-client


All times are GMT -5. The time now is 11:50 AM.