[Openswan Users] Problem connecting with a Linux client

Paul Wouters paul at xelerance.com
Tue Oct 19 14:00:33 EDT 2010


On Tue, 19 Oct 2010, Adrian Chapela wrote:

> /etc/ppp/chap-secrets
> # Secrets for authentication using CHAP
> # client    server    secret            IP addresses
> "test"        "*"    "test"    *

I've never tried putting "*" in the IP column, though it might be valid as a
client configuration.

> ip range = 10.10.10.2-10.10.10.254
> local ip = 10.10.10.1

> /etc/ppp/options.xl2tpd:
> ======================

> ms-dns 192.168.1.1
> ms-wins 192.168.1.1

These might not work, since your internal network is not 192.168.1.1 ?

> mtu 1410
> mru 1410
> defaultroute
> debug
> lock
> proxyarp
> connect-delay 5000
> ======================
> /etc/ppp/chap-secrets
> # Secrets for authentication using CHAP
> # client    server    secret            IP addresses
> "username" "*" "password" *
> "test"    "*"    "test" *

If this is the server, you want something like:

# client    server    secret            IP addresses
#"username" "*" "password" *		10.10.10.0/24
# test gets a dynamic ip from the pool
"test"    "*"    "test" *		10.10.10.0/24
# test2 gets a static ip
"test2"    "*"    "test2" *		10.10.10.111/32

Paul


More information about the Users mailing list