wireguard: add IP on road warrior interface wg0

Choose one IP from client pool and add it to road warrior interface
wg0 so road warrior VPN client could reach firewall through the VPN

Signed-off-by: Vincent Li <vincent.mc.li@gmail.com>
This commit is contained in:
Vincent Li
2025-07-20 23:40:09 +00:00
parent ec74268fa7
commit c7e72c51bf
5 changed files with 45 additions and 4 deletions

View File

@@ -3125,6 +3125,8 @@
'week-graph' => 'Week',
'weekly firewallhits' => 'weekly firewallhits',
'weeks' => 'Weeks',
'wg' => 'WireGuard',
'wg address' => 'Address',
'wg client configuration file' => 'WireGuard Client Configuration File',
'wg client pool' => 'Client Pool',
'wg create host-to-net peer' => 'Create A New Host-To-Net Peer',
@@ -3149,6 +3151,7 @@
'wg invalid psk' => 'Invalid pre-shared key',
'wg invalid public key' => 'Invalid public key',
'wg invalid remote subnet' => 'Invalid remote subnet',
'wg invalid wg0 address' => 'Invalid wg0 IP',
'wg keepalive interval' => 'Keepalive Interval',
'wg leave empty to automatically select' => 'Leave empty to automatically select',
'wg missing allowed ips' => 'Missing AllowedIPs',

View File

@@ -3072,6 +3072,7 @@
'weekly firewallhits' => '防火墙命中(每周)',
'weeks' => '周',
'wg' => 'WireGuard',
'wg address' => 'IP地址',
'wg client configuration file' => 'WireGuard客户端配置文件',
'wg client pool' => '客户端地址池',
'wg create host-to-net peer' => '创建新的主机对网络节点',
@@ -3096,6 +3097,7 @@
'wg invalid psk' => '无效的预共享密钥',
'wg invalid public key' => '无效的公钥',
'wg invalid remote subnet' => '无效的远程子网',
'wg invalid wg0 address' => '无效的 wg0 IP 地址',
'wg keepalive interval' => 'Keepalive间隔',
'wg leave empty to automatically select' => '留空以自动选择',
'wg missing allowed ips' => '缺少AllowedIPs',