ericsouthga
Posts: 1
Joined: Fri Apr 04, 2014 1:22 am

Reverse Firewall issues?

Fri Apr 04, 2014 1:33 am

I have setup a Raspberry PI to allow me to use a reverse SSH tunnel to access it remotely. However, in my house it works fine, I have two different networks and firewalls, one is a 192 network the other is a 10 network, each has a different firewall.

But, once I take the raspberry and hook it up at my friends house and try to ssh back into the box, their firewall stops me. I know that they do not have port 22 open, and from what I read, that should not matter correct??

Thanks for any help.

User avatar
DeeJay
Posts: 2027
Joined: Tue Jan 01, 2013 9:33 pm
Location: East Midlands, UK

Re: Reverse Firewall issues?

Fri Apr 04, 2014 10:26 am

Does your home broadband internet router have a configuration that allows connections from the public internet to reach devices on your internal networks? (It almost certainly does not by default.)

You probably need to research Port Forwarding (or Redirection) for your specific brand and model of internet router.
How To Ask Questions The Smart Way: http://www.catb.org/~esr/faqs/smart-questions.html
How to Report Bugs Effectively: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html

Tarcas
Posts: 741
Joined: Thu Jan 09, 2014 5:38 am
Location: USA

Re: Reverse Firewall issues?

Fri Apr 04, 2014 6:03 pm

ericsouthga wrote:I have setup a Raspberry PI to allow me to use a reverse SSH tunnel to access it remotely. However, in my house it works fine, I have two different networks and firewalls, one is a 192 network the other is a 10 network, each has a different firewall.

But, once I take the raspberry and hook it up at my friends house and try to ssh back into the box, their firewall stops me. I know that they do not have port 22 open, and from what I read, that should not matter correct??

Thanks for any help.
If the Pi is reaching out of your friend's network to establish the connection from inside, you don't need his network to have the port open.

If you're connecting to it from elsewhere, you absolutely do need to open the port on his network.

Where are the source and destination of the SSH tunnel that you are establishing?

Return to “Beginners”