[GH-ISSUE #742] Optional disabling of the Kill-Switch feature #187

Closed
opened 2026-10-13 20:14:54 +00:00 by bsakaguchi · 5 comments
Owner

Originally created by @iriabaka on GitHub (Apr 7, 2024).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/742

Before AmneziaVPN 4.3.0.0 I could use it with another VPN (for my work) and everything worked perfectly, but after that my second VPN stopped working properly when I connect to AmneziaVPN first.
I assume it's because of the kill switch feature.
Could you make this parameter optional with the ability to disable it if not needed?

Originally created by @iriabaka on GitHub (Apr 7, 2024). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/742 Before AmneziaVPN 4.3.0.0 I could use it with another VPN (for my work) and everything worked perfectly, but after that my second VPN stopped working properly when I connect to AmneziaVPN first. I assume it's because of the kill switch feature. Could you make this parameter optional with the ability to disable it if not needed?
Author
Owner

@iriabaka commented on GitHub (Apr 8, 2024):

If you manually remove pf rules, it starts working.

################
# List pf rules
################
sudo pfctl -a 'amn/*' -s rules

##################
# Remove pf rules
##################
sudo pfctl -a 'amn' -F all

test -f '/Applications/AmneziaVPN.app/Contents/MacOS/pf/pf.token' \
  && sudo pfctl -X `cat '/Applications/AmneziaVPN.app/Contents/MacOS/pf/pf.token'` \
  && sudo rm -rf '/Applications/AmneziaVPN.app/Contents/MacOS/pf/pf.token'

sudo test -f /etc/pf.conf \
  && sudo pfctl -F all -f /etc/pf.conf
<!-- gh-comment-id:2042210088 --> @iriabaka commented on GitHub (Apr 8, 2024): If you manually remove pf rules, it starts working. ```shell ################ # List pf rules ################ sudo pfctl -a 'amn/*' -s rules ################## # Remove pf rules ################## sudo pfctl -a 'amn' -F all test -f '/Applications/AmneziaVPN.app/Contents/MacOS/pf/pf.token' \ && sudo pfctl -X `cat '/Applications/AmneziaVPN.app/Contents/MacOS/pf/pf.token'` \ && sudo rm -rf '/Applications/AmneziaVPN.app/Contents/MacOS/pf/pf.token' sudo test -f /etc/pf.conf \ && sudo pfctl -F all -f /etc/pf.conf ```
Author
Owner

@JackBekket commented on GitHub (Apr 11, 2024):

Faced same issue

I am using tailscale as work VPN and if I connected (or simply launch AmneziaVPN app) -- it stopped working if Amnezia is active

Actually I cannot even use a normal connection when Amnezia VPN is not connected but app is launched

<!-- gh-comment-id:2050290711 --> @JackBekket commented on GitHub (Apr 11, 2024): Faced same issue I am using tailscale as work VPN and if I connected (or simply launch AmneziaVPN app) -- it stopped working if Amnezia is active Actually I cannot even use a normal connection when Amnezia VPN is *not connected* but app is launched
Author
Owner

@outspace commented on GitHub (Apr 14, 2024):

please check version with killSwitch toggle from #746
You can download AmneziaVPN installer from github actions and approve fix.

<!-- gh-comment-id:2054105137 --> @outspace commented on GitHub (Apr 14, 2024): please check version with killSwitch toggle from #746 You can download AmneziaVPN installer from github actions and approve fix.
Author
Owner

@iriabaka commented on GitHub (Apr 15, 2024):

please check version with killSwitch toggle from #746 You can download AmneziaVPN installer from github actions and approve fix.

Everything works great on mac 👍
Thanks a lot.

<!-- gh-comment-id:2055831219 --> @iriabaka commented on GitHub (Apr 15, 2024): > please check version with killSwitch toggle from #746 You can download AmneziaVPN installer from github actions and approve fix. Everything works great on mac 👍 Thanks a lot.
Author
Owner

@iriabaka commented on GitHub (Apr 18, 2024):

I suppose the issue can be closed after merging PR.

<!-- gh-comment-id:2063235061 --> @iriabaka commented on GitHub (Apr 18, 2024): I suppose the issue can be closed after merging PR.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#187
No description provided.