Open Thomatn opened 6 years ago
Sounds like a good idea.
At a first thought, I would implement this by adding a command line option called --force-ip
(followed by the actual ip), and when this option is set, then the ip is not fetched remotely but it's taken from the input.
I won't have much time in the short term to implement this, so feel more the welcome to propose a PR with the needed changes if you are in a rush for this feature.
This is one I'd like to see done, too, for a completely different use case. I'll take it on, if nobody has picked it up yet.
I'd like to have this option since I'm using multiple network interfaces on the same device (resulting in multiple external ip addresses). I'd be nice to add the external IP address as an optional argument if you'd like to set it manually.
Thanks in advance!