Hi again Fred!
How does your ipsec.conf look like anyway?
Seems to me that FreeS/wan is unable to find the ip-addr. on ppp0 in your configuration. When you configure your side as roadwarrior (i.e. dyn ip-addr.), you should set left=%any or right=%any, whatever is your side. If your defaultroute is set to ppp0 and the left or right is correct, you'll get a match of the ip-addr. If not, you'll get the errormessage bellow.
Original Message dated 27.11.02, 16:43:18
Author: "Fred de Klein" <firstname.lastname@example.org>
Re: RE: [Devil-Linux-discuss] ipsec connection problem:
thanks for that.
When I leave the interfaces=%defaultroute it automatically grabs the eth0 interface, which is connected to the LAN, so it will never hook up with the modem then.
I also tried the restart Heiko advised, however got the same result unfortunately. bummer
From: email@example.com [mailto:firstname.lastname@example.org]On Behalf Of Bjørn Rasmussen
Sent: 27 November 2002 15:23
Subject: Re: [Devil-Linux-discuss] ipsec connection problem
Hi Fred! From the FreeS/wan docs: ... we have no ipsecN interface for either end of this connection Each Pluto needs to know whether it is running on the machine which the connection description calls left or on right . It figures that out by: looking at the interfaces given in interfaces= lines in the config setup section discovering the IP addresses for those interfaces searching for a match between those addresses and the ones given in left= or right= lines. Normally a match is found. Then Pluto knows where it is and can set up other things (for example, if it is left) using parameters such as leftsubnet and leftnexthop, and sending its outgoing packets to right. If no match is found, it emits the above error message. Also see the man pages for ipsec.conf: The usual setting is interfaces=%defaultroute (lets FreeS/wan do it for you autmatically). >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 27.11.02, 13:09:22, "Fred de Klein" <email@example.com> wrote regarding [Devil-Linux-discuss] ipsec connection problem: > Hi there, > had the following problem with my roadwarrior configuration that it tried to > connect via my eth0 connection to the gateway. > Have adjusted this in the ipsec.conf to read that ipsec0=ppp0, which it > seemed to have accepted. > However, when I try to get the tunnel to the gateway it comes up with the > following issue: > "022 we have no ipsecN interface for either end of this connection" > has anyone seen/experienced this before, and more important, does anyone > find a solution??? > Your help much appreciated. > Regards > Fred de Klein > Io Systems > * 01234 756693 > * 07904 049934 (M) > __________________________ > Privacy and Confidentiality Notice > This message (including any attachments) is strictly confidential and > intended solely for the person or organisation to which it is addressed. It > may contain privileged and confidential information and if you are not an > intended recipient, you must not copy, distribute or take any action in > reliance on it. If you have received this message in error, please notify us > as soon as possible and delete it and any attached files from your system. > The contents of this transmission are the view of the sender and do not > necessarily reflect those of Io Systems Limited. Io Systems Limited has > taken all reasonable precautions to ensure that any attachments to this > email do not carry software viruses. However we cannot accept any > responsibility for any damage sustained as a result of software viruses and > would advise you to carry out you own virus checks before opening any > attachment. > ------------------------------------------------------- > This SF.net email is sponsored by: Get the new Palm Tungsten T > handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en > _______________________________________________ > Devil-linux-discuss mailing list > Devilfirstname.lastname@example.org > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss __________________________________________________________________________ Bjørn Rasmussen Tel: +47 38 04 09 55, +47 911 27367 Bjørn Rasmussen Nettverkstjenester E-mail: email@example.com Moneheia 47, Web: http://wind.prohosting.com/bjoernr Kristiansand, 4656 Org.nr. 981 646 770 MVA RHCE: http://www.redhat.com/rhce/rhce807001641802868.html MCSE, MCP, MCP+I: NT 4.0