Update wireguard.md
This commit is contained in:
parent
45e81978c8
commit
92cd8c4188
@ -1,6 +1,9 @@
|
|||||||
set interfaces wireguard wg0 private-key /config/auth/privatekey
|
set interfaces wireguard wg0 private-key /config/auth/privatekey
|
||||||
|
|
||||||
set interfaces wireguard wg0 address 10.200.254.1/24
|
set interfaces wireguard wg0 address 10.200.254.1/24
|
||||||
|
|
||||||
set interfaces wireguard wg0 route-allowed-ips true
|
set interfaces wireguard wg0 route-allowed-ips true
|
||||||
|
|
||||||
set interfaces wireguard wg0 listen-port 51820
|
set interfaces wireguard wg0 listen-port 51820
|
||||||
set firewall name WAN_LOCAL rule 20 action accept
|
set firewall name WAN_LOCAL rule 20 action accept
|
||||||
set firewall name WAN_LOCAL rule 20 protocol udp
|
set firewall name WAN_LOCAL rule 20 protocol udp
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user