On 2017-10-10, Daniel Boyd <danieljb...@icloud.com> wrote: > I’ve just started a job where I will be working from home a bunch, so I would > like to configure my home router as an ipsec/l2tp client and to push the > routes from my work network to all computers on my home network. i.e. a > site-to-site VPN. > > I have found a bunch of documentation for configuring OpenBSD as a ipsec/l2tp > server, but not as much as a client. > > I assume I’ll need the xl2tpd package… When I connect a Mac, iOS device, or > PC, the VPN requires a username, password and a secret. > > Can anyone point me in the direction of some documentation to get started? > > Thanks! > > Daniel Boyd >
Yes you'll need xl2tpd and pppd(8) for ipsec/l2tp client. Be warned, it doesn't work particularly well. If the other side is under your control, use pretty much anything else instead. Plain IKEv1 (isakmpd/ipsec.conf), IKEv2 (iked/iked.conf), OpenVPN, or openconnect (with ocserv or cisco anyconnect on the server side) - all will work more reliably and be easier to configure than L2TP+IPsec client on OpenBSD.