mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 09:36:14 +01:00
More Wireguard
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
39742dc4a2
commit
eb1dc094f1
|
@ -43,7 +43,7 @@ in
|
|||
|
||||
nat.forwardPorts = [
|
||||
{
|
||||
destination = "127.0.0.1:6666";
|
||||
destination = "64.225.104.221:6666";
|
||||
proto = "udp";
|
||||
sourcePort = 500;
|
||||
}
|
||||
|
@ -52,6 +52,7 @@ in
|
|||
firewall = {
|
||||
extraCommands = ''
|
||||
iptables -P FORWARD DROP
|
||||
iptables -t nat -I PREROUTING -i eth0 -d 64.225.104.221/32 -p udp -m multiport --dports 500 -j REDIRECT --to-ports 6666
|
||||
'';
|
||||
|
||||
interfaces."eth0" = {
|
||||
|
|
Loading…
Reference in a new issue