Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Contents

Easy heading
linkText4
linkText10
linkText3
linkText6
linkText5
relatedLinksLabels
linkText2
linkText1
headingTagsH1,H2,H3
sidebarMaxHeight450
linkType2Page
linkType3Page
linkType1Page
linkType10Page
sidebarTitleON THIS PAGE
linkUrl3
linkUrl4
linkUrl1
linkUrl2
linkUrl10
includedPageModeDisable_Included_Pages
linkText8
linkText7
relatedLinksOrderLabels_First
sidebarModeOpened
headingNumberingModeDisable_Numbering
linkText9
sidebarMarginRight20
relatedLinksTargetNew_Window
relatedLinksTitleRELATED LINKS
linkUrl9
linkUrl7
linkUrl8
numberedHeadingTagsH1,H2,H3
linkUrl5
linkUrl6
linkType8Page
linkType9Page
linkType6Page
headingLinkTextModeWrap
linkType7Page
linkType4Page
linkType5Page
sidebarWidth240
sidebarTop160
headingLinkExpandModeCollapse_All_By_Default
headingLinkIndent10

...

If a proxy server is configured, it will be displayed in the command output.

Powershell:

$proxySettings = Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings'

if ($proxySettings.ProxyEnable -eq 1)

{

Write-Output "Proxy Server: $($proxySettings.ProxyServer)"

}

else {

Write-Output "Proxy is not enabled."

}

If proxy is set, this will be the result:

...

After making the change to allow Cloud API reporting for Windows Server OS in GYTPOL by setting "serversAllowedRE" to "true" in the "predefined.json" file, the GYTPOL client on Windows Server OS will attempt to report via the Cloud API if it cannot reach the GYTPOL server through the internal 9093 port. This provides an alternative reporting method for situations where direct communication to the server is not possible.

Filtering AWS IP Addresses for Specific Services Using jq and curl

AWS publishes their IP addresses in a JSON file, which can be downloaded and filtered using the jq command. The following command displays the IP ranges for the services we use, assuming curl and jq are installed:

curl https://ip-ranges.amazonaws.com/ip-ranges.json | jq '.prefixes[] | select(((.region == "us-east-2") and (.service == "S3")) or ((.region == "us-east-2") and (.service == "API_GATEWAY")) or ((.region == "us-east-2") and (.service == "AMAZON")) or ((.region == "us-east-2") and (.service == "EC2"))) '

JQ

For Windows:

  1. Download jq:

  2. Download the 64-bit or 32-bit Windows binary (jq-win64.exe or jq-win32.exe).

  3. Place jq in PATH:

    • Extract the downloaded ZIP file.

    • Move jq.exe to a directory in your system's PATH (e.g., C:\Windows\System32).

  4. Verify Installation:

    • Open Command Prompt and type jq --version to ensure it's installed correctly.

For macOS:

  1. Using Homebrew:

    • Open Terminal.

    • Run brew install jq to install jq.

  2. Verify Installation:

    • In Terminal, type jq --version to verify the installation.

For Linux (Ubuntu/Debian):

  1. Using Package Manager:

    • Open Terminal.

    • Run sudo apt-get update && sudo apt-get install jq to install jq.

  2. Verify Installation:

    • In Terminal, type jq --version to verify the installation.

CURL

For Windows:

  1. Download curl:

  2. Download the latest curl executable for Windows, either 32-bit or 64-bit.

  3. Install curl:

    • Run the downloaded executable and follow the installation prompts.

  4. Verify Installation:

    • Open Command Prompt and type curl --version to ensure it's installed correctly.

For macOS:

  1. Already Installed:

    • curl is usually pre-installed on macOS.

  2. Verify Installation:

    • Open Terminal and type curl --version to verify the installation.

For Linux (Ubuntu/Debian):

  1. Using Package Manager:

    • Open Terminal.

    • Run sudo apt-get update && sudo apt-get install curl to install curl.

  2. Verify Installation:

    • In Terminal, type curl --version to verify the installation.

Anchor
_Toc141005939
_Toc141005939
Common issues

...