1
vote
1answer
26 views

SSH and PWNAT for SSH Connection Between Two Separate NATs

Is it possible to use pwnat and SSH to establish a "peer-to-peer" SSH connection between two machines that are behind two separate firewalls/NATs? If this is possible, what are the steps that would ...
0
votes
1answer
137 views

Accessing VirtualBox with NAT adapter using SSH

I have a CentOs 6.5 running on a VirtualBox. I am using NAT adapter and my inet addr is 10.0.2.15 But, I can't access this host using ssh root@10.0.2.15 I get ssh: connect to host 10.0.2.15 port 22: ...
2
votes
0answers
90 views

How to forward ports through ssh and nat to another machine

I have a problem when using ssh port forwarding and nat simoultaneously. Situation: Machine A runs a webserver on port 8080 Machine B is a raspberry pi which works like a little router. It has two ...
0
votes
0answers
20 views

NAT to remote computer

PC A (Windows 7) can create TCP connections to PC B (Windows XP) but B can't make outbound connections to anywhere due to firewall rules. If I need B to connect to a host in the same network as A, I ...
1
vote
1answer
190 views

With VMware Workstation, how can I SSH from the host to a guest with NAT?

My host is Windows 7 with VMware Workstation 10. I am running an Ubuntu 12.04 guest that is connected to an NAT network. How can I set up the network so that I can SSH from the host to the guest? I ...
1
vote
2answers
91 views

Connecting to an SSH server behind a NAT

I am having trouble connecting to an SSH server behind a NAT on an ubuntu workstation. I've installed openssh package(both the client and the server) and forwarded port 22 through the NAT and tried to ...
2
votes
3answers
413 views

How to set up SSH tunnel between 2 machines behind 2 different NATs

I have Windows PC behind a NAT/Firewall at home, and a Windows PC behind a NAT/Firewall at work. i.e. Neither PC has a publicly visible IP address. On each of the PCs, I am running a Ubuntu VM on ...
1
vote
1answer
251 views

iptables NAT doesn't preserve remote IP

I have the iptables rules below forwarding incoming ssh traffic on port 2222 to a virtual machine running in a vmware "vmnet" network on the same host. 192.168.1.1 192.168.1.40 +---------+ ...
0
votes
1answer
65 views

Redhat in VMware - adding second VNIC set up with NAT for SSH

I have had a questioned answered on a issue I was having with Hamachi VPN and connecting it to my Linux VM to use a tunnel for SSH outside my local home network. The person that answered the question ...
0
votes
0answers
34 views

How to restrict RemotePort of ssh to particular ports?

Consider ssh -R '0.0.0.0:9090:localhost:5050' restricted@myvps.example.com A laptop is running a webserver on port 5050 The laptop is behind a router with NAT and port forwarding cannot be ...
0
votes
1answer
82 views

Is there a simple way to remotely administer devices shipped to clients?

I plan on shipping small devices (like a MinnowBoard or CuBox) to some people. Is there some sort of software package that can "phone home" so that i have a way to administer it? My current ideas are ...
2
votes
2answers
3k views

ssh through a router without port forwarding

I have a linux server, and I want to put it in a home network behind a router. I need to ssh to this server sometime from outside, but I don't want to set up port forwarding because I don't have ...
0
votes
1answer
203 views

How to ssh my desktop(ubuntu) from outside network [duplicate]

I have set up simple ssh server by using openssh on my Ubuntu. I tried to ssh it from my Mac, which successful. But my mac is in the same subnet, which behind same router at my home. my ubunut local ...
0
votes
1answer
32 views

internet access on natted server

I have two linux servers say X and Y. There is a VPN connectivity between the two, such that X can connect Y through some ports(e.g. 22,5901 etc) but Y can not connect X. internet is available on X. ...
0
votes
1answer
371 views

How do you set up a VirtualBox CentOS 6.3 VM . . . in order to access it via SSH from a remote host (not host to guest)?

What should I do? I installed VirtualBox 4.2.6 I installed CentOS 6.3 It's powered on # ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback ...
1
vote
2answers
800 views

How can I SSH into home computer from internet

I have a setup like follows I have a router that connects to the INTERNET, where my ISP provides dynamic ip two systems are connected to the router with locl ip 192.168.1.2 and 192.168.1.3 the ...
1
vote
0answers
243 views

IP forwarding with iptables

Suppose there are hosts A and B. A is allowed SSH access to B based on its IP address. Consider now another host C. C does not have access to B, but if we could route its traffic through A, then C ...
0
votes
1answer
973 views

Can I create a reverse ssh tunnel by using my Android phone as the middle man?

I am trying to connect my home linux laptop and my work Windows 7 computer. They are both behind NAT w/ firewall and neither allows port forwarding. I cannot control the NAT, firewall or port ...
3
votes
4answers
3k views

how to ssh two computers behind NAT and Firewall, without third computer

I am trying to ssh into my Linux box at home. My home is a dorm-style environment - NAT and Firewall with personal laptop running Arch Linux. My work is corporate style Windows 7 - NAT and proxy ...
1
vote
0answers
142 views

How to provide “reverse ssh” to a shell?

Scenario: Many embedded devices (running Linux) out in the fields, behind routers so NAT'd and we can't make connections to them. We need for a support person to be able to initiate a terminal/shell ...
1
vote
1answer
1k views

can't ssh within LAN, but can connect from outside

A strange issue: I have a desktop running Ubuntu 10.04 behind a Netgear WNR1000 router performing NAT. I would like to be able to ssh into the desktop from my laptop (running Windows 7 and Cygwin). ...
2
votes
2answers
2k views

How to access a computer behind two NAT routers? [duplicate]

For technical reasons that I cannot change my computers at home are located behind two routers, only one of which (the one connecting my own network) I have control over. Basically the setup is ...
1
vote
2answers
3k views

SSH connection between two behind-nat computers through third public-ip computer

I have a computer at home (home-server) that runs irssi, rtorrent etc. My ISP is blocking every traffic from outside (dumb, I know, but it's the only ISP I can have). I want to be able to log in into ...
15
votes
5answers
9k views

SSH access to office host behind NAT router

I would like to access the ssh port of my office linux host from home. Unfortunately the host is located behind a NAT router. So, the IP address is not publicly available. There is however access to ...
2
votes
4answers
3k views

How to ssh into home LAN behind ISP NAT (no public IP address)?

My property management company provides free internet access. All the apartments in many buildings are behind some common NAT, so none of us have our own public IP addresses. Thus, services like ...
6
votes
4answers
854 views

Connecting to home computers behind a router

I have a home network setup behind a NAT router with two linux boxes. Occasionally, I want to ssh to them from outside the home network, but neither have a public IP address. What's your ...