forked from gadmin/gsb2023
57 lines
965 B
YAML
57 lines
965 B
YAML
file:
|
|
/etc/wireguard/wg0.conf:
|
|
exists: true
|
|
mode: "0644"
|
|
owner: root
|
|
group: root
|
|
filetype: file
|
|
contains:
|
|
- AllowedIPs = 10.0.0.2/32, 172.16.128.0/24
|
|
package:
|
|
wireguard:
|
|
installed: true
|
|
versions:
|
|
- 1.0.20210223-1
|
|
wireguard-tools:
|
|
installed: true
|
|
versions:
|
|
- 1.0.20210223-1
|
|
service:
|
|
wg-quick@wg0:
|
|
enabled: true
|
|
running: true
|
|
command:
|
|
host 192.168.99.99:
|
|
exit-status: 0
|
|
stdout:
|
|
- 99.99.168.192.in-addr.arpa domain name pointer s-adm.gsb.adm.
|
|
stderr: []
|
|
timeout: 10000
|
|
ping -c4 10.0.0.2:
|
|
exit-status: 0
|
|
stdout:
|
|
- 0% packet loss
|
|
stderr: []
|
|
timeout: 10000
|
|
interface:
|
|
enp0s3:
|
|
exists: true
|
|
addrs:
|
|
- 192.168.99.112/24
|
|
mtu: 1500
|
|
enp0s8:
|
|
exists: true
|
|
addrs:
|
|
- 192.168.1.2/24
|
|
mtu: 1500
|
|
enp0s9:
|
|
exists: true
|
|
addrs:
|
|
- 192.168.0.51/24
|
|
mtu: 1500
|
|
wg0:
|
|
exists: true
|
|
addrs:
|
|
- 10.0.0.1/32
|
|
mtu: 1420
|