Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-06-2003, 12:46 PM   #1
Registered: Aug 2003
Location: Johannesburg, South Africa
Distribution: RedHat 9.0; SmoothWall Express
Posts: 43

Rep: Reputation: 15

I need some help with OpenVPN.

I do have one VPN running with the following details:
Subnet 1 = VPN IP = 10.x.x.x
Subnet 2 = 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 =
VPN IP on Laptop =
VPN IP on network =
Network =

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

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?

Old 03-31-2004, 09:28 AM   #2
Registered: May 2003
Posts: 31

Rep: Reputation: 15

"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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there a way to work with openVPN... eantoranz Ubuntu 1 06-22-2005 02:10 PM
OpenVPN disconnect allelopath Linux - Networking 2 02-07-2005 10:46 PM
OpenVPN - requirements? Echo Kilo Linux - Networking 1 12-20-2004 08:10 AM
OpenVPN Voyager_MP Linux - Networking 0 07-09-2004 04:32 AM
OpenVPN dunmarie Linux - Software 1 10-13-2003 12:10 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration