Files
sydnix/modules/nixos/deertopia/mullvad/us-slc-wg-202.conf
2025-03-25 01:35:13 -06:00

12 lines
753 B
Plaintext

[Interface]
# Device: Calm Krill
PrivateKey = {{WG_PRIVATE_KEY}}
Address = 10.69.157.18/32,fc00:bbbb:bbbb:bb01::6:9d11/128
DNS = 10.64.0.1
PostUp = iptables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL ! -d 192.168.0.0/16 -j REJECT && ip6tables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT
PreDown = iptables -D OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL ! -d 192.168.0.0/16 -j REJECT && ip6tables -D OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT
[Peer]
PublicKey = mKD4untTerTbg+1pJh3FA9zjOAOtoTHqOJzIP0lnqH4=
AllowedIPs = 0.0.0.0/0,::0/0
Endpoint = 69.4.234.149:51820