ssh into home network


 
Thread Tools Search this Thread
Special Forums IP Networking ssh into home network
# 8  
Old 08-05-2010
The router passes off to an ethernet switch and then to my computer. This may be the problem, but I had thought the switch's only functionality was to split the internet connection, not to perform firewall functionality like a router.

I found a setting called Demilitarized Zone on my router (D-Link DI-604). It is supposed to allow unrestricted internet access to the specified IP. Maybe this will help, I will check in the morning when I get into work.

Update: Port forwarding is definitely working. ssh to the external IP from inside my home network redirects back to the ubuntu machine. Hopefully this means it is working now... I suppose I will find out

Awesome, I have it working. Thank you to everybody for your help. I had missed a firewall exemption in my router settings.

Last edited by bluejayek; 08-06-2010 at 09:50 AM..
# 9  
Old 08-23-2010
@bluejayek

Glad you've solved your problem. I think most of the time users should peform these steps. It won't apply to you anymore but could help others who has the same problem

I think these are the steps you should take

1) Open the port 22 in your router. I assume you are behind th NAT. So on your router you must have some option to do NAT-ting. So put port 22 to liste to the IP address that has been assigned to your Ubuntu machine.

2) Make sure sshd is running on Ubuntu.
3) Flush iptables this way
Code:
/sbin/iptables -F
/sbin/iptables -X

4) Try to connect

If this all does not work try to disable selinux this way:

vi /etc/selinux/config and make sure it looks like

Code:
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#	enforcing - SELinux security policy is enforced.
#	permissive - SELinux prints warnings instead of enforcing.
#	disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
#	targeted - Only targeted network daemons are protected.
#	strict - Full SELinux protection.
SELINUXTYPE=targeted

Regards,

_val_
# 10  
Old 08-23-2010
what about VNC ? i donīt really know if it works for ubuntu or mac but you can probe that.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. IP Networking

Help building a home network needed.

I have one computer with internet connection and printers that I would like to connect to another computer to use as a practice/test Server. I would like the server to access the other computer by a direct connection of some sort because I don't see the point of aquiring the hardward (ethernet... (5 Replies)
Discussion started by: theKbStockpiler
5 Replies

2. IP Networking

ssh server is attachable from local network not from another network

hello i have a ubuntu ssh server that i can acess from any of my comnputers but only if they are on the same wireless network as the server. i tested trhis my tehtehring my samsung blackjack to my windows partition and installing openssh to windows it works when windows is on the wireless but no... (1 Reply)
Discussion started by: old noob
1 Replies

3. Linux

Need help w/home network

Hello world! I'm writing to you from Chile, Southamerica, and need a little help with my tiny home netwk. Hope you can give me a hand because this thing is breaking my balls. This is what i have: 1 windows box with XP pro (server) 1 linux box with DSL (box) 1 wrt54gl router with dd-wrt... (1 Reply)
Discussion started by: juanpedro
1 Replies

4. UNIX for Dummies Questions & Answers

Need help to configure routing on home network

I have a Windows laptop and a Sparc desktop. I'm trying to toy around with routing. If have always on broadband from BT. My router ipaddress is: 192.168.1.1 This router uses DHCP. My Laptop Ip is as follows: Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . :... (2 Replies)
Discussion started by: Kongowea
2 Replies

5. UNIX for Dummies Questions & Answers

Using Linux on/in a home network

I recently received an e-mail from "the faculty" at Unix-dot-Com and I was reminded of this notable resource for folks learning about Unix and its clone, Linux. I hadn't posted anything in two years and during that time, I have been working, in my spare time, on a home network combining two Linux... (2 Replies)
Discussion started by: Annatar
2 Replies

6. UNIX for Dummies Questions & Answers

why /home and /packages are network based?

Does anyone noe why /home n /packages r usually kept remotely..as in network base by administrators?is it because of security reasons??? thanks. (2 Replies)
Discussion started by: rave77us
2 Replies

7. UNIX for Dummies Questions & Answers

Home Network Storage Solution.

Hi All... I have never really touched any form of unix so any help would be appraciated. I am looking at creating/building another PC to add to my network for storage purposes only. Would unix be the best OS to use in this situation as all I have available to me is a very low end PC. As... (10 Replies)
Discussion started by: Merlyn
10 Replies

8. Windows & DOS: Issues & Discussions

XP Pro: home network

having trouble with my home XP Network. I have 2 machine running xp but the server cant access or see the second computer. Both can ping each other and i have file and printer sharing installed. HD'S are sharded. Any ideas ? (2 Replies)
Discussion started by: perleo
2 Replies

9. IP Networking

home network not working!

i just linked 2 100MHz Linux kernel 2.4.2 boxes togeather using a direct cable connection, on two 3Com PCI network cards, using the EtherLink III chipset. Unfortuanately, when I boot both PCs, i get a loading interface: eth0 for five minutes, then a failed flag. No networking suppt. in windows,... (2 Replies)
Discussion started by: boris888
2 Replies
Login or Register to Ask a Question