Ubuntu :: Ssh To Connect To A Remote Computer Behind A Router

Jan 30, 2010

I want to show you this scheme:MyPC -> router -> internet <- router <- Mom'spc I want to connect from my pc to my mom's pc using ssh. The first router doesn't represent a problem, but my mom's router does. Our IPs are both dynamic (anyway, I can easyly know them) and I have opened the port (TCP/UDP) 2100 on the router in order to open a gateway on mom's pc.The firewall is not enabled on the router, nor on mom's pc.

Granted all this, now I should be able to connect to that computer using ssh:ssh user@ip -p 2100 But I can't, I always get a "connection refused".if I do it on my intranet, I can connect without any problem (to others computers, of course, not mom's) What's the reason because I always get a connection refused?

View 1 Replies


ADVERTISEMENT

Debian :: SSH Into Remote Computer Behind Router

Sep 6, 2010

My son needs me to do maintenance on his computer. He has a router installed for firewall purposes. I can see his router's IP address. How do I get past that address to his local address?

View 14 Replies View Related

General :: Connect To Port Of Computer Which Behind Router?

Nov 20, 2010

When one should try to connect to port 3306 of particular ip here e.g. 345.56.67.87 it should be redirected to port 3306 of internal machine. This is the scene : How can I access the particular port of the machine which is behind the router . i.e. From out side internet I would like to connect to the port 21 of the machine (192.168.5.8) which is behind router (345.56.67.87) . Here are the details I tried : both side linux (centos)

1.enabled ip forwarding of router (345.56.67.87)

2.enabled ip forwarding of machine (192.168.5.8)

3.implemented some iptable rules: /sbin/iptables -t nat -A OUTPUT --dst 345.56.67.87-p tcp --dport 3306 -j DNAT --to-destination 192.168.5.8:3306

4.iptables -t nat -A OUTPUT --dst 345.56.67.87 -p tcp --dport 3306 -j DNAT--to-destination 192.168.5.8:3306

I tried to google on it mainly it dealt with the iptable rules. of which i applied but error is" can not connect to the port 3306 of 192.168.5.8"

View 1 Replies View Related

Networking :: Unable To Connect To Remote Computer / Make It Possible?

Mar 25, 2010

I like to telnet from windows but unable to connect to the remote computer..

from windows i can ping the system its working

telnet service is on
from only i mentioned the windows IP...

View 3 Replies View Related

Networking :: Set Up A Laptop As A Router To Connect Wirelessly To ADSL Router?

Nov 6, 2009

I have a desktop PC running Ubuntu 9.10 and Windows 7, and a Eee PC 701 laptop running EasyPeasy Ubuntu 9.04. I'd like to connect the desktop to the laptop with a wired connection (eth0), then the laptop to my ADSL router using wireless (ath0).

I have a crossover ethernet cable (I bought on ebay). I have set up my laptop with a static IP address on my LAN and it uses OpenDNS.

I have added this to /etc/sysctl.conf on the laptop:

net.ipv4.ip_forward=1

Then I tried this on the laptop:

sudo iptables --table nat --append POSTROUTING --out-interface ath0 -j MASQUERADE
sudo iptables --append FORWARD --in-interface eth0 -j ACCEPT

This is a variation on what I found on other sites describing how to set up a router. I don't understand iptables very well, but I gather that the above two lines should set up forwarding so that traffic from my router to the laptop will be forwarded to the desktop, and vice versa.

But this doesn't work. The connection doesn't even establish between the laptop and the desktop.

View 12 Replies View Related

Ubuntu Networking :: Unable To Connect To The Internet But Can Connect To The Router

Apr 6, 2011

I am trying to setup a dhcp server for my internal network. I have two NICs, a modem, and a wireless router. I have my server connected directly to my modem which is providing me with Internet access on eth1 and is working fine. I have dhcp and dns setup on eth0 which is connected to my router. The router shows that it is connected to the Internet but when the router gives a client computer an IP address, the client is unable to connect to the Internet but can connect to the router. I will post my configuration files below with my current configuration.

[Code]....

View 5 Replies View Related

Ubuntu Networking :: Use One Wireless Router To Connect/detect To Another Wireless Router?

Aug 1, 2010

My son lost his USB Wireless stick for his Computer. I had thought I heard that if you had a second wireless router, you could use it somehow to detect the wireless router you have already set up in your home (like using a wireless card)? Is this what Ad-Hoc is? Either way, can this be done and if so how? I use a WRT54Gx2 Lynksys router and have a TRENDNET TEW-432BRP wireless router and also a spare D-link DI-514. I use ubuntu 10.04, and also wanted to know if I connected one of the router to his on the LAn port could he connect msaybe through an Ad-Hoc on my local computer here? He uses XP on his. I'm a newbie to linux and networking in general.

