Skip to content

Commit a3e9bd4

Browse files
authored
Road warrior NAT reflection hint in readme
1 parent 3c16b89 commit a3e9bd4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

readme-vars.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,13 @@ app_setup_block: |
7676
## Client Mode
7777
Do not set the `PEERS` environment variable. Drop your client conf into the config folder as `/config/wg0.conf` and start the container.
7878
79+
## Road warriors, roaming and returning home
80+
If you plan to use Wireguard both remotely and locally, say on your mobile phone, you will need to consider routing. Most firewalls will not route ports forwarded on your WAN interface correctly to the LAN out of the box. This means that when you return home, even though you can see the Wireguard server, the return packets will probably get lost.
81+
82+
This is not a Wireguard specific issue and the two generally accepted solutions are NAT reflection (setting your edge router/firewall up in such a way as it translates internal packets correctly) or split horizon DNS (setting your internal DNS to return the private rather than public IP when connecting locally).
83+
84+
Both of these approaches have positives and negatives however their setup is out of scope for this document as everyone's network layout and equipment will be different.
85+
7986
# changelog
8087
changelogs:
8188
- { date: "28.04.20:", desc: "Add Buster/Stretch backports repos for Debian. Tested with OMV 5 and OMV 4 (on kernel 4.19.0-0.bpo.8-amd64)." }

0 commit comments

Comments
 (0)