Compare commits
3 Commits
v0.0.2t-em
...
v0.0.2v-em
Author | SHA1 | Date | |
---|---|---|---|
c32cf92cf5 | |||
d0ba31e795 | |||
69aa1ac739 |
@ -1,76 +1,56 @@
|
|||||||
|
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:
|
package:
|
||||||
# ferm:
|
|
||||||
# installed: true
|
|
||||||
wireguard:
|
wireguard:
|
||||||
installed: true
|
installed: true
|
||||||
|
versions:
|
||||||
|
- 1.0.20210223-1
|
||||||
wireguard-tools:
|
wireguard-tools:
|
||||||
installed: true
|
installed: true
|
||||||
port:
|
versions:
|
||||||
udp:68:
|
- 1.0.20210223-1
|
||||||
listening: true
|
|
||||||
service:
|
service:
|
||||||
# dnsmasq:
|
wg-quick@wg0:
|
||||||
# enabled: true
|
|
||||||
# running: true
|
|
||||||
wireguard:
|
|
||||||
enabled: true
|
|
||||||
running: true
|
|
||||||
ssh:
|
|
||||||
enabled: true
|
enabled: true
|
||||||
running: true
|
running: true
|
||||||
command:
|
command:
|
||||||
sysctl net.ipv4.ip_forward:
|
host 192.168.99.99:
|
||||||
exit-status: 0
|
exit-status: 0
|
||||||
stdout:
|
stdout:
|
||||||
- net.ipv4.ip_forward = 1
|
- 99.99.168.192.in-addr.arpa domain name pointer s-adm.gsb.adm.
|
||||||
stderr: []
|
stderr: []
|
||||||
timeout: 10000
|
timeout: 10000
|
||||||
command:
|
ping -c4 10.0.0.2:
|
||||||
ping -c 4 192.168.0.52:
|
|
||||||
exit-status: 0
|
exit-status: 0
|
||||||
stdout:
|
stdout:
|
||||||
- 4 received = 1
|
- 0% packet loss
|
||||||
stderr: []
|
stderr: []
|
||||||
timeout: 10000
|
timeout: 10000
|
||||||
command:
|
|
||||||
ping -c 4 192.168.1.1:
|
|
||||||
exit-status: 0
|
|
||||||
stdout:
|
|
||||||
- 4 received = 1
|
|
||||||
stderr: []
|
|
||||||
timeout: 10000
|
|
||||||
command:
|
|
||||||
ping -c 4 192.168.200.254:
|
|
||||||
exit-status: 0
|
|
||||||
stdout:
|
|
||||||
- 4 received = 1
|
|
||||||
stderr: []
|
|
||||||
timeout: 10000
|
|
||||||
command:
|
|
||||||
ping -c 4 172.16.0.1:
|
|
||||||
exit-status: 0
|
|
||||||
stdout:
|
|
||||||
- 4 received = 1
|
|
||||||
stderr: []
|
|
||||||
timeout: 10000
|
|
||||||
command:
|
|
||||||
ping -c 4 10.0.0.2:
|
|
||||||
exit-status: 0
|
|
||||||
stdout:
|
|
||||||
- 4 received = 1
|
|
||||||
stderr: []
|
|
||||||
timeout: 10000
|
|
||||||
#process:
|
|
||||||
# dnsmasq:
|
|
||||||
# running: true
|
|
||||||
# squid:
|
|
||||||
# running: true
|
|
||||||
interface:
|
interface:
|
||||||
|
enp0s3:
|
||||||
|
exists: true
|
||||||
|
addrs:
|
||||||
|
- 192.168.99.112/24
|
||||||
|
mtu: 1500
|
||||||
enp0s8:
|
enp0s8:
|
||||||
exists: true
|
exists: true
|
||||||
addrs:
|
addrs:
|
||||||
- 192.168.0.51/24
|
- 192.168.1.2/24
|
||||||
|
mtu: 1500
|
||||||
enp0s9:
|
enp0s9:
|
||||||
exists: true
|
exists: true
|
||||||
addrs:
|
addrs:
|
||||||
- 192.168.1.2/24
|
- 192.168.0.51/24
|
||||||
|
mtu: 1500
|
||||||
|
wg0:
|
||||||
|
exists: true
|
||||||
|
addrs:
|
||||||
|
- 10.0.0.1/32
|
||||||
|
mtu: 1420
|
||||||
|
@ -21,5 +21,5 @@
|
|||||||
- name: redemarre haproxy
|
- name: redemarre haproxy
|
||||||
service:
|
service:
|
||||||
name: haproxy
|
name: haproxy
|
||||||
state: restarted
|
# state: restarted
|
||||||
enabled: yes
|
enabled: yes
|
||||||
|
Reference in New Issue
Block a user