File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33POOL6=" 64:ff9b::/96"
44LOWEST_IPV6_MTU=1280
55HANDLE_RST_DURING_FIN_RCV=" false"
6+ DROP_EXTERNALLY_INITIATED_TCP=" false"
67
78while [ $# -gt 0 ]; do
89 case " $1 " in
@@ -15,13 +16,17 @@ while [ $# -gt 0 ]; do
1516 --handle-rst-during-fin-rcv)
1617 HANDLE_RST_DURING_FIN_RCV=" true"
1718 ;;
19+ --drop-externally-initiated-tcp)
20+ DROP_EXTERNALLY_INITIATED_TCP=" true"
21+ ;;
1822 * )
1923 printf " ************************************************************\n"
2024 printf " * Error: Invalid argument '${1} '.\n"
2125 printf " * Usage: setup.sh [options...]\n"
2226 printf " * --pool6=<IPv6>\n"
2327 printf " * --lowest-ipv6-mtu=<mtu>\n"
2428 printf " * --handle-rst-during-fin-rcv\n"
29+ printf " * --drop-externally-initiated-tcp\n"
2530 printf " ************************************************************\n"
2631 exit 1
2732 esac
3136jool instance add --iptables --pool6 ${POOL6} default
3237jool global update lowest-ipv6-mtu ${LOWEST_IPV6_MTU}
3338jool global update handle-rst-during-fin-rcv ${HANDLE_RST_DURING_FIN_RCV}
39+ jool global update drop-externally-initiated-tcp ${DROP_EXTERNALLY_INITIATED_TCP}
3440
3541iptables -t mangle -A PREROUTING -j JOOL
3642ip6tables -t mangle -A PREROUTING -j JOOL
You can’t perform that action at this time.
0 commit comments