A Practical Guide to SSH Tunnels: Local and Remote Port Forwarding
https://labs.iximiuz.com/tutorials/ssh-tunnels
#HackerNews #SSH #Tunnels #PortForwarding #Networking #Security #Guide
A Practical Guide to SSH Tunnels: Local and Remote Port Forwarding
https://labs.iximiuz.com/tutorials/ssh-tunnels
#HackerNews #SSH #Tunnels #PortForwarding #Networking #Security #Guide
@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.
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.
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!)
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
Linux Fu: UPNP A Port Mapping Odyssey
https://fed.brid.gy/r/https://hackaday.com/2026/03/23/linux-fu-upnp-a-port-mapping-odyssey/