homelab/ansible/host_vars/corwin

46 lines
1.3 KiB
Plaintext
Raw Normal View History

---
2023-10-18 17:19:35 +00:00
ansible_host: 10.0.0.1
wireguard_address: "10.0.0.1/24"
2022-11-11 16:45:46 +00:00
wireguard_endpoint: "135.181.150.203"
2022-10-14 10:52:34 +00:00
wireguard_persistent_keepalive: "20"
2022-11-11 16:45:46 +00:00
wireguard_allowed_ips: "10.0.0.1/32,10.0.0.3/32,10.0.0.5/32"
wireguard_postup:
- iptables -A FORWARD -o %i -j ACCEPT
- iptables -A FORWARD -i %i -j ACCEPT
2022-10-14 10:52:34 +00:00
- iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
2022-11-11 16:45:46 +00:00
- sysctl -w net.ipv4.ip_forward=1
2023-02-06 18:30:33 +00:00
- resolvectl dns %i 192.168.1.4 192.168.1.10; resolvectl domain %i '~ducamps.win' '~consul'
wireguard_postdown:
- iptables -D FORWARD -i %i -j ACCEPT
- iptables -D FORWARD -o %i -j ACCEPT
2022-10-14 10:52:34 +00:00
- iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
2022-11-11 16:45:46 +00:00
- sysctl -w net.ipv4.ip_forward=0
wireguard_unmanaged_peers:
phone:
2023-05-22 06:56:30 +00:00
public_key: IYKgrQ2VJUbOnupSqedOfIilsbmBBABZUTRF9ZoTrkc=
allowed_ips: 10.0.0.3/32
persistent_keepalive: 0
zen:
public_key: rYYljQw8InmM95pxCP9KyZ8R+kcicgnjr6E9qtkI1Ag=
2022-06-20 20:11:56 +00:00
allowed_ips: 10.0.0.5/32
persistent_keepalive: 0
2023-02-06 18:30:33 +00:00
wireguard_dns: "192.168.1.4,192.168.1.10"
consul_client_addr: "127.0.0.1 10.0.0.1"
consul_bind_address: "10.0.0.1"
consul_ui: True
consul_iface: "wg0"
nomad_bind_addr: "10.0.0.1"
nomad_host_networks:
- name: "private"
interface: wg0
- name: "public"
2022-10-14 10:52:34 +00:00
interface: eth0
- name: "default"
interface: wg0
vault_listener_address: 10.0.0.1
2022-11-13 15:41:41 +00:00
nomad_plugins_podman: True