summaryrefslogtreecommitdiff
path: root/disable-outgoing-tcp-connections-through-ipv6-tunnel.sh
diff options
context:
space:
mode:
authorroot <root@samizdat>2021-09-29 12:24:32 -0400
committerroot <root@samizdat>2021-09-29 12:24:32 -0400
commitdfdc54af819c6ce9b4e150c30913967365bc7f32 (patch)
tree3e3fae22eaa3c3ccaabd7d09e2a3ef6360be60ef /disable-outgoing-tcp-connections-through-ipv6-tunnel.sh
parent1943a248f84a1ea05ac79a29d52ab4f2e975e3d5 (diff)
working static config into template
Diffstat (limited to 'disable-outgoing-tcp-connections-through-ipv6-tunnel.sh')
-rwxr-xr-xdisable-outgoing-tcp-connections-through-ipv6-tunnel.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/disable-outgoing-tcp-connections-through-ipv6-tunnel.sh b/disable-outgoing-tcp-connections-through-ipv6-tunnel.sh
index 51123d6..842cc0f 100755
--- a/disable-outgoing-tcp-connections-through-ipv6-tunnel.sh
+++ b/disable-outgoing-tcp-connections-through-ipv6-tunnel.sh
@@ -21,6 +21,6 @@ mark=22
21ip6tables_add OUTPUT -t mangle -p tcp --syn -m state --state NEW -j MARK --set-mark $mark 21ip6tables_add OUTPUT -t mangle -p tcp --syn -m state --state NEW -j MARK --set-mark $mark
22ip6tables_add OUTPUT -t mangle -p tcp --syn -m state --state NEW -j CONNMARK --save-mark 22ip6tables_add OUTPUT -t mangle -p tcp --syn -m state --state NEW -j CONNMARK --save-mark
23ip6tables_add OUTPUT -t mangle -p tcp -m state --state ESTABLISHED,RELATED -j CONNMARK --restore-mark 23ip6tables_add OUTPUT -t mangle -p tcp -m state --state ESTABLISHED,RELATED -j CONNMARK --restore-mark
24ip6rule_add fwmark $mark unreachable 24ip6rule_add fwmark $mark prohibit
25ip6rule_add fwmark $mark table main 25ip6rule_add fwmark $mark table main
26exit $? 26exit $?