[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Web openvpn.net

[Openvpn-users] Routing problem

  • Subject: [Openvpn-users] Routing problem
  • From: "Lars Skjærlund" <lars@xxxxxxxxxxxxx>
  • Date: Fri, 01 Feb 2008 12:44:30 +0100

Hi list,

I'm new to OpenVPN and stuck with a routing problem - a trivial
problem, I hope.

I'm trying to connect two Linux computers: <->

The first is using a registered IP, the second a private IP. I've
created a tunnel using more or less default values, with the registered
IP as the server and the private IP as the client. The server has the IP, and the client I can ping both these adresses.

Unfortunately, I must run an application that will only connect to the
servers' primary addresses: It's a database application, and when the
two instances need to communicate, it will connect from to or vice versa.

Because of this, I've setup an extra route pointing to the primary
interface on the other end, ie. the server has a route directing through tun0, and the client routes
through it's tun0. When the tunnel comes up, routing tables in both ends
are updated correctly and I've enabled packet forwarding.

Still, though, it doesn't work: Using tcpdump, when I ping an IP, I can
see echo request packets entering tun0, but they are never received on
the other end. The behaviour is identical in both ends.

What am I missing?


Lars Skjærlund
Skovengen 111
2980 Kokkedal
Tel.: +45 70 25 88 10

Openvpn-users mailing list