LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Routing from OpenVPN server (https://www.linuxquestions.org/questions/linux-networking-3/routing-from-openvpn-server-478328/)

jjge 08-29-2006 01:48 AM

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.

SierraKilo 08-29-2006 09:34 AM

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. ;)


All times are GMT -5. The time now is 03:25 AM.