schollz / croc

Easily and securely send things from one computer to another :crocodile: :package:
https://schollz.com/software/croc6
MIT License
27.75k stars 1.1k forks source link

Automatically set up UPnP port forwarding on the router #656

Closed LogicDaemon closed 4 months ago

LogicDaemon commented 7 months ago

Describe the solution you'd like Syncthing and torrent clients automatically set up port forwarding on clients' routers using UPnP. croc also should.

Describe alternatives you've considered I can use https://github.com/miniupnp/miniupnp and then feed the ports to croc, but it's tedious. My provider's router does not allow setting up port forwarding manually, and it's basically useless since I get a gray IP on the WAN interface anyway. But UPnP works.

schollz commented 7 months ago

looking forward to your pr!

luzpaz commented 6 months ago

@LogicDaemon is this something you're working on ?

LogicDaemon commented 6 months ago

Nope, it was just a wish. Feel free to close.

goyal-aman commented 6 months ago

@schollz can I work on this one? But I have no previous experience with open source or networking stuff. I can give it a shot.

schollz commented 6 months ago

thanks @goyal-aman , its all yours

goyal-aman commented 6 months ago

@schollz Where would you suggest to begin on this.