[Openswan Users] Problem connecting with a Linux client
Adrian Chapela
achapela.rexistros at gmail.com
Wed Oct 20 07:31:44 EDT 2010
En 19/10/10 20:00, Paul Wouters escribiu:
> 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
>
>
I have resolved the problem. You need to add to your client ppp options
the next:
noipdefault
Then the server will assign a ip from the pool.
Regards.
More information about the Users
mailing list