From: Darren C. <da...@kd...> - 2003-06-18 15:15:12
|
James Taylor wrote: > Hi > > I can get the VPN working from a dial-up Win2K machine - > IPcop as per the VPN_How_To with *static* addresses but > when I try with right=%any and rightsubnet= for *dynamic* I > get the following message:- > > 19:49:25 ipsec_setup (/etc/ipsec.conf, line 8) section > header ^M has wrong number of fields (1) -- `restart' > aborted > By any chance did you edit the file in windows? There is a problem with line 8, and the ^M usually signifies that there is a carriage return added to the end of line (something windows needs, but linux has no use for) Edit the ipsec.conf on the Ipcop using the joe editor, it shows all of the carriage returns that windows adds (vi does not), remove them and then true running the vpn again. Darren |