Hi all
I'm trying to set up a VPN connection (right gateway uses adsl pppoe
connection with Freeswann and Dynamic IP)
It seems to work fine when I put the actual IP adress the machine gets at
connection as right parameter in ipsec.conf (right=a.b.c.d)
If I change it to right=%defaultroute, I get the following when issuing the
command
ipsec auto –add conn_name
ipsec_auto: fatal error in "conn_name": %defaultroute requested but not
known
What can I do to have my connection work ???
Thanks a lot in advance for your answers.
Details of my config follows :
route –n gives the following :
Table de routage IP du noyau
Destination Passerelle Genmask Indic Metric Ref Use Iface
a.b.c.1 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
a.b.c.1 0.0.0.0 255.255.255.255 UH 0 0 0 ipsec0
192.168.21.0 0.0.0.0 255.255.255.0 U 0 0 0
eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 a.b.c.1 0.0.0.0 UG 0 0 0 ppp0
ipsec.conf is
config setup
interfaces="ipsec0=ppp0"
klipsdebug=none
plutodebug=none
plutoload=%search
plutostart=%search
uniqueids=yes
conn %default
keyingtries=0
disablearrivalcheck=no
authby=rsasig
conn conn_name
# Left security gateway, subnet behind it, next hop toward right.
leftid=@leftid
leftrsasigkey=0sAQN…
left=e.f.g.h
leftsubnet=192.168.2.98/32
# Right security gateway, subnet behind it, next hop toward left.
rightid=@rightid
# RSA 2048 bits @rightid Fri Apr 26 15:41:15 2002
rightrsasigkey=0sAQO…
right=%defaultroute
rightsubnet=192.168.21.0/24
_______________________________________________
Users mailing list
Users_at_lists.freeswan.org
http://lists.freeswan.org/mailman/listinfo/users
This archive was generated by hypermail 2.1.3 : Mon Jul 29 2002 - 05:19:56 CEST