Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to change the source IP. #217

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DanielBorgesOliveira
Copy link

The sourceip argument will add support to change the source ip of the requests call. This will enable the possibility of update different hosts using different source IP. In my case I have 2 hosts to updated and 2 internet connections. Each host have to be updated using one of the different IPs.

Example:
./noipy -n HOSTNAME1 --provider {noip,dyn,duck,generic} --sourceip SOURCEIP1
./noipy -n HOSTNAME2 --provider {noip,dyn,duck,generic} --sourceip SOURCEIP2

@pv8
Copy link
Owner

pv8 commented Oct 6, 2024

@DanielBorgesOliveira I know it has been a while... but if you are still interested is there an easy way to implement it without adding a new lib (requests-tools)? And would you mind adding unit tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants