[Openswan Users] routing problem very strange

Jacco de Leeuw jacco2 at dds.nl
Wed Nov 23 11:54:06 CET 2005


Luca Ameli wrote:

> I have 2 tunnel , one tunnel is a winxp <---> linuxbox
>                   two tunnel is a linksys <---> linuxbox
> 
> The winxp is = . the winxp can ping all machine in the linuxbox gatway but 
> can use any services.

I don't understand this sentence.

> conn medimatica-winxp
>      authby=secret
>      disablearrivalcheck=no
>      pfs=no
>      left=81.174.16.70
>      leftprotoport=17/1701
>      right=%any
>      rightprotoport=17/1701
>      compress=yes
>      auto=add

compress=yes will not work because Windows does not support it.

> the ipsec.secrets is:
[snip]

You just posted your secrets file! Now iIt is not that secret anymore!
Be sure to change it before you connect your setup to the Internet again.

> the l2tpd.conf
> 
> [global]
> listen-addr = 81.174.16.70
> port = 1701
> 
> [lns default]
> ip range = 192.168.0.253-192.168.0.254
> local ip = 81.174.16.70

No, local ip must be a free IP address within your _internal_ network.
For example, local ip = 192.168.0.100

> what is the command for define the gatway for the network ?
> i try ms-gatway but don't work

There is no such command. The VPN connection is point-to-point so all
packets are sent to the peer. Unless you want split tunnelling, which
you can configure by unchecking "Use default gateway on remote network"
on the client. But this is not really recommended.

> ppp0 is a eth1 ip

Probably because 'local ip' was set incorrectly (see above).

Jacco
-- 
Jacco de Leeuw                         mailto:jacco2 at dds.nl
Zaandam, The Netherlands           http://www.jacco2.dds.nl
                     Mosquitos suck


More information about the Users mailing list