feat(deertopia): Wireguard+Mullvad
This commit is contained in:
12
modules/nixos/deertopia/mullvad/us-atl-wg-002.conf
Normal file
12
modules/nixos/deertopia/mullvad/us-atl-wg-002.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
[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 = ECeGYeh8CfPJO3v56ucCDdl+PlKcj2bBszUGkT+hVWQ=
|
||||
AllowedIPs = 0.0.0.0/0,::0/0
|
||||
Endpoint = 45.134.140.143:51820
|
||||
Reference in New Issue
Block a user