I have setup the daemon on my server (Ubuntu) as described on the wiki. When I go to connect from a computer outside of my local network however, I get the following error:
The default port is 58846, but you won't be able to SSH right into the daemon. You could SSH into the server that the daemon is running on, but it would be better for you to either use the deluge web interface (deluge-web) or download the deluge client for your external PC then connect to the daemon on port 58846 using the client.
You might also want to setup an OpenVPN server on your router so you can just VPN in as necessary and aren't exposing your local network to the internet.