Linux, Raspberry pi, Postgresql , guide maths. Médical waves, big data eve, veille sur ondes médicales et big data mathematics.
sudo apt install iproute2
sudo ip address
sudo apt install ufw
sudo ufw default deny
sudo ufw allow proto tcp from any to myIpv4port 80
sudo ufw status
sudo ufw allow proto tcp from any to myIpv4port 443
sudo ufw route monIpv4 port 443 to myIpv4 port 4431
sudo ufw allow proto tcp from any to myIpv4 port 5432
sudo ufw route allow monIpv4 port 5432 to myIpv4 port 54321
sudo ufw allow proto tcp from monIpv6 port 443 to myIpv6 port 4431
sudo ufw route allow myIpv6 port 4431 to myIpv6 port 505
sudo ufw allow proto tcp from myIpv6 port 5432 to myIpv6 port 54321
sudo ufw route allow myIpv6 port 5432 to myIpv6 port 54321
Aucun commentaire:
Enregistrer un commentaire