LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



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

Rep: Reputation: 15
OpenVPN


Hi,
I need some help with OpenVPN.

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.
 
Old 03-31-2004, 10:28 AM   #2
fzzy
Member
 
Registered: May 2003
Posts: 31

Rep: Reputation: 15
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
 
  


Reply


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 03:10 PM
OpenVPN disconnect allelopath Linux - Networking 2 02-07-2005 11:46 PM
OpenVPN - requirements? Echo Kilo Linux - Networking 1 12-20-2004 09:10 AM
OpenVPN Voyager_MP Linux - Networking 0 07-09-2004 05:32 AM
OpenVPN dunmarie Linux - Software 1 10-13-2003 01:10 PM


All times are GMT -5. The time now is 09:05 PM.

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