Enter large numbers of IPs for whitelisting? [message #106781] |
Fri, 27 September 2013 16:56  |
j.a.duke
Messages: 239 Registered: October 2006
|
|
|
|
I need to enter the ~7k IPs that Yahoo uses for their outbound servers into an IP Address Group, but really don't want to do it by hand. First, it will be lots of typing or copy/pasting and there's lots of room for error in the whole process. Second, it's easy to setup a merge using GREP to insert the IPs into the appropriate XML block (see below), except for the "Guid" variable.
<listitem>
<variable name="Name">Whitelist</variable>
<variable name="Value">76.13.13.2-76.13.13.254</variable>
<variable name="Enabled">1</variable>
<variable name="Desc">Yahoo Mail 2009-07-10</variable>
<variable name="Guid">1EE040DD-A818-445C-AD1D-07AF26896936</variable>
<variable name="GroupGuid">A06FB699-1B9D-42A4-A190-24BAF3553276</variable>
</listitem>
Is there a rhyme or reason as to how the Guid variable is created?
Thanks.
Cheers,
Jon
|
|
|
Re: Enter large numbers of IPs for whitelisting? [message #106857 is a reply to message #106781] |
Tue, 01 October 2013 10:55  |
 |
vtripp
Messages: 616 Registered: September 2009 Location: Cambridge
|
|
|
|
Hi Jon,
The GUID is generated randomly by Kerio and this cannot be "faked" so to speak, so trying to add 7,000 IP addresses automatically via the config file is not really feasible. If the Yahoo IP Addresses fall into a range then I would suggest doing it that way as opposed to entering in 7,000 individual addresses. Are the Yahoo addresses all part of a range? As that would make your life much easier for this task.
All the best,
Vicky
|
|
|