View 2 Replies View Related

Ubuntu :: Remote Desktop With Router WRT54GS2

Jul 18, 2010

I recently got a new router (and new isp). On my old isp and router it seemed quite simple to remote desktop to my linux box from any of my windows xp machines using vnc.

After I got my new router(WRT54GS2) and pretty much at the same time upgraded to 10.04 I had went back to reconfigure it. I simply cannot find a way to make this work. On the old version of ubuntu the remote desktop settings had a choice to change the port which seemed like the key ingredient to make it work when I was having troubles before. This new version seems verrry dumbed down to me and I can't seem to get anything to work.

I read some tutorials and all I've seen is to change port forwarding settings on my router(i'll include a picture of what that looks like)

View 8 Replies View Related

Ubuntu Networking :: Remote SSH With Both DSL Modem And Wireless Router

Jul 28, 2011

I have an Ubuntu server that I need to access remotely while I am at school. The server's internet connection comes first through a DI-604 broadband router and then through a Netgear Wireless router:

ethernet wall jack --> Broadband Router --> Wireless Router --> Server's ethernet port

I can manage to get the SSH to work with the current IP address (dynamic) by connecting the server directly to the broadband router, but I cannot set up DNS (ddclient on the server, Namecheap for domain registrar and nameserver) with it. I can set up DNS on the router with no issue, as it has the DNS client built in, but I cannot get the SHH to connect through both the modem and the router as mentioned above. Best case scenario, this can be fixed without having to get anything new, but if that is the case, recommendations of a new setup

Other reference info - ISP at server is Verizon Fios, broadband router set to PPPoE.

View 1 Replies View Related

Ubuntu :: Use Computer As A Router?

Nov 10, 2010

I am using ubuntu in my computer...i need to use my computer as a router and to run dynamic routing protocol(RIP) in my computer.I am used to router configuration and commands.but how can i use the same in my computer.

View 1 Replies View Related

General :: How To SSH Into Remote Host Hidden Behind NAT Router

Jun 21, 2011

I can use TeamViewer to get into this remote host. It has sshd running. I would like to ssh to it. But it gives the system's IP as 192.168.xx.yy. How do I ssh into it?

View 1 Replies View Related

Ubuntu Networking :: Setting Up Desktop (9.04) Behind Router For Remote Access By Latptop (9.10)?

Jan 8, 2010

Setting up desktop (9.04) behind router for remote access by latptop (9.10) I am setting up desktop (9.04) behind router for remote access by latptop (9.10). Rationale: All of my files are on my desktop HD, but I am often out of my home needing to work on my files. It is becoming labour intensive to keep track of the files I make/change and try to copy them on my non-connected desktop/laptop.

Dream: Able to remote access and modify my desktop files from my laptop (while the files remain on the desktop). Request: A simple, GUI, basic, non-technical guide how to set it up!

What I know: 1.I was going to use the 'Remote Desktop' VNC connection under System->Preferences. However, if I understand this correctly, this only secures my computer (i.e. Locks the front door of my desktop) and the data streamed between them is not encrypted.[URL]..

2.Then I need to set up my router to accept the connection from my laptop.

3.Then I will need to use SSH to secure the info sent between them. This is the bit I don't really have a good grip on.

[Code]...

View 5 Replies View Related

Debian Configuration :: How To Set Up Remote Login Behind Netgear Router

May 25, 2011

I have just setup a debian box, and I want to be able to login to the machine remotely.Currently I have the following setup:Cable Modem -> Netgear Router (DHCP to outside world) -> Debian Box (DHCP for internal network)As I under stand it I have to set my Debian Box to use a static IP, but from there I di not know where to go.Also since my cable modem IP is dynamic, is there some way to have that the debian box get the IP address for the outside world, and e-mail it to my gmail account when it changes, or least every X hours?

View 1 Replies View Related

Software :: CCTV For Remote Viewing Of 8 Camera DVR Behind Router?

Aug 21, 2010

I need to get software for viewing my shop cameras from my laptop with wwan card. I have an ADT 8 camera DVR and a Motorola Netopia 3347-02 router from AT&T. My shop computer is running Windows 7 with RASPlus for viewing locally. I have a Dell Lattitude D520 laptop with Knoppix 6.2 and a WWAN card. What software do I need to view the cameras from the road? What do I need to do to get past my router? I hear that Zoneminder is not good enough to handle the 8 cameras.

View 6 Replies View Related

Ubuntu Networking :: Use A Wireless Router On Computer?

Aug 2, 2010

is it safe to use a wireless router on my computer but still keep all my info safe that i am working on in ubuntu forums

