wireguard-ui/model
Paul 101b5564c2 Fix for fwmark
Evidently, wireguard's (use of) fwmark is not well understood. In short,
it determines which routing table to use for a tunnel's packets.

Adding a fwmark to a roadwarrior client config won't do anything to the
actual packets sent to a peer: Packets do not get marked.

A QRCode with `FwMark = ...` in it is invalid.

FwMark is now excluded from client configs (but is written to the
server config /etc/wireguard/wgX.conf).

Potential breaking change of `WGUI_FORWARD_MARK` to `WGUI_FIREWALL_MARK`

But this has the effect of making users eventually notice that it
probably does not do what they want/think.

See:
https://ro-che.info/articles/2021-02-27-linux-routing

https://casavant.org/2020/10/10/wireguard-fwmark.html

https://www.blinkenlights.ch/ccms/posts/source-based-routing/
2023-02-16 20:07:15 +01:00
..
client.go Added checkbox FwMark in QRCode generation (#260) 2022-12-02 23:40:29 +01:00
client_defaults.go Update readme and code comments (#272) 2022-12-13 22:44:11 +01:00
misc.go Login disable (#35) 2020-10-09 23:33:29 +02:00
server.go added Post Up and Post Down configuration to server interface (#28) 2020-09-13 21:47:01 +02:00
setting.go Fix for fwmark 2023-02-16 20:07:15 +01:00
user.go Add support for password hashes as an optional alternative to plaintext passwords (#216) 2022-09-30 10:24:54 +02:00
wake_on_lan_host.go Implements Wake On Lan and management features (#164) 2022-03-20 10:03:27 +01:00