VPN doesn't go on a RFC1483 LLC routed, and goes on PPPoE

I have three sites: two has PPPoE connection, with DSL modem and variable IP one has RFC1483 LLC routed, with DSL router and fixed IP

each one has IPCOP v1.4.5, and every machine is directly pingable; (the router is configurated with DMZ to IPCOP machine)

The problem is that VPN goes on two PPPoE sites, and doesn't on the other site. Seeking the "ipsec barf" I can see this: Apr 10 23:57:56 ipcop pluto[3071]: packet from xxx.xxx.xxx.xxx:500: initial Main Mode message received on 192.168.1.1:500 but no connection has been authorized with policy=PSK

(xxx.xxx.xxx.xxx is public IP of the "remote" machine) (192.168.1.1 is the red IP of IPCOP)

The lan is so configurated: router: wan: fixed ip router: lan: 192.168.1.254 | ipcop: red: 192.168.1.1 ipcop: green: 192.168.130.254 | lan 192.168.130.0/255.255.255.0

The configuration are similar on the three IPCOP machine, so the only different is on RFC1483 sites. But what?

Code:

left=xxx.xxx.xxx.xxx leftnexthop=%defaultroute leftsubnet=192.168.130.0/255.255.255.0 right=yyy.yyy.yyy.yyy rightsubnet=192.168.101.0/255.255.255.0 rightnexthop=%defaultroute dpddelay=30 dpdtimeout=120 dpdaction=hold authby=secret auto=start

[/code]
Reply to
temporaneo1234
Loading thread data ...

I sovle an "old" problem about making up a VPN with two IPCOP machines,

where in one DSL is a PPPoE type, and another one is IPoA type.

The router used on IPoA must permit VPN-passthrough

Problems solves with a manual modify of files on IPCOP machines where is IPoA connection: /etc/ipsec.conf /etc/ipsec.secrets

/etc/ipsec.secrets: this file must referring to RED IPCOP interfaces (192.168.1.1) and to WAN address (xxx.xxx.xxx.xxx is the public IP addresso of other side of

VPN):

192.168.1.1 xxx.xxx.xxx.xxx : PSK "password" WANIPpubblic xxx.xxx.xxx.xxx : PSK "password"

/etc/ipsec.conf: follow this schema left= RED IP of IPCOP leftid= public WAN IP leftnexthop= IP address of gatway (router)

 conn NameConnection         left=192.168.1.1         leftid=WANIPpubblic         leftnexthop=192.168.1.254         leftsubnet=192.168.130.0/255.2­55.255.0         right=xxx.xxx.xxx.xxx         rightsubnet=192.168.100.0/255.255.255.0         rightnexthop=%defaultroute         dpddelay=30         dpdtimeout=120         dpdaction=hold         authby=secret          auto=start  
Reply to
temporaneo1234

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.