View 3 Replies View Related

Ubuntu Networking :: Computer Have The Same MAC Address With His Router?

Sep 1, 2011

I have read in a forum that a computer can have the same MAC Address with its router in the sane LAN but how is that possible? Isn't every MAC unique? Also I have not understood, when we send a packet to a PC that is not in our LAN the packet should have the IP Address or the MAC Address of the computer that we want to send?

View 3 Replies View Related

Networking :: Using Computer As Router?

Dec 25, 2010

I want to use a linux computer as a router in a medium sized organization. we have around 10MB internet and we have to distribute it among some 2000 pcs. so i have a computer available, and wanted to do some bandwidth management on it (with tc). want to know if this is possible or if it might create a bottle neck.(the internet is coming from 2 different ISPs). Using a router is not an option, coz our organization is happy with what they get currently BUT since its unmanaged it has lots of problems, and also there is no money for buying a router

View 9 Replies View Related

Ubuntu :: Dhcp Doesn't Get An Ip From The Router On Connect. Run "on Connect" Scripts?

May 18, 2010

the connection via wireless lan can easily be established under ubuntu 10.4, but sometimes dhcp fails to get an ip address. is there a way to perform an action (=run a shell script) every time the connection is established? then i could get the ip manually

View 3 Replies View Related

Fedora Networking :: Connection From WinXP To 11 Remote Desktop (behind Router)?

Aug 28, 2009

My home linux box is behind a Linksys WRT110 router. I have enabled the Remote Desktop from System-->Preferences-->Remote Desktop. I then run TightVNC from my WinXP box. As I wish to run a secure connection, my first obstacle comes from PuTTY.
In PuTTY, my settings are as follows:

Host Name(or IP address) Port
xxx.xxx.xxx.xxx 22
SSH-->Tunnels:

[code]....

I recieve "Network error: Connection refused" I have gleened all of this information from other boards and tutorials. I know there is something critical that I am missing.

View 3 Replies View Related

Ubuntu :: Can Not Get To Recognise It And So Computer Will Not Find Router Network?

Mar 19, 2011

downloaded the Ubuntu Netbook OS and it works great but I have a Hp mini 1010nr with built in wifi. I can not get Ubuntu to recognise it and so my Computer will not find my router network. How do I get it to get online? [URL]...

View 1 Replies View Related

Ubuntu Networking :: Router - Configure A Wireless Card On Another Computer

Apr 4, 2010

I have a Belkin Wireless G F5D7230-4. I was attempting to configure a wireless card on another computer on my network when it froze during the reboot phase after making settings adjustments. The wired connection is fine, except on that computer that I was making the adjustments from. It won't connect at all. I plugged a friends netbook into the same wired line and it connected. Also there is no wireless signal on any laptops. Mac, Win Linux, don't matter. I tried all the various methods of resetting to default but still when I try to access the router's config page @ http://192.168.2.1 I get the error Code: The server at 192.168.2.1 is taking too long to respond.

[Code]...

View 2 Replies View Related

Ubuntu Networking :: Get Wireless Router To Forward Ftp Requests To Computer?

May 18, 2010

I'm trying to make my wireless router always give me the same ip address every boot (192.168.1.100). I do not have a static ip address from my isp.

Everything I've tried from online help has made my internet break and I'm not even sure what exactly I should be searching for on google.

Ultimately, I'm trying to get my wireless router to forward ftp requests to my computer which shares the network with an xp machine. I think this is the way to go about it.

View 8 Replies View Related

Networking :: Can Ping Each Computer With Router Configuration?

Sep 20, 2010

I have a desktop computer (Ubuntu) connected to one of the LAN ports of the Cradlepoint MBR1000 router via an Ethernet cable. I also have a Verizon mobile broadband USB modem (USB760) plugged into the USB port of the Cradlepoint router.I also have a laptop (Ubuntu) with a wireless wi-fi adapter (802.11g). The laptop also has an Ethernet card but I'm not using it. The desktop computer does not have a wi-fi adapter, only the laptop does.

With the above setup, I have Internet access to both the desktop computer as well as the laptop computer, which I am well pleased with.Is there a way I can have file sharing between the desktop and the laptop, or at least ping between them, the way I have it set up? I can't use the ad-hoc method because for that to work each computer needs a wi-fi adapter. The router is using DHCP but can also be configured manually.

View 14 Replies View Related

Ubuntu :: Remote Computer Not Reachable

Apr 19, 2010

I hope I am not repeating a thread. I am trying something very simple: To remotely connect from a ubuntu desktop to another ubuntu server (physically not reachable). When I ping the server, it seems to be fine. However, when I try to ssh, the connection is closed by the host. I am the only one using the server. It worked fine a few hours ago and I was trying to copy a lot of data using a couple of scp sessions. At some point the connection was closed and I cannot access the server anymore.

