L2TP IPSec VPN on EdgeOSFriday, Mar 11, 2016 · 200 words · approx 1 mins to read
I wrote recently about setting up an IPv6 tunnel on an EdgeRouterX. Another piece of networking configuration that I wanted to puzzle through on the same hardware was an inbound VPN, so that I can connect to my home network when I’m out and about. I don’t often need to do that, but when I do it’s a real pain that I can’t. I could setup an OpenVPN or similar server on my NAS, but the EdgeRouter has the functionality and it supports most common clients, including iOS, so why not.
It was so straightforward that the following gist probably explains it all if you read it line by line. It’s basically: enable VPN on the WAN, setup a user, setup a secret, setup DHCP for inbound connections, setup a route, done.