Skip to content

Commit

Permalink
v7.3
Browse files Browse the repository at this point in the history
+ DietPi-VPN | Allow incoming SSH packets when killswitch is enabled. Actual connections stay limited to LAN and VPN networks as of OUTPUT rules, hence this supports as well SSH connections through the SSH tunnel, for providers with port forwarding support.
  • Loading branch information
MichaIng committed Jun 26, 2021
1 parent ae64709 commit cbad2b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dietpi/dietpi-vpn
Expand Up @@ -414,6 +414,7 @@ _EOF_
-A OUTPUT -d $VPN_SERVER -p $PROTOCOL --dport $VPN_PORT -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp --dport 22 -j ACCEPT
COMMIT
_EOF_
fi
Expand Down

0 comments on commit cbad2b8

Please sign in to comment.