View 2 Replies View Related

Ubuntu :: Remote Computer Control Through SMS ?

Apr 27, 2010

As for what I am trying to do: I am looking for a way to run scripts and/or launch programs from a cell phone using SMS. I've found a few options close to this, but nothing that really fits what I'm trying to do. It seems I can either get speed or ease of use, but not both. To explain:

If I understand correctly, Evolution has this functionality through email, but email isn't instant. I'm trying, as best as I can, to use my phone almost like a remote; sending email from my phone would create a considerable wait time.

Using Pidgin's Buddy Pounce feature with AIM lets me use SMS to get a quick response, but I'm running into the problem that I can't make its action depend on what the message says. I want to be able to text, say, "Shutdown", and have my computer run a shutdown command, but Pidgin's Buddy Pounce feature doesn't seem to support checking for specific messages. I've been unable to find a plugin that changes this; if there was, it'd probably be my best bet.

Bluetooth is out; my computer's bluetooth adapter died a long time ago. Additionally, some of the things I'd like to do would be when I'm not near the computer, so even if it was functional, it would be limiting.

Anything that requires any apps for android, iPhone, or w/e are out too. I have an LG Dare, and while it's a nice phone, you can basically forget custom apps.

So, to recap, I'm trying to find some way of sending an SMS or email from my phone, have it be received as quickly as possible, and have the computer run a console command based on the content of the SMS/email. Any ideas?

I'm running Ubuntu 10.04.

View 4 Replies View Related

Ubuntu :: How To Set Up Remote Access To Computer

May 3, 2010

My home network consists of two computers that share one internet connection via a router. I have a desktop computer that runs Ubuntu (Karmic), connected via ethernet; and a netbook that runs Windows 7 (will be Ubuntu, eventually), which connects wirelessly. Both computers have multiple user accounts. What I would like to do is access my account on the Ubuntu desktop via the netbook while my wife is using the desktop with her account (or enable her to access her account on the desktop while I am using it). I looked into VNC, but it, apparently, only supports the active desktop. So, if someone connected to the computer while it was in use, they would be looking at the other user's desktop. Is this a misconception on my part?

So, I have 3 questions:
-From the netbook, how can I log into my account on the desktop and just get a command-line shell?
- From the netbook, how can I log into my account on the desktop and actually have access to my Gnome desktop?
- If I leave my house with the netbook, and want to log into my desktop machine across the internet (CLI and/or Gnome), how can I do that?

View 9 Replies View Related

Ubuntu :: Can Use Computer As A Bluetooth Remote

Jan 29, 2011

I want to use one computer to control Banshee on another computer in the room. without using remote desktop. That's not going too well for me (it works, but it's slow and clunky over my network).

View 1 Replies View Related

Ubuntu Networking :: Computer Unable To Find Wireless Signals Despite Right Next To Router

Apr 4, 2011

just switched from Windows Vista to Ubuntu 10.10 on my Toshiba laptop and I'm loving it, except for some wireless connection problems. About 70% of the time, my computer is unable to find any wireless signals whatsoever, despite being right next to the router. When it does find the signal it connects fine and runs great, but most of the time it doesn't show any signals at all. I can't find any pattern to when it does or doesn't find the signal. My result for the "sudo lshw -C network"

[code]...

View 2 Replies View Related

General :: Turn A Computer Into A Real Safe Router?

Aug 16, 2011

I have an old hp that i installed ubuntu on and I was wondering how I can turn it into a real router. By real router I don't just mean broadcast the internet but use security software, configurations, and all the stuff normally found on a real router. What are the steps i need to take? I dont have 2 NIC's in it just one but I do have a wireless usb that I can just stick into it.

View 1 Replies View Related

Networking :: Linux OS As Router / Surf The Web Both On Computer And On Laptop?

Feb 20, 2011

I have two network cards in my computer (Debian). One (eth0) is connected to the router which is connected to the internet, the other one (eth1) is connected to my laptop (Gentoo). Now I want to surf the web both on my computer and on my laptop. I obeyed some tutorials "Linux as router":

1. On my Debian system IP-Forwarding is on:

Code:

takada:/home/sam# sysctl net.ipv4.ip_forward
net.ipv4.ip_forward = 1

2. Laptop has IP 192.168.0.2 and this is the output of 'cat /etc/network/interfaces' on my computer:

Code:

takada:/etc/network# cat interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface

But a ping from my laptop to 192.168.1.1 (router to internet) still gives:

Code:
connect: Network is unreachable

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved