summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bragi.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/bragi.nix b/bragi.nix
index f520d05c..57ebd42f 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -196,7 +196,8 @@ in rec {
196 ]; 196 ];
197 extraCommands = '' 197 extraCommands = ''
198 iptables -t nat -A POSTROUTING -o wlp4s0 -j MASQUERADE 198 iptables -t nat -A POSTROUTING -o wlp4s0 -j MASQUERADE
199 iptables -A FORWARD -i wlp4s0 -o enp1s0 -m state --state RELATED,ESTABLISHED -j ACCEPT 199 #iptables -A FORWARD -i wlp4s0 -o enp1s0 -m state --state RELATED,ESTABLISHED -j ACCEPT
200 iptables -A FORWARD -i wlp4s0 -o enp1s0 -j ACCEPT
200 iptables -A FORWARD -i enp1s0 -o wlp4s0 -j ACCEPT 201 iptables -A FORWARD -i enp1s0 -o wlp4s0 -j ACCEPT
201 ''; 202 '';
202 }; 203 };