system: Change mullvad VPN configuration.
This commit is contained in:
parent
40e43585c7
commit
a88749c0fd
|
@ -227,14 +227,14 @@
|
||||||
(service wireguard-service-type
|
(service wireguard-service-type
|
||||||
(wireguard-configuration
|
(wireguard-configuration
|
||||||
(interface "mullvad")
|
(interface "mullvad")
|
||||||
(addresses '("10.64.72.77/32" "fc00:bbbb:bbbb:bb01::1:484c/128"))
|
(addresses '("10.65.205.145/32" "fc00:bbbb:bbbb:bb01::2:cd90/12"))
|
||||||
(dns '("10.64.0.1"))
|
(dns '("10.64.0.1"))
|
||||||
(peers
|
(peers
|
||||||
(list
|
(list
|
||||||
(wireguard-peer
|
(wireguard-peer
|
||||||
(name "se-sto-wg-006")
|
(name "se-sto-wg-008")
|
||||||
(endpoint "185.65.135.73:51820")
|
(endpoint "185.65.135.71:51820")
|
||||||
(public-key "5WNG/KKCtgF4+49e/4iqvHVY/i+6dzUmVKXcJj7zi3I=")
|
(public-key "4nOXEaCDYBV//nsVXk7MrnHpxLV9MbGjt+IGQY//p3k=")
|
||||||
(allowed-ips '("0.0.0.0/0" "::0/0"))
|
(allowed-ips '("0.0.0.0/0" "::0/0"))
|
||||||
(keep-alive "25"))))
|
(keep-alive "25"))))
|
||||||
(post-up '("iptables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT"))
|
(post-up '("iptables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT && ip6tables -I OUTPUT ! -o %i -m mark ! --mark $(wg show %i fwmark) -m addrtype ! --dst-type LOCAL -j REJECT"))
|
||||||
|
|
Loading…
Reference in New Issue