Setting to SSH home-PC from Work

Hello,
My question is very basic for the settings to SSH my home PC from work.
Home network two PC:

Internet comes into my house through ISP modem and then the two PCs are connected with the router (Trendnet). The IPs for my PCs are

How to set other stuffs for me to access my home PC from work through SSH? I had tried to reach my PC2 from work using:

ssh my_user-name@192.168.103 

but it did not work. Obviously I did not go through the router and realized I did not have the ABC for this stuff, especially the firewall and MAC settings. Can anyone help me walk through this process for a beginner? I searched the forum, there a couple of threads similar to my question, but mine is more basic. Thanks a lot in advance!

yifangt

192.168.x.x addresses are internal addresses, trying to SSH to one of those from somewhere else over the internet is like sending a package to an apartment number without telling the postal service which apartment where.

You have to ssh to the router IP.

You have to tell the router to forward port 23 22 to 192.168.1.103.

How to do that depends on the router.

Thanks!
Can you please be more specific at those settings? My router is TEW-432BRP from Trendnet. I tried to call the company, they could not provide any further support on this. I could not find any introduction about the port forwarding for my router from the manuals. By the way, I am in Sktn.
Thanks again!
YT

Sorry, no. Questions on this forum are supposed to be answered on this forum, so people googling these threads find answers rather than useless unanswered questions.

I've found the manual for your router and am reading. One moment.

---------- Post updated at 09:09 AM ---------- Previous update was at 09:05 AM ----------

Log into your router, click the 'access' button on the far left column, and under it, 'virtual server'.

You need to create a new virtual server. Name it 'ssh'. The protocol must be TCP. The private port and public port both need to be 22. The 'lan server' must be the IP address of the one you want to receive SSH connections. Then click 'add'.

If you want two different servers to receive SSH, you'll need to give them different public ports. The private ones can probably stay at 22 to avoid needing custom configuration in your servers.

Make sure the IP addresses for these servers never change. You may want to set them statically to some high number your router will never assign with DHCP.

Thanks!
I was struggling with the "Virtual server" part too, and I will give it a try when I am back home. Do I need to worry about the MAC Add and MAC filter? It seems I have to post a long list of questions. Let me try it first and thank you again!

Yifang

The MAC filter is something different, you don't need to worry about it. What it does is decide whether a local computer can talk to your network or not depending on its MAC address (unique to each network card). Virtual server is the only thing you should need.