Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 23620

General • Request for WireGuard Peers, configurable Client ListenPort and AllowedIPs

$
0
0
Hi. I'm using the wireguard feature in CCR2004-1G-12S+2XS. (v7.18.1)

Everything work great and nicely functions but some inconvenient things are presence here.

After adding [WireGuard] - [Peers], I cannot use the "Client Config" and "Client QR" in the system as-is.
I have to modify it manually before give it to the user. To keep the modified information, I have to save it into the "Comment" of the [Peers] item.

At below I will describe the ugly things.

- Cannot drag with mouse to the content of "Client Config" window
- So need to Right-Click with mouse and click on "Select All" but nothing is indicating the content is selected, and again Right-Click with mouse and click on "Copy" will actually copy all content of it to the clipboard
- (My Request) simply selectable with the mouse drag, showing the selected area. Then the people will use it naturally. (copy with Ctrl+C or Copy menu or anything)

Let talk with the sample below
Code:
[Interface]ListenPort = 51820       # always presence as default to 51820 (not wanted! need to use the any port! make this to configurable value)PrivateKey = ...Address = ...[Peer]PublicKey = ...AllowedIPs = 0.0.0.0/0, ::/0        # always presence as default to 0.0.0.0/0 (need to be configurable! only some subnets use the VPN)Endpoint = vpn.my.com:61000PresharedKey = ...
After copy the content (like above),
- I have to erase "ListenPort" since this is not wanted.
- (My Request) I want this to be configurable, with empty possible
- I have to edit "AllowedIPs" since I want to use the VPN with some subnet.
- (My Request) I want this to be configurable

It will be nice if "ListenPort" and "AllowedIPs" is configurable and saved at [Peers], so I can use the QR as-is

FYI, I place the capture of the current configurable things.
- I think there should be "Client ListenPort" and "Client AllowedIPs"
peers.png

Statistics: Posted by ihmrt — Mon Mar 10, 2025 7:11 am



Viewing all articles
Browse latest Browse all 23620

Latest Images

Trending Articles



Latest Images