From f82e353d802e8ea5c3806f70bbf54822be031cbe Mon Sep 17 00:00:00 2001 From: Logan Collins Date: Sat, 15 Apr 2017 22:03:27 -0500 Subject: [PATCH] Added information on LAN Passthrough - a common home usecase --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index d503f95b..9002b1b8 100644 --- a/README.md +++ b/README.md @@ -142,6 +142,17 @@ Set-VpnConnectionIPsecConfiguration -ConnectionName "Algo" -AuthenticationTransf 8. `sudo ipsec up `: start the ipsec tunnel 9. `sudo ipsec down `: shutdown the ipsec tunnel +## LAN Passthrough + +To enable your device to access other devices on the LAN, add the following to `/etc/ipsec.conf`, replacing `192.168.1.1/24` with whatever subnet your LAN uses: + + conn lan-passthrough + leftsubnet=192.168.1.1/24 + rightsubnet=192.168.1.1/24 + authby=never # No authentication necessary + type=pass # passthrough + auto=route # no need to ipsec up lan-passthrough - it will just work + ### Other Devices Depending on the platform, you may need one or multiple of the following files.