LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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, 12: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, 09: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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:20 AM.

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
Open Source Consulting | Domain Registration