I was following the Jacco Manual (Highly recommended)
I was almost right, but, i was having the next error when i tried to
connect the client, one and another time:
route-host output: /usr/
lib/ipsec/_updown: doroute `ip route add 148.221.120.61/32 via
148.221.120.61 dev ipsec0 ' failed (RTNETLINK
answers: Network is unreachable)
(My Platform is: Redhat 8 kernel 2.4.20_28.8
openswan-utils-2.1.5-1.0.rh8.dag.i386.rpm
kernel-module-openswan-2.4.20-28.8-2.1.5-1.0.rh8.dag.i686.rpm
)
Solution:
I Have to set the leftnexthop parameter on ipsec.conf to the ptp
address of my isp (I get this address from ipconfig ppp0) and restart
the ipsec service, connect again the cliente, then the VPN begin to
work.
I have to comment that my internal network is:
Internet - DSL Bridge - Switch - Linux ipsec server
Francisco.
|