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

12 lines
754 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 = Y4waCBM7GE9iOT+xl9PcZ2mNKGiawEOBv8UkH84CaAo=
AllowedIPs = 0.0.0.0/0,::0/0
Endpoint = 23.234.70.127:51820