Skip to content

Commit

Permalink
Merge pull request #1196 from srividya0208/minorw
Browse files Browse the repository at this point in the history
wireguard: incorrect syntax
  • Loading branch information
c-po committed Dec 22, 2023
2 parents 285bb81 + 3e346a4 commit db828e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/configuration/interfaces/wireguard.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,10 @@ 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
set protocols static interface-route 192.168.1.0/24 next-hop-interface wg01
*******************
Firewall Exceptions
Expand Down

0 comments on commit db828e3

Please sign in to comment.