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

Re: [Openvpn-users] MULTI: bad source address from client


  • Subject: Re: [Openvpn-users] MULTI: bad source address from client
  • From: "Aaron P. Martinez" <ml@xxxxxxxxxxxxxx>
  • Date: Mon, 31 Jan 2005 21:18:39 -0600

On Sun, 2005-01-30 at 20:42, Mark Hellman wrote:
> I installed OpenVPN 2.0_rc6-1 on a client and a server (both Linux). I have
> used the sample keys and sample config files (making only the small changes
> necessary to make it work).
> 
> The connection is successfully established, according to the log files on
> both sides and I can ping the server on 10.8.0.1. Since I have enabled push
> "redirect-gateway", 

This is not why you can ping 10.8.0.1, this is set up by the
client/server exchange is you have "server x.x.x.x  255.x.x.x" on the
server and "client" on the client.

> the default gateway on the client is changed as
> expected. The problem is that I cannot reach Internet sites through the
> tunnel.

It looks like the EXPERIMENTAL redirect-gateway has set the default
route for your eth interface as well (which may be what you wanted).  it
looks like your server is set of for p-t-p mode.'

Which sample configs, and can you post them?

>  On the server logs, the following messages keeps showing:
> 
> Mon Jan 31 02:28:15 2005 us=545288 Test-Client/217.129.99.175:62325 MULTI:
> bad source address from client [192.168.0.188], packet dropped
> 
> If I am understanding this correctly, the packets are reaching the server
> with a source address 192.168.0.188 (the client local address) when it
> should be something like 10.8.0.6 (the client's tunnel endpoint address).
> If so, how can this happen?
> By the way, /proc/sys/net/ipv4/ip_forward on the server is set to 1.
> 
> 


Aaron Martinez


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