Thanks Patrick, that solved Step 1. With your help was able to report this and able to get the doc updated: https://github.com/opnsense/docs/issues/553#event-12460614074
Now after step 3 (restarting WireGuard), I lose internet access on all my LAN devices. Someone was suggesting in a thread to checkmark "Disable routes" in the instance configuration. Is that a valid thing I should be doing? The documentation has no info on this.
EDIT:
Here is what the OPNsense config looks like:
Now after step 3 (restarting WireGuard), I lose internet access on all my LAN devices. Someone was suggesting in a thread to checkmark "Disable routes" in the instance configuration. Is that a valid thing I should be doing? The documentation has no info on this.
EDIT:
Here is what the OPNsense config looks like:
Code Select
$ awk -F'=' '/^/ { if ($1 ~ /Key/) print($1 "= <key>"); else print($0); }' </usr/local/etc/wireguard/wg0.conf
####################################################
# Interface settings, not used by `wg` #
# Only used for reference and detection of changes #
# in the configuration #
####################################################
# Address = 10.10.10.1/24
# DNS =
# MTU =
# disableroutes = 1
# gateway =
[Interface]
PrivateKey = <key>
ListenPort = 51820
[Peer]
# friendly_name = phone
PublicKey = <key>
AllowedIPs = 0.0.0.0/0