A Practical Guide to SSH Tunnels: Local and Remote Port Forwarding | iximiuz Labs

SSH port forwarding explained in a clean and visual way. How to use local and remote port forwarding. What sshd settings may need to be adjusted. How to memorize the right flags.

iximiuz Labs

@goetz Your comment went in the right direction, it is called "pinhole" in upnpc and works like it should once you got that and the right parameters. - Sorry for not reading the manual in the first place 🤦‍♂️

Example and explanation:
upnpc -6 -A "" 0 @ 65432 udp 600

-6 use IPv6 (recommended)
-A Add Pinhole
"" Any remote IP
0 Any remote port
@ use "local LAN address" as internal IP (works for me, replace by explicit IPv6 for more control)
65432 chosen internal port
udp protocol
600 make it last for 10 minutes (you can not use 0 here!)

unpnc -l (lower case L) lists those pinholes together with the IPv4 port forwardings.

#ipv6 #miniupnpc #fritzbox #portforwarding

@dreua

We are speaking about IPv6 there is no port opening/forwarding forseen.
You need to manipulate the ACL.
Unfortunately the ACL on an Fritzbox is limited to open a port for a LAN host for any source address.

#ipv6 #fritzbox #portforwarding #miniupnpc #upnpc

Another question to the #ipv6 bubble:

Did any of you succeed to create a v6 port forwarding/opening with the [mini]upnpc tool? I'm trying with a FritzBox here but would be interested if it worked with other routers as well.

(Voting for fun, please do also comment!)

#fritzbox #portforwarding #miniupnpc #upnpc

Yes, even with a FritzBox
0%
Yes, but another router
18.2%
No
0%
Never tried, wanted to vote anyway. Go IPv6 🥳
81.8%
Poll ended at .

Two free services which I used are #DuckDNS to give me a #URL and #LetsEncrypt to provide #SSLCertificates. I had to open up a #Port on my #Router for #PortForwarding and to make sure that the #HomeAssistantGreen is attached to a fixed IP address locally.

There are several online tutorials to perform this operation and I would advise anyone wishing to do so to look at them carefully before proceeding as a misstep can lead you to locking yourself out of your own hub.

#GNU #Linux #HAOS

SSH Tunneling and Port Forwarding Techniques: A Comprehensive Guide

In this article, I cover:
* How SSH tunneling works under the hood
* Local, remote, and dynamic port forwarding techniques
* Real-world use cases (databases, internal services, pivoting)
* Security risks and hardening recommendations

https://denizhalil.com/2026/02/02/ssh-tunneling-port-forwarding-guide/

#CyberSecurity #sshtunneling #portforwarding #NetworkSecurity #Linux #RedTeam #BlueTeam #Pentesting #InfoSec #securityengineering #EthicalHacking #ITSecurity

Tailscale Funnel ermöglicht das Port-Forwarding bei Mullvad

Vor fast zwei Jahren stellte der VPN-Anbieter Mullvad alle Portweiterleitungen ab. Ist Tailscale Funnel etwa die Lösung für dieses Dilemma?

TARNKAPPE.INFO
Linux Fu: UPNP A Port Mapping Odyssey

If you’ve ever run a game server or used BitTorrent, you probably know that life is easier if your router supports UPnP (Universal Plug and Play). This is a fairly old tech — created by…

Hackaday