1.Open Git Bash. 2.Create a bare clone of the repository. $ git clone --bare https://github.com/exampleuser/old-repository.git 3.Mirror-push to the new repository. $ cd old-repository.git $ git push --mirror https://github.com/exampleuser/new-repository.git 4.Remove the temporary local repository you created in step 1. $ cd …
Henry's Notes Articles.
Enable forwarding: sysctl -w net.ipv4.ip_forward=1 Create this script eg sudo nano iptables.sh eth=$1 proto=$2 port=$3 # OpenVPN iptables -A INPUT -i "$eth" -m state --state NEW -p "$proto" --dport "$port" -j ACCEPT # Allow TUN interface connections to OpenVPN server iptables …
By default, Windows 10 shows background pictures on your lock screen that have been curated specifically for this use–but it’s not immediately clear where they’re stored. Windows replaces these images regularly, but if you want to use them as regular …
Set Firewall Rules 1. Start by checking your active firewalld zone: firewall-cmd --get-active-zones The output will show your firewalld zone. In the example below, it is public. 2. Add the openvpn service to the list of services firewalld allows within the active zone. The active …
1. Kết nối với Server / VPS bằng quyền root Sau khi kết nối, bạn cần update hệ thống (đối với những server lâu chưa update) để các ứng dụng đạt trạng thái tốt nhất khi cài đặt cron: sudo …
Follow Me