# Configuration
```
[email protected]# show interfaces wireguard | strip-private
+wireguard wg02 {
+ address xxx.xxx.252.69/30
+ ip {
+ ospf {
+ cost 200
+ dead-interval 40
+ hello-interval 10
+ network point-to-point
+ priority 1
+ retransmit-interval 5
+ transmit-delay 5
+ }
+ }
+ mtu 1360
+ peer xxxxx.tld {
+ allowed-ips xxx.xxx.0.0/0
+ endpoint xxx.xxx.151.218:7701
+ pubkey <...>
+ }
+ port 7701
+}
+wireguard wg05 {
+ address xxx.xxx.252.73/30
+ ip {
+ ospf {
+ dead-interval 40
+ hello-interval 10
+ network point-to-point
+ priority 1
+ retransmit-interval 5
+ transmit-delay 5
+ }
+ }
+ mtu 1360
+ peer xxxxx.tld {
+ allowed-ips xxx.xxx.0.0/0
+ endpoint xxx.xxx.69.205:7705
+ pubkey <...>
+ }
+ port 7705
+}
```
# Commit
```
[email protected]# commit
[ interfaces wireguard wg02 ]
invalid option port for <class 'vyos.ifconfig.WireGuardIf'>
[[interfaces wireguard wg02]] failed
[ interfaces wireguard wg05 ]
invalid option port for <class 'vyos.ifconfig.WireGuardIf'>
[[interfaces wireguard wg05]] failed
[[interfaces wireguard wg05 ip ospf]] failed
[[interfaces wireguard wg02 ip ospf]] failed
Commit failed
```
Error is most likely introduced by https://github.com/vyos/vyos-1x/pull/227 as this was the last change to ifconfig.py