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

Re: [Openvpn-users] Routing issue

  • Subject: Re: [Openvpn-users] Routing issue
  • From: Jon Bendtsen <jon.bendtsen@xxxxxxxxxx>
  • Date: Wed, 1 Dec 2004 19:38:44 +0100

Den 1. dec 2004, kl. 16:16, skrev Sam Dunham:

I've got OpenVPN 2 (latest beta) installed on a Fedora Core 3 box
(server) and a Windows XP box (client). Took me a while to get the SSL
stuff worked out, but I got it working. I can connect to the server and
ping the VPN address ( and ftp to that address, etc... What I
can't do is ping the internal address of the server ( Until
I can do that, I can't connect to Samba on the server. I've tried
manipulating the routes on the server and the client to no avail. Before
starting OpenVPN on the server, route returns no mention of the
subnet, which is correct. Upon starting OpenVPN, I get the following
relevent info returned from route:

Destination Gateway Genmask Flags Metric
Ref Use Iface * UH 0 0 0 tun0 pu.lic.ho.st UG 0 0 0 eth0

This seems wrong. Are you using bridging?

Now, if I'm not crazy or a complete idiot, what I need is for
to be on tun0 and I don't need to be routed at all on the
server side. At the very least, something ain't right. Assuming the
following, what route commands do I need to run on the server and client

Server internal network:
Server internal address:
Server external address: pub.lic.ho.st
Server VPN network:
Server VPN address:

Client VPN address:

Running routed, not bridged, btw.

Then your route tabled is fscked. add a route to the network through the tun device add a route to through eth0 and let /proc/sys/ipv4/ip_forward contain 1


____________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users