Reply

Re: Trouble establishing port forwarding to SSH into Raspberry Pi

justinmreina
Tutor

Trouble establishing port forwarding to SSH into Raspberry Pi

I have a Raspberry Pi connected to my router's WLAN and need to externally SSH into it (e.g. PuTTy).

 

The PuTTy SSH connection works on the local network just fine, but when I set up port forwarding over the AC1750's network connection I can't get this to work.

 

I am also not able to ping my AC1750 from an external network, thoughts?

Model: R6400|AC1750 Smart WiFi Router
Message 1 of 3
antinode
Guru

Re: Trouble establishing port forwarding to SSH into Raspberry Pi

> Model: R6400|AC1750 Smart WiFi Router

 

   Is that accurate?  Not R6400v2?  Look at the product label.  Firmware
version?

 

> The PuTTy SSH connection works on the local network just fine, [...]

 

   That's using the LAN IP address of the R-Pi?

 

> [...] but when I set up port forwarding [...]

 

   How, exactly?  Actual port-forwarding rule?  Address reservation or
static IP configuration (for the R-Pi)?  Actual command?
Actual error message?

 

> [...] over the AC1750's network connection I can't get this to work.

 

   Is that connection attempt from the outside world?

 

   As an intermediate test, from a system on your LAN, try using the
router's WAN/Internet IP address.


      ADVANCED > ADVANCED Home : Internet Port : Internet IP Address

 

That should verify the port-forwarding rule(s) (and the "NAT loopback"
feature of the router).

 

   Does the IP address of the WAN/Internet interface of your router
match what you're using as your public IP address from the outside
world?

 

   The usual problems with this stuff are:

 

   1. Wrong external IP address (different from the port-forwarding
router's WAN/Internet IP address).  (An intermediate NAT router, for
example, could cause this.  Or an ISP using carrier-grade NAT to
conserve IPv4 addresses.)

 

      https://en.wikipedia.org/wiki/Carrier-grade_NAT

 

   2. Bad port-forwarding rule (wrong port(s), wrong target address --
including a wandering target).

 

   3. Server not listening on the port-forwarding target system.

 

   That seems not to be your problem.

 

   4. External influences: ISP blocking, other firewalls, ...

 

   Seldom the problem.

Message 2 of 3
justinmreina
Tutor

Re: Trouble establishing port forwarding to SSH into Raspberry Pi

Great response content! I will be in response tomorrow, much appreciated

-J 😴

Message 3 of 3
Top Contributors
Discussion stats
  • 2 replies
  • 1069 views
  • 0 kudos
  • 2 in conversation
Announcements

Orbi WiFi 6E