'Allow ssh conection with iptables for ngrok

I'm running an Ubuntu VM with the following iptables rules to only allow tcp connections if my VPN Tunnel is up

$sudo iptables -S
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT DROP
-A OUTPUT -p udp -m multiport --dports 53,1194 -j ACCEPT
-A OUTPUT -p tcp -m multiport --dports 53,1194 -j ACCEPT
-A OUTPUT -o tun+ -j ACCEPT

Do you know what could be the rule to allow remote ssh connections from my free ngrok account?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source