Commit graph

22 commits

Author SHA1 Message Date
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
Khanh Ngo
ea55b36a6f
Update readme and code comments (#272) 2022-12-13 22:44:11 +01:00
itsvit-vlasov-y
a80741e748
Added checkbox FwMark in QRCode generation (#260) 2022-12-02 23:40:29 +01:00
Marcus Wichelmann
2c2db61158
Add support for password hashes as an optional alternative to plaintext passwords (#216) 2022-09-30 10:24:54 +02:00
Fin Christensen
569eaaee37
Add environment variables for configuration (#189) 2022-04-26 20:35:35 +02:00
fr123k
a5fdb1ad1d
Add ForwardMark to global settings (#173) 2022-04-24 09:44:33 +02:00
ned3y2k
0224e1f137
Implements Wake On Lan and management features (#164) 2022-03-20 10:03:27 +01:00
brittondodd
341f9b6a42
Allow passing extra allowed subnets (#114) 2022-01-29 08:45:00 +01:00
Gerwim
2aa042b919
Added UseServerDNS option for clients who do not have to use the DNS specified in the server configuration. (#79) 2021-08-05 19:58:01 +02:00
Khanh Ngo
9dca2b7361
Login disable (#35)
Add ability to disable authentication
2020-10-09 23:33:29 +02:00
Jaryl Chng
b0ed08f19d
added Post Up and Post Down configuration to server interface (#28) 2020-09-13 21:47:01 +02:00
Khanh Ngo
9617425033
Add preshared key in wireguard config (#15) 2020-05-28 09:25:21 +07:00
Khanh Ngo
6f0d7bf69f
Format code 2020-04-25 13:07:05 +07:00
Khanh Ngo
a5fbb7b58a
Add authentication 2020-04-24 18:14:54 +07:00
Khanh Ngo
7c3cac8084
Add Apply Config button to save wireguard config file 2020-04-23 09:29:44 +07:00
Khanh Ngo
7aec01deed
Set correct active class on the navigation menu 2020-04-20 17:32:49 +07:00
Khanh Ngo
85e466698f
Get Endpoint Address for suggestion form 2020-04-20 16:50:50 +07:00
Khanh Ngo
e99a5ba92b
Add global setting form 2020-04-20 09:54:41 +07:00
Khanh Ngo
d5ff0cb704
Add wireguard server key pair generation 2020-04-20 00:15:25 +07:00
Khanh Ngo
febf075f8d
Add Server config page
Handle server ip addresses input and store
TODO: Key pair form
2020-04-19 15:50:59 +07:00
Khanh Ngo
c4e846ccd4
Generate QR code 2020-04-18 21:42:53 +07:00
Khanh Ngo
6cb8527c35 Initial commit 2020-04-18 16:17:49 +07:00