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 08-29-2006, 01:48 AM   #1
jjge
Member
 
Registered: Jun 2003
Location: Kalkar, Germany
Distribution: Slackware
Posts: 81

Rep: Reputation: 15
Routing from OpenVPN server


Hello, *

I have an OpenVPN connection which I want to use to work at home. Basically I want to be able to access any computer in the company network while I am at home.
I set up the server and it has the following route table:

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.2 * 255.255.255.255 UH 0 0 0 tun0
192.168.100.0 * 255.255.255.0 U 0 0 0 tun0
192.168.100.0 192.168.100.2 255.255.255.0 UG 0 0 0 tun0
122.100.0.0 * 255.255.0.0 U 0 0 0 eth0
default 122.100.10.2 0.0.0.0 UG 0 0 0 eth0

Note that the 122.100.x.y addresses are really internal to the network; I inherited this setup, and will change it later.

Now I can access the router machine, and any ports on it, from my client, but I am unable to get access to any other machine in the company network (any attempts simply time out). According to the route table, it should route out to eth0, which is right, but it does not seem to do so.
 
Old 08-29-2006, 09:34 AM   #2
SierraKilo
LQ Newbie
 
Registered: Jun 2004
Location: Germany
Distribution: RedHat 8,9 / FC1,2,3,5
Posts: 22

Rep: Reputation: 15
What subnet do you use in the company?
What subnet do you use at home?
What subnet do you use for your VPN?
Do you run OpenVPN routed or bridged?
Where is the VPN-Server?
Where is the VPN-Client?
Did you check your firewall rules?
Draw a picture of the network(s), that's much easier than writing.
 
  


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
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 02:20 AM
Openvpn client to client routing question soup Linux - Networking 0 02-16-2006 11:13 AM
[openvpn] routing at server side Zym0tiC Linux - Networking 2 10-06-2005 03:40 PM
openVPN and routing issues mdkelly069 Linux - Networking 0 07-12-2004 12:19 PM
OpenVPN Routing problem groetschel Linux - Networking 4 04-28-2004 04:07 AM


All times are GMT -5. The time now is 02:35 AM.

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