[Openswan Users] After connecting to the VPN server client default gateway is client's own IP Address

Paul Wouters paul at xelerance.com
Mon Jul 20 10:09:18 EDT 2009

On Mon, 20 Jul 2009, Janantha Marasinghe wrote:

> Thanks for the reply. My local IP is currently set to an IP that is
> not in the ip range pool and is not the private IP of the vpn server
> it self.
> In chap-secrets i have it in the following format
> username   *   password   *
> *   username   password    *

The last column needs to be the ip of the client, or a cidr notation
of possible ips from a pool that xl2tpd can pick from.


> Should I change the server '*' to the VPN server's public IP?
> Paul Wouters wrote:
>> On Mon, 20 Jul 2009, Janantha Marasinghe wrote:
>>> When I do a ipconfig /all on my Windows XP client why does the default
>>> gateway IP for the PPP interface same as the client IP assigned by the
>>> VPN server? Because of this I have routing issues.
>>> Any help in this is much appreciated.
>> Looks like a misconfiguration on the L2TP server? Check your "local ip"
>> setting in xl2tpd.conf and the assigned ip to your user in
>> /etc/ppp/chap-secrets
>> Paul

More information about the Users mailing list