Setting to SSH home-PC from Work


 
Thread Tools Search this Thread
Special Forums IP Networking Setting to SSH home-PC from Work
# 1  
Old 11-13-2011
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:
Quote:
PC1: Dual system XP and Linux Mint, but normally using XP
PC2: Ubuntu only
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
Quote:
Router IP: 7xx.46.11.143
PC1: 192.168.1.100
PC2: 192.168.1.103
wii: 192.168.1.101
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:
Code:
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
# 2  
Old 11-13-2011
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.

Last edited by Corona688; 11-13-2011 at 12:27 PM.. Reason: wrong port
# 3  
Old 11-13-2011
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

Last edited by yifangt; 11-14-2011 at 11:21 AM..
# 4  
Old 11-14-2011
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.
# 5  
Old 11-14-2011
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
# 6  
Old 11-14-2011
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. AIX

Setting AIX box at home.

Hi guys... I have got a old Aix box i.e. 7043 - 150 for home experimenting purposes. I am having some issues to setup the tcpip on it correctly, so that i can access it within the network and also from outside i.e. work. My setup looks like this: Modem ----> Apple airport wireless router... (2 Replies)
Discussion started by: uzair_rock
2 Replies

2. Web Development

Home work

I am studying part-time degree course ( Information system ), I just ask to do the following question , but it is not easy for me as I do not have IT background , does someone can help for it. "Consider the following web application for a property agent : The server download to the client... (1 Reply)
Discussion started by: ust
1 Replies

3. UNIX and Linux Applications

Setting up Oracle RAC at home

Hello, I'm planning to set up Oracle 10g RAC at home. I was initaillay planning to get a windows desktop and install Cent OS after wiping out the existing windows OS. I have some questions with regards to this. 1) For setting up RAC, I would have to install an additional NIC besides the one... (2 Replies)
Discussion started by: luft
2 Replies

4. UNIX for Dummies Questions & Answers

Need help setting up a home solaris private network

Hi all, I just purchased 2 Ultra 10 servers and I want to practice with home networking. I want to create a private network where I can connect both boxes to the internet via broadband using my four port adsl modem/router. My ISP assigns me 192.168 addresses via DHCP and I use the ISP's DNS but... (1 Reply)
Discussion started by: Kongowea
1 Replies

5. What is on Your Mind?

Do You Work From Home?

Do you work from home (telecommute) more than half time each week? (18 Replies)
Discussion started by: Neo
18 Replies

6. UNIX for Advanced & Expert Users

setting up my HOME PC as server

Hi , i am having RedHat AS 4 in my home PC.now i want to access applications remotely i.e from office. how can i do that. in short i would like to make my PC as server for doing test's. while I am @ work. I am using static IP. leenus (1 Reply)
Discussion started by: rrs
1 Replies

7. Shell Programming and Scripting

setting Oracle Home

Hi, if i set Oracle home in the command line as export ORACLE_HOME=/usr/oracle/product/9.2.0; and then checking it by typing echo $ORACLE_HOME,its getting the correct result.But if i try setting the ORACLE_HOME from a shell script by just including the same line as above,it was... (3 Replies)
Discussion started by: DILEEP410
3 Replies
Login or Register to Ask a Question