diff --git a/extras/ikev2setup.sh b/extras/ikev2setup.sh index f087b5a..0cd6c54 100755 --- a/extras/ikev2setup.sh +++ b/extras/ikev2setup.sh @@ -157,7 +157,7 @@ confirm_or_abort() { show_header() { cat <<'EOF' -IKEv2 Script Copyright (c) 2020-2022 Lin Song 22 Oct 2022 +IKEv2 Script Copyright (c) 2020-2022 Lin Song 30 Oct 2022 EOF } @@ -932,8 +932,22 @@ cat > "$mc_file" <OnDemandRules - Action - Connect + InterfaceTypeMatch + WiFi + URLStringProbe + http://captive.apple.com/hotspot-detect.html + Action + Connect + + + InterfaceTypeMatch + Cellular + Action + Disconnect + + + Action + Ignore RemoteAddress