Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

So I wanted to make my desktop a server for file transfer across globally (access it wherever I am). I've read a site with instructions using openssh-server

I have a router that is provided from ISP, which was set-up with ddns to access CCTV by technician, the ddns account belongs to the CCTV company, so I don't have the password (Let's call this router A) and a Aztech router (call this router B). B is connected to A through LAN, and A to the Internet, B is the router that give out wireless. IPs in A is 192.168.0.* and B is 192.168.1.*. IP of B to A is

My desktop is connected to B through wireless and the CCTV DVR is connected to A through LAN. I can watch my CCTV by entering the ddns domain name through port (cc) and in router A's settings page, I can see CCTV is port forwarded to port (cc).

So my question is how can I connect to my desktop through ddns domain name through port (dd)? Where should I port forward my desktop to port (dd)? A or B?

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.