Use this forum to post questions relating to WinGate, feature requests, technical or configuration problems
Post a reply

Import Assumed Users by IP

Nov 12 04 12:42 am

Is there a way to import list of assumed users by IP from a text file.

jian

Nov 12 04 8:11 am

No, not currently. What you can do, although it is a bit involved, is to build it up as a registry file using a text file editor. Simple export the current list, then duplicate the entries at the bottom with your importable data (Using search/replace for headers/trailers on each line) and then import it.

Note, that involves editing and working with the registry. All applicable warnings - like having a backup, etc. apply.

Nov 20 04 9:17 pm

I checked the registry and found the following:

[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\Locations]

[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\Locations\Location0]
"InternalFilter"="010011136030"
"Filter"="192.168.0.1"
"Username"="user1"

[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\Locations\Location1]
"InternalFilter"="010011136050"
"Filter"="192.168.0.2"
"Username"="user2"

[HKEY_LOCAL_MACHINE\SOFTWARE\Qbik Software\WinGate\Locations\Location10]
"InternalFilter"="010011143134"
"Filter"="192.168.0.3"
"Username"="user3"

I can make a .reg file similar to the one above but I dont understand "InternalFilter". What does this number represent?


jian

Nov 20 04 9:24 pm

I have no idea offhand. I'll check for you Monday when I get back in the office.

Nov 22 04 8:37 am

Ok. That is the filter string - it tells WinGate how to determine if the IP address given matches what you want to assume for that user.

It's quite an interesting bit of code, because it takes wildcards into account, etc. The ones in your registry look wrong; however. For an IP address of 192.168.0.1 it should be 192168000001. For 192.168.0.2 it should be 192168000002.

This is an interesting thing though - I think it's well worthwhile to add this to our list of future features; to make importing lists a bit easier.

Nov 22 04 5:53 pm

I get the idea now regarding the "InternalFilter".
I'll try to make 2 entries in a .reg file and import it.
Post a reply