Project

General

Profile

Download (14.9 KB) Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
11fd7da7 02/12/2021 01:50 PM Jim Pingle

Fix WireGuard add/next name behavior. Fixes #11407

  • No need to set index when creating a new entry
  • WireGuard interface name label was assuming array index=wg if name
    which was incorrect
21c2bb34 02/04/2021 06:13 PM Renato Botelho

Remove what I suspect is a debug leftover

f32e1438 01/29/2021 06:54 PM Jim Pingle

Add brackets around IPv6 endpoint address. Issue #11338

0c68239a 01/27/2021 05:06 PM Jim Pingle

Fix WireGuard interface name assignment. Fixes #11323

Only set the name when it's empty/unset (e.g. when first created),
automatically determine the next available wg interface number.

4fdcc82b 01/27/2021 04:22 PM Jim Pingle

WireGuard: Always derive public key. Issue #11322

If the user enters a different private key, using the supplied public
key would lead to a mismatch. So always derive the public key when saving.

2ccdb454 01/27/2021 04:11 PM Jim Pingle

WireGuard: Make pubkey read only, populate automatically. Fixes #11322

While here, add a link to copy the public key to the clipboard.

0a0ef335 01/26/2021 02:36 PM Jim Pingle

Improve WireGuard port validation. Fixes #11311

ed837d48 01/25/2021 09:05 PM Jim Pingle

Attempt to use peer wg address if possible for gateway. Implements #11300

7fe0979b 01/25/2021 03:28 PM Jim Pingle

Rework WireGuard tonatsubnets/unbound ACL entries. Fixes #11304

2924fc26 01/25/2021 02:14 PM Jim Pingle

Init var before use. Fixes #11307

f25efb4b 01/25/2021 01:41 PM Steve Beaver

Allowe peer port < 512

94230d38 01/25/2021 01:40 PM Steve Beaver

Allowe listen port < 512

df799f2c 01/22/2021 03:24 PM Jim Pingle

Assume default WG port if empty. Fixes #11286

f50c6543 01/21/2021 07:55 PM Jim Pingle

WireGuard assignment/disable behavior improvements. NG 5518

  • Do not allow a WireGuard instance to be removed while assigned
  • Do not allow a WireGuard instance to be disabled while assigned
  • Destroy the WireGuard interface when disabled
8e48b2e2 01/20/2021 08:27 PM Jim Pingle

Add OS routes using WireGuard Peer AllowedIPs. Part of NG 5437

45ae5c55 01/20/2021 07:50 PM Jim Pingle

Remove WireGuard peernwks field which is not needed. Part of NG 5437

6e23ca79 01/20/2021 07:43 PM Jim Pingle

Fix some bad WireGuard capitalization

236f8ecc 01/20/2021 07:39 PM Jim Pingle

Automatic WireGuard interface gateways. Part of NG 5437

ef0b6170 01/19/2021 08:05 PM Renato Botelho

Fix copyright notices

b386d073 01/19/2021 08:05 PM Renato Botelho

Remove commented out code

1566a360 01/19/2021 08:05 PM Renato Botelho

Spell WireGuard properly

c3acf286 01/19/2021 02:35 PM Steve Beaver

Fixed #5486 by making peer endpoint and port optional

422f8a04 01/19/2021 02:35 PM Steve Beaver

Added new Wireguard config fields peernwks and peerwgaddr per #5437

282d8ee7 01/19/2021 02:35 PM Renato Botelho

wg: Configure static routes

When configuring a wg tunnel, update static routes associated with that
interface

d1ac0394 01/19/2021 02:35 PM Renato Botelho

Update copyright year

39a615f0 01/19/2021 02:35 PM Renato Botelho

Ticket #5186: Re-create config files during boot

580c7a4f 01/19/2021 02:35 PM Renato Botelho

Ticket #5186: Implement is_wg_enabled()

07aa50fd 01/19/2021 02:35 PM Renato Botelho

Ticket #5186: Fix comment

aea837f8 01/19/2021 02:35 PM Steve Beaver

#5186 - Revised peer configuration to use 'wgpeer' rather than 'peer'

a0669cfb 01/19/2021 02:35 PM Renato Botelho

wg: Do not check assigned interface (Ticket #5186)

When saving changes on wireguard, do not check address conflict on
interface assigned to that tunnel, otherwise, it will not allow user to
save any modification

97e391de 01/19/2021 02:35 PM Renato Botelho

wg: Use a more generic function to detect IP address

835e6895 01/19/2021 02:35 PM Renato Botelho

wg: Remove extra spaces

50bd4119 01/19/2021 02:35 PM Renato Botelho

wg: isset() just before is_array() is redundant

d763c52b 01/19/2021 02:35 PM Renato Botelho

wg: unlink_if_exists() can deal with glob matches

e340cb98 01/19/2021 02:35 PM Renato Botelho

wg: Style fixes

cfc9bcc7 01/19/2021 02:35 PM Renato Botelho

wg: Fix gettext() calls

4e43d19d 01/19/2021 02:35 PM Renato Botelho

wg: Simplify logic

21e74d25 01/19/2021 02:35 PM Steve Beaver

Fix Wireguard tunnel save with zero peers

2b0b1f3b 01/19/2021 02:35 PM Steve Beaver

Completed revision of wg config edit fors

e773d8fe 01/19/2021 02:35 PM Steve Beaver

Added allowed ip validation

566facd9 01/19/2021 02:35 PM Steve Beaver

#5186 fixed validation issues as requested

a76f22d7 01/19/2021 02:35 PM Steve Beaver

#5186 - Provide 'generate PSK' butoon. Some fixes to validation

db784b1a 01/19/2021 02:35 PM Steve Beaver

#5186 Added keepalive units, clarified Address text, added incremented port placeholder, minor validation changes

065847a4 01/19/2021 02:35 PM Steve Beaver

Added user input validation for Wireguard config. Marked certain values as required

f319adf4 01/19/2021 02:35 PM Luiz Souza

Add the tunnel address to WG interface.

Wireguard support is now functional.

4103ddd6 01/19/2021 02:35 PM Luiz Souza

Fix the wireguard configuration file, start tunnels at boot.

Add the Endpoint port, fix the configuration permissions.

Remove the WG tunnel when a tunnel is removed.

1698954c 01/19/2021 02:35 PM Steve Beaver

Added support for wireguard pre-shared keys

b8abb69c 01/19/2021 02:35 PM Steve Beaver

Optionally generate keys in JSON

7d18cbb6 01/19/2021 02:35 PM Steve Beaver

Added ability to generate a new public/private key pair for hte interface. Public key is displayed on the tunnel edit form

0f674c32 01/19/2021 02:35 PM Luiz Souza

Fixes the saving of peers settings in GUI.

The previous commits had a few mistakes which were fixed in here.

Fixes the WG configuration path and creation.

The GUI is now working as expected to add, edit and save the WG tunnel entries.

5f4b92c2 01/19/2021 02:35 PM Luiz Souza

Rename the Wireguard peers entries in configuration XML to 'peer'.

'peer' is already properly handled by the XML routines as a list entry, which
is not the case of 'peers'.

This fixes the saving of peers settings in GUI.

f8fac290 01/19/2021 02:35 PM Luiz Souza

Fix the file name in header.

Remove the mention from m0n0wall, this code was created for pfSense.

c5070198 01/19/2021 02:35 PM Steve Beaver

Moved wg.inc to proper location