#Port forwarding with Go

9 messages · Page 1 of 1 (latest)

late sentinel
#

What did you try

hidden notch
#

I doubt the compile-time vars are needed so they can probably be stripped if you don't have git
-ldflags "-X main.version=`git describe --tags` -X main.buildTime=`date +%FT%T%z`"

calm kernel
#

you don't need all these flags indeed

#

just go run github.com/gaetanlhf/portfwd@main if you trust the author

#

or replace run by install if you're going to actually use it/keep it

hidden notch
#

If you are looking for port forwarding you can aswell establish private network between peers or use for example ngrok if u want to forward it to public internet

calm kernel
#

look into tailscale maybe, it’s written in go and great

hidden notch
#

or zerotier