Forward Command
If you have an Tunnel SOCKSv5 Proxy on Port 500, then you want to use that proxy on Postman with port 600
hpts -s 127.0.0.1:500 -p 600
If you have an Tunnel SOCKSv5 Proxy on Port 500, then you want to use that proxy on Postman with port 600
hpts -s 127.0.0.1:500 -p 600
#!/bin/bash | |
# List of gateways with corresponding interfaces | |
gateways=("192.168.100.1" "192.168.70.1" "192.168.80.1") | |
interfaces=("eth0" "eth1" "eth2") | |
# Function to check internet connectivity using a specific interface and gateway | |
check_gateway_connectivity() { | |
interface=$1 | |
gateway=$2 |
If you want to block port node exporter access from outside you can use this command
iptables -A INPUT -p tcp -s 10.7.0.0/24 --dport 9100 -j ACCEPT
iptables -A INPUT -p tcp -s localhost --dport 9100 -j ACCEPT
iptables -A INPUT -p tcp --dport 9100 -j DROP
10.7.0.0/24
& localhost
are IP ALLOWED to access port 9100
If you want to mount your NFS Directory to Windows Server 2019 you can follow this guide.
Open Powershell then execute this
Import-Module ServerManager
Install-WindowsFeature -Name FS-NFS-Service
Install-WindowsFeature NFS-Client
If you want to change favicon & left logo side you can replace this path
/usr/share/pve-manager/images/proxmox_logo.png
/usr/share/pve-manager/images/favicon.ico
/usr/share/pve-manager/images/logo-128.png
proxmox_logo.png
-> 172x30
favicon.ico
-> 32x32
logo-128.png
-> 128x128
OAUTH2PROXY
for authenticate all our endpoints behind Nginx.wget https://github.com/oauth2-proxy/oauth2-proxy/releases/download/v7.4.0/oauth2-proxy-v7.4.0.linux-amd64.tar.gz
tar -xzvf oauth2-proxy-v7.4.0.linux-amd64.tar.gz
cd oauth2-proxy-v7.4.0.linux-amd64
Provisioning Kubernetes Cluster BareMetal with KubeSpray
2x Ubuntu Server 20.04LTS
Microsoft partnered with Canonical to create Bash on Ubuntu on Windows, running through a technology called the Windows Subsystem for Linux. Below are instructions on how to set up the ssh server to run automatically at boot.
/etc/ssh/sshd_config
file by running the command sudo vi /etc/ssh/sshd_config
and do the following
Port
to 2222 (or any other port above 1000)PasswordAuthentication
to yes. This can be changed back to no if ssh keys are setup.sudo service ssh --full-restart
sudo apt-get update
sudo apt-get -y upgrade
echo "deb http://repo.pritunl.com/stable/apt focal main" | sudo tee /etc/apt/sources.list.d/pritunl.list
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
curl -fsSL https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com --recv 9DA31620334BD75D9DCB49F368818C72E52529D4
sudo apt update