Skip to content

Commit

Permalink
sophia: allow nat from wan1
Browse files Browse the repository at this point in the history
  • Loading branch information
devusb committed May 18, 2024
1 parent d0e86c0 commit 656e3d8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hosts/sophia/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ with lib;
extraCommands = ''
iptables -I FORWARD 1 -i guest -d 192.168.0.0/16 -j DROP
iptables -I FORWARD 1 -i isolated -o wan0 -j DROP
iptables -t nat -A POSTROUTING -o wan1 -j MASQUERADE -m mark --mark 0x1
'';
};

Expand Down

0 comments on commit 656e3d8

Please sign in to comment.