Wireguard statt OpenVPN Setup Ubuntu-Server & Windows Client

Windows Wireguard Client Installieren VPN Forwarding Step 1: Accept all traffic created by wg0 interface Allow all traffic on wg0 interface: Step 2: Configuring FORWARD rules We must allow for packets being routed through the WireGuard server by setting up the FORWARD rule. The syntax is: Step 3: Open WireGuard UDP port # 51194  Finally, weiterlesen…

DIY Mailserver like GMAIL

cfg files: sudo nano /etc/opendkim.conf nano /etc/postfix/main.cf CATCH-ALL nano /etc/postfix/main.cf nano /etc/postfix/virtual postmap /etc/postfix/virtualservice postfix reload Nach jeder Änderung muss ein postmap durchgeführt werden, damit Postfix die Änderung mitbekommt Check Config with Online Tool https://mxtoolbox.com/SuperTool.aspx?action=smtp%3ahg-system.com&run=toolpage

Reset MySQL password

´´$ sudo systemctl stop mysql$ sudo mkdir -p /var/run/mysqld$ sudo chown mysql:mysql /var/run/mysqld$ sudo /usr/sbin/mysqld –skip-grant-tables –skip-networking & FLUSH PRIVILEGES;USE mysql;update user set plugin=“mysql_native_password“;ALTER USER ‚root’@’localhost‘ IDENTIFIED BY ‚N3w_p@ssw0rD.‘;quit !fix! error: plugin ‚auth_socket‘ is not loaded !fix! mysql root passwort does not work

Simple VPN with OpenVPN Server Script

Create OpenVPN Server and Client wget https://git.io/vpn -O openvpn-ubuntu-install.sh chmod +x openvpn-ubuntu-install.sh sudo ./openvpn-ubuntu-install.sh Copy the from the Script generated *.ovpn file to your Client Desktop Get The Client from: https://openvpn.net/download-open-vpn/ Import the *.ovpn file inside the Windows Client or use the terminal openvpn with the *.ovpn file as parameter. Internet by OpenVPN: Routing Configuration weiterlesen…

Lets Encrypt ACME Challenge for Wildcard Certificate

You need access to the DNS and be able to create txt records. certbot certonly –manual –preferred-challenges dns –server https://acme-v02.api.letsencrypt.org/directory –manual-public-ip-logging-ok -d ‚*.hg-system.com‘ -d hg-system.com Change hg-system.com to your Domain Name… Create the txt Record in your DNS. Type TXT Name _acme-challenge Value the command shows above Note that you need to change the acme weiterlesen…