𝖒𝖆𝖋

My main account is @maf@szmer.info. I’ve had some cross-instance posting issues and created this account as a workaround.

  • 1 Post
  • 2 Comments
Joined 1 year ago
cake
Cake day: October 22nd, 2023

help-circle

  • Unfortunately explicit, stable port redirections is something that is still missing. I’ll have to implemnt them (with a proper UI) eventually because under the hood they are also a necessary building block for other features. At the moment there are only “ephemeral” port redirects which may be sufficient for you. They are created automatically when a LAN machine sends out a packet from some source port. That port is then implicitly forwarded back to that machine. This is actually a part of the “Full Cone NAT” thing.

    This can be triggered manually for example with something like:

    nc -p 80 1.2.3.4 1234 # send a dummy TCP packet from port 80
    

    Ephemeral port redirections don’t expire but can be taken over if another LAN host also uses the same source port for outgoing traffic. This may happen randomly because source ports are usually picked at random by the OS. Generally ports below ~32k should be fairly stable because Linux doesn’t use those by default (I don’t know about Windows). Redirecting ports below 1024 should be even more stable because they’re reserved for specific well-known services.