LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 10-08-2009, 12:00 PM   #1
Franxez
LQ Newbie
 
Registered: Feb 2009
Posts: 19

Rep: Reputation: 0
Vpn Routing


hey, i need help whit vpn routing

here is the thing

im conected on linux to a vpn

so

eth1 - 192.168.50.98 (lan 192.168.50.0)/24
tun0 - 192.168.100.0 /24

i have the fallowing
Destination Gateway Mask Int
92.198.46.70 192.168.50.1 255.255.255.255 eth1
192.168.100.0 None 255.255.255.0 tun0
10.0.0.0 None 255.255.0.0 eth0
169.254.0.0 None 255.255.0.0 eth1
Default Route 192.168.50.1 eth1

i dont cant get it to route, can some one helpme???
 
Old 10-08-2009, 12:17 PM   #2
Doculus
LQ Newbie
 
Registered: Oct 2009
Distribution: Gentoo
Posts: 29

Rep: Reputation: 17
The first what I can see that you do not have a proper route on eth1.
All these depends on how your distro handles ip addresses and routes, or did you set them up manually?
169.254.0.0 seem like an address you get when a dhcp server is not available.

Is your eth1 internet, via a router, and eth0 an other LAN connection?
Do you have your inet router on eth1, ip 192.168.50.1?
Who is 92.198.46.70?

Your routing table should be something like:

10.0.0.0 None 255.255.0.0 eth0
192.168.50.0 None 255.255.255.0 eth1
192.168.100.0 None 255.255.255.0 tun0
127.0.0.0 None 255.0.0.0 lo
Default Route 192.168.50.1 eth1
 
Old 10-08-2009, 12:33 PM   #3
Franxez
LQ Newbie
 
Registered: Feb 2009
Posts: 19

Original Poster
Rep: Reputation: 0
jeje, i was thinking of making 1 int fo internet and the other for the lan, but, for now y wanted to be able to route lan 192.168.50 fw 192.168.100
 
Old 10-08-2009, 02:17 PM   #4
Franxez
LQ Newbie
 
Registered: Feb 2009
Posts: 19

Original Poster
Rep: Reputation: 0
ill make it simple

i have a vpn..

vpn 192.168.100.0
my lan 192.168.50.0

i want that all the host on my lan can ping the vpn lan, pls need to do this im been in this for 4 h now, i used the statict routes on linux, but nothing.
 
Old 10-08-2009, 02:22 PM   #5
Doculus
LQ Newbie
 
Registered: Oct 2009
Distribution: Gentoo
Posts: 29

Rep: Reputation: 17
So fix the eth1 route first, perhaps manually.
Setup a routing table I suggested.

If you get it work, then it is an other question, how do you set up permanently.
This depends on your distro's way to configure network. I hope you can deal with that.
 
  


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
VPN Routing kevosurge Linux - Networking 2 08-17-2009 07:29 AM
OpenVPN routing (via one VPN to another) Robsco Linux - Networking 6 04-18-2009 03:16 AM
VPN routing Ipolit Linux - Networking 4 02-08-2007 01:58 AM
VPN routing Ipolit Linux - Networking 1 12-13-2006 10:54 AM
routing and VPN cboyd Linux - Networking 7 12-01-2004 02:02 AM


All times are GMT -5. The time now is 03:57 PM.

Main Menu
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