[Openswan Users] openswan + l2tpd and pppd problem

Jacco de Leeuw jacco2 at dds.nl
Thu Apr 7 11:56:00 CEST 2005


Stanislav Nedelchev wrote:

> i have win Xp box witj 192.168.65.1 ip netmask 25.255.255.0 behind NAT
> i get 192.168.0.205 from l2tpd
> NAT box with real wip
> here is firewall with openswan +l2tpd an ppp
> witj real IP on eth0
> local l2tpd IP is 192.168.0.2
> one local IP on eth1 is 192.168.0.1
> and for third IP on et2 is 192.168.2.1
> i'm connecting without problem but i can only ping iP addresses
> starting with 192.168.0.1 to 255
> i cat't ping 192.168.2.1 and 192.168.2.2
> maybe some route problem ?

Have all your internal subnets been excluded in virtual_private? E.g.:
virtual_private=%v4:10.0.0.0/8,%v4:172.16.0.0/12,%v4:192.168.0.0/16,%v4:!192.168.2.0/24,%v4:!192.168.0.0/24

Or perhaps you are not doing IP forwarding?
cat /proc/sys/net/ipv4/ip_forward
(Please mind the security implications of this, though).

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


More information about the Users mailing list