You can route specific subnet via OpenVPN and the rest of the traffic will be routed to the default PC gateway. Note: this is valid on OpenVPN installations on Linux that have been installed using this installation script: https://github.com/angristan/openvpn-install Open OpenVPN server.conf file: /etc/openvpn/server.conf Remove or comment out the following lines: push “dhcp-option DNS …
Mount a RAW Qemu Image File to your Linux system
You may need to mount a qemu RAW image to your linux system for various reasons. To do so, please follow the next steps: Mounting a raw image file with one partition is pretty straight forward. Assuminug the RAW image file name is VirtualMachineImage.raw and the directory to mount the disk is /mnt …
Convert Windows Server 2019 Evaluation to Retail
To convert your windows server 2019 from Evaluation to Retail, use the following PowerShell command: DISM /Online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula For no restart prompt after the conversation, please use the following command: DISM /NoRestart /Online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula
Enable RDP Firewall rules and disable RDP NLA from PowerShell Windows Server 2016/2019
By default, you might find RDP firewall rules disabled which prevent RDP connections to the server. To enable preset firewall rules of RemoteDesktop, use the following PowerShell command: Enable-NetFirewallRule -DisplayGroup ‘Remote Desktop’ or from CMD, append powershell.exe in the beginning: powershell.exe Enable-NetFirewallRule -DisplayGroup ‘Remote Desktop’ To disable RDP Network Level Authentication (NLA), use the …
How to fix DBCACHE: exit 11 error with cPanel and MariaDB
Symptoms Updating MariaDB to v10.2.35 or v10.3.26 may hinder select sites to be inaccessible and the MySQL Database interface within cPanel may populate “The MySQL server is currently offline.” Workaround As of 2020-11-06, cPanel development team has released an autofixer to address this issue. If you are experiencing this problem now, though, you may …
Make CSF work with OpenVPN
To make CSF work with OpenVPN, you’ll need to create extra iptable rules. We do that by adding them to csfpre.sh. nano /etc/csf/csfpre.sh If the file does not exist, you can create it. If it already exists, you should append to it. iptables -A FORWARD -m state –state RELATED,ESTABLISHED -j ACCEPT iptables -A FORWARD -s …