Skip to content

Commit

Permalink
wireguard: incorrect syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
srividya0208 committed Dec 21, 2023
1 parent 8fe5bc5 commit d563ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/configuration/interfaces/wireguard.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ traffic.
set interfaces wireguard wg01 peer to-wg01 allowed-ips '192.168.1.0/24'
set interfaces wireguard wg01 peer to-wg01 address '192.0.2.2'
set interfaces wireguard wg01 peer to-wg01 port '51820'
set interfaces wireguard wg01 peer to-wg01 public-key 'EKY0dxRrSD98QHjfHOK13mZ5PJ7hnddRZt5woB3szyw='
set interfaces wireguard wg01 peer to-wg01 pubkey 'EKY0dxRrSD98QHjfHOK13mZ5PJ7hnddRZt5woB3szyw='
set interfaces wireguard wg01 port '51820'
set protocols static route 192.168.1.0/24 interface wg01
Expand Down

0 comments on commit d563ffa

Please sign in to comment.