diff options
author | root <root@samizdat> | 2021-09-29 12:24:32 -0400 |
---|---|---|
committer | root <root@samizdat> | 2021-09-29 12:24:32 -0400 |
commit | dfdc54af819c6ce9b4e150c30913967365bc7f32 (patch) | |
tree | 3e3fae22eaa3c3ccaabd7d09e2a3ef6360be60ef /disable-outgoing-tcp-connections-through-ipv6-tunnel.sh | |
parent | 1943a248f84a1ea05ac79a29d52ab4f2e975e3d5 (diff) |
working static config into template
Diffstat (limited to 'disable-outgoing-tcp-connections-through-ipv6-tunnel.sh')
-rwxr-xr-x | disable-outgoing-tcp-connections-through-ipv6-tunnel.sh | 2 |
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 | |||
21 | ip6tables_add OUTPUT -t mangle -p tcp --syn -m state --state NEW -j MARK --set-mark $mark | 21 | ip6tables_add OUTPUT -t mangle -p tcp --syn -m state --state NEW -j MARK --set-mark $mark |
22 | ip6tables_add OUTPUT -t mangle -p tcp --syn -m state --state NEW -j CONNMARK --save-mark | 22 | ip6tables_add OUTPUT -t mangle -p tcp --syn -m state --state NEW -j CONNMARK --save-mark |
23 | ip6tables_add OUTPUT -t mangle -p tcp -m state --state ESTABLISHED,RELATED -j CONNMARK --restore-mark | 23 | ip6tables_add OUTPUT -t mangle -p tcp -m state --state ESTABLISHED,RELATED -j CONNMARK --restore-mark |
24 | ip6rule_add fwmark $mark unreachable | 24 | ip6rule_add fwmark $mark prohibit |
25 | ip6rule_add fwmark $mark table main | 25 | ip6rule_add fwmark $mark table main |
26 | exit $? | 26 | exit $? |