A go-written port forwarding tool, perfect for NAT servers

look look look :xhj007:

1 Like

Thank you for sharing

1 Like

Thank you for sharing!

1 Like

Great solution! It would be perfect with a tutorial!

1 Like

Thank you for sharing the tool!

Not bad, I’ll make some adjustments.

Because not all systems support systemd, auto-starting users need to solve it themselves
For server restarts, users can set up their own shell方案 containing all the rules to run once at startup
The initial purpose of writing this tool was to solve the docker --network host issue, without considering many details

Why not write all the rules directly in the server command line or use a configuration file?
This way, the user’s “self-solved” boot startup scheme (including systemd or Docker) would only handle starting the server and restarting it when it crashes, without needing to consider:

  1. Waiting for the server to start up completely and accept RPC commands.
  2. Calling the client to send RPC commands.
  3. Re-executing the above two steps whenever the server crashes and restarts.
1 Like

Trouble indeed, I’m not specialized in this field, I’m still in school now, my main focus is on industrial automation…

But that doesn’t mean I can’t get involved, let’s take a look.

Thank you for sharing

Exactly applicable, thank you for sharing!

Great guy!!!

Thank you for your hard work.

Thank you for sharing