summaryrefslogtreecommitdiffstats
path: root/host_vars/archlinux.local.yml.example
blob: 5e8c1e55aaecc7c04560b310b2760b603df58669 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
# Using raspberry pi as gateway (VPN) and DNS sinkhole (pihole)
network_ipv4_address: "10.0.0.201"
network_ipv4_gateway: "10.0.0.200"
network_ipv4_dns: "10.0.0.200"
network_ipv6_address: "fd5c:fd8b:2b8c::201/64"
network_ipv6_gateway: "fd5c:fd8b:2b8c::200"
network_ipv6_dns: "fd5c:fd8b:2b8c::200"

wireguard_connections:
  protonvpn-us-1: |
    [Interface]
    PrivateKey = your_private_key_here
    Address = 10.2.0.2/32
    DNS = 10.2.0.1

    [Peer]
    PublicKey = server_public_key
    AllowedIPs = 0.0.0.0/0
    Endpoint = us-1.protonvpn.com:51820