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

Req: Hostname support #17

Open
Calystos opened this issue Jan 8, 2020 · 1 comment
Open

Req: Hostname support #17

Calystos opened this issue Jan 8, 2020 · 1 comment

Comments

@Calystos
Copy link

Calystos commented Jan 8, 2020

Was wondering if it'd be possible to add hostname support instead of just IP?
As my IP sometimes changes, an having to infrequently let my friends know of any changes (so they can update their data) is a pain, which is why I have a hostname set up so that if my IP ever changes that hostname address is always updated immediately too.

(an export/import of IP list feature would also be awesome if possible, so can easily share data with friends or just back it up somewhere)

Thanks, keep up the great work, very useful tool! :-)

@Elec0
Copy link
Collaborator

Elec0 commented Jan 9, 2020

The hostname idea is not a bad one, but it wouldn't be simple. INetFwRule doesn't support http addresses in it's RemoteAddresses field, it requires a list of actual IPs. It would be possible to allow users to input addresses, then resolve those addresses into real IPs internally, but that requires some restructuring of the code.

The program already creates an exportable file called settings.json which stores all of your saved IPs, so you can open that in a text editor and send the contents to your friends.

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

No branches or pull requests

2 participants