summaryrefslogtreecommitdiff
path: root/bragi.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-11-26 04:38:36 +0000
committerGregor Kleen <gkleen@yggdrasil.li>2015-11-26 04:38:36 +0000
commitabd59c6086888f94191ff93704865185507c5474 (patch)
treec7cf78f7c4429520b62654741aba244a056a7e0d /bragi.nix
parentecfc2dc33a892ce5abbb5b4c8025c9cb9cf7ba01 (diff)
parent16e6c75bb96984fa9465a2dd45f563187251c295 (diff)
downloadnixos-abd59c6086888f94191ff93704865185507c5474.tar
nixos-abd59c6086888f94191ff93704865185507c5474.tar.gz
nixos-abd59c6086888f94191ff93704865185507c5474.tar.bz2
nixos-abd59c6086888f94191ff93704865185507c5474.tar.xz
nixos-abd59c6086888f94191ff93704865185507c5474.zip
Merge branch 'master' of git.yggdrasil.li:nixos
Diffstat (limited to 'bragi.nix')
-rw-r--r--bragi.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/bragi.nix b/bragi.nix
index 70b339ba..10f42e88 100644
--- a/bragi.nix
+++ b/bragi.nix
@@ -191,7 +191,7 @@ in rec {
191 ]; 191 ];
192 extraCommands = '' 192 extraCommands = ''
193 iptables -t nat -A POSTROUTING -o wlp4s0 -j MASQUERADE 193 iptables -t nat -A POSTROUTING -o wlp4s0 -j MASQUERADE
194 iptables -A FORWARD -i wlp4s0 -o enp1s0 -m state --state RELATED,ESTABLISHED -j ACCPET 194 iptables -A FORWARD -i wlp4s0 -o enp1s0 -m state --state RELATED,ESTABLISHED -j ACCEPT
195 iptables -A FORWARD -i enp1s0 -o wlp4s0 -j ACCEPT 195 iptables -A FORWARD -i enp1s0 -o wlp4s0 -j ACCEPT
196 ''; 196 '';
197 }; 197 };