Dear all:
i have ceate wireguard interface in freebsd14.2 , and define it in /etc/rc.conf in below .
#create wireguard interface ..
cloned_interfaces="wg900"
ifconfig_wg900="192.168.200.9/24"
.now , my question is how to write my wireguard interface configure in /etc/rc.conf , or other location ? when system reboot, the wireguard will work again ?
below is wireguard interface configure file .
wg set wg900 listen-port 58000 private-key /etc/xxx_private.key peer xxxxxxxxxxxxxx allowed-ips 192.168.200.0/24
thanks.
i have ceate wireguard interface in freebsd14.2 , and define it in /etc/rc.conf in below .
#create wireguard interface ..
cloned_interfaces="wg900"
ifconfig_wg900="192.168.200.9/24"
.now , my question is how to write my wireguard interface configure in /etc/rc.conf , or other location ? when system reboot, the wireguard will work again ?
below is wireguard interface configure file .
wg set wg900 listen-port 58000 private-key /etc/xxx_private.key peer xxxxxxxxxxxxxx allowed-ips 192.168.200.0/24
thanks.