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

Re: [Openvpn-users] a stupid problem.


  • Subject: Re: [Openvpn-users] a stupid problem.
  • From: "Paul Hardin" <hill.hobbit@xxxxxxxxx>
  • Date: Mon, 5 Feb 2007 08:40:24 -0800

Mauro,

It appears you have conflicting routes on your home machine:
10.8.0.5    *          255.255.255.255 UH    0      0        0 tun0
192.168.100.1   *      255.255.255.255 UH    0      0        0 ppp0
10.8.0.1    10.8.0.5   255.255.255.255 UGH   0      0        0 tun0
172.16.10.0     10.8.0.5   255.255.255.0   UG    0      0    0 tun1
default     *          0.0.0.0         U     0      0        0 ppp0
Here it seems you have told your machine to look for 10.8.0.5 out of tun0. Then you turn around and tell it that the gateway for the 172.16.10.0 subnet is 10.8.0.5 (same as above) but is to be found out tun1.

This may not be "the problem" but it is a problem.

Good luck, and I hope this is "the problem". :-)

Paul H

On 2/5/07, Mauro Sanna <mauro.sanna@xxxxxxxxxxxxxxxxxx> wrote:
Il giorno gio, 01/02/2007 alle 11.46 -0800, Ed Wallig ha scritto:
> Question, are yuor routes actually getting pushed to your clietn and
> written into the routing table? Check the log file on your client for
> errors related to routes - I had a similar issue a while back where I
> had a bad IP-to-subnet mask mix and the client could connect but had
> no access. The logs revealed a routing error.
>
> Hope this helps...


These are vpn server routes:

10.8.0.2    *          255.255.255.255 UH    0      0        0 tun0
10.8.0.0     10.8.0.2   255.255.255.0   UG    0      0        0 tun0
localnet    *          255.255.255.0   U     0      0        0 eth0
default     172.16.10.1     0.0.0.0    UG    0      0        0 eth0

These are routes from my home pc:

10.8.0.5    *           255.255.255.255 UH    0      0        0 tun0
192.168.100.1   *      255.255.255.255 UH    0      0        0 ppp0
10.8.0.1    10.8.0.5   255.255.255.255 UGH   0      0        0 tun0
172.16.10.0     10.8.0.5   255.255.255.0   UG    0      0        0 tun1
default     *          0.0.0.0         U     0      0        0 ppp0
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users

-------------------------------------------------------------------------
Get stuff done quickly with pre-integrated technology to make your job easier.
_______________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users