Allowing SSH on tun0 if it's up

by Roman Kinakh   Last Updated May 16, 2018 14:02 PM

Have a problem with setting up a rule or script. The rule need to find out if tun0 is present, if yes then if it's up allow SSH only in tun0, if not then allow SSH on any available connection (3G, Wifi or LAN)

Tags : ssh ufw


Related Questions