Netasq has a firewall feature that targets specific applications using deep packet inspection not just basic port blocking. In order to bypass the firewall you would need to encrypt your traffic by using a VPN or similar. I good vpn client is called OpenVPN. To accomplish this through ssh(using linux) you would ssh -D 8080 user@example.com
you would then need to run ssh -L 1234:127.0.0.1:8080 user@example.com
The first command sets up a proxy(socks) service on port 8080. Then second command binds a local port to the remote port on the server where proxy is running. After a while ssh session will drop due to no data being sent over the connection. To keep connection alive you would need to add
ClientAliveInterval 120
TCPKeepAliveyes
to the ssh daemon config file usually located at /etc/ssh/sshd_config
on the server. If you don't have access to the sshd config file you can also use
ssh (commands here eg. -D or -L) -o TCPKeepAlive=yes -o ServerAliveInterval=60 user@example.com
The command above would have the same affect keeping the connection alive.
If you are using putty(ssh client) click connection on the left panel you will see seconds between intervals and a text box enter 60
in the text box this will keep the connection alive and stop it from dropping out. Putty also has port forwarding options under Connection -> SSH -> Tunnels. To create a proxy on the server you would need to enter -D 8080 user@example.com
under Connection -> SSH where you see remote command. This will setup a proxy(socks) on port 8080 on the server. After setting up port forwarding and proxy you would need to configure torrent client to use the proxy listening locally.
A torrent client will still work if the firewall does not allow incoming connections to ports.