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

temporaneo1234_at_yahoo.it
Date: 04/29/05


Date: 29 Apr 2005 04:27:08 -0700

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):
[code]
192.168.1.1 xxx.xxx.xxx.xxx : PSK "password"
WANIPpubblic xxx.xxx.xxx.xxx : PSK "password"
[/code]

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

[code]
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
[/code]


Quantcast