Skip to content

Instantly share code, notes, and snippets.

@MiroXP
MiroXP / Ubuntu 22.04 de FortiClient "Backup routing table failed".md
Created January 8, 2023 20:46
FortiClient "Backup routing table failed"

FortiClient "Backup routing table failed"

Can't establish an SSL-VPN connection with the FortiClient since the update to Ubuntu 22.04. The log ('ssvpn.log') says 'Backup routing table failed'. I found the solution on the following website. ''https://tr.linkedin.com/posts/muratsuluhan_ubuntu-2204-de-forticlient-backup-routing-activity-6972928492078264320-Yt_X?trk=public_profile_like_view''

  1. Create script 'systemd-resolve'
  2. Store under '/usr/bin/systemd-resolve'
  3. Make executable 'chmod +x /usr/bin/systemd-resolve'
@MiroXP
MiroXP / HealthChecker.ps1 - Security Settings - TLS.md
Last active September 20, 2022 09:04
HealthChecker.ps1 - Security Settings - TLS.md
$regkeypath = "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0"

If ((Get-Item $regkeypath -ErrorAction SilentlyContinue) -eq $null)
{
    New-Item -Path "HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0"
}
Function Check-Administrator {
    $currentPrincipal = New-Object Security.Principal.WindowsPrincipal( [Security.Principal.WindowsIdentity]::GetCurrent() )
    if ($currentPrincipal.IsInRole( [Security.Principal.WindowsBuiltInRole]::Administrator )) {
        return $true
    } else {
        return $false
    }
}

HealthChecker.ps1 - Security Vulnerability: CVE-2021-34470

Exchange > 2013

cd  $env:exchangeinstallpath\bin
Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataON /PrepareSchema

Exchage 2013

HealthChecker.ps1 - Security Vulnerability: CVE-2022-21978

Exchange > 2013

cd  $env:exchangeinstallpath\bin
Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataON /PrepareAllDomains

Exchage 2013

Windows-Service

Start stopped service with startup type of "Automatic"

Get-Service | Select-Object -Property Name,Status,StartType | Where-Object {$_.Status -eq "Stopped" -and $_.StartType -eq "Automatic"} | Start-Service

Infos support.microsoft.com

Exchange < 2013

cd  $env:exchangeinstallpath\bin
.\Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
.\Setup.exe /PrepareAD  /IAcceptExchangeServerLicenseTerms
.\Setup.exe /PrepareAllDomains /IAcceptExchangeServerLicenseTerms

Keybase proof

I hereby claim:

  • I am miroxp on github.
  • I am miroxp (https://keybase.io/miroxp) on keybase.
  • I have a public key ASBA-V6XsYKJVBD-Kaw9o0i1o14rzL4aHUJZhxT_0J0a7Ao

To claim this, I am signing this object: