sudo ufw enable
sudo ufw default deny incoming
sudo ufw allow from 192.168.1.0/24 to any port *****
sudo ufw allow from 192.168.1.0/24 to any port ***** proto udp
sudo ufw allow from 192.168.1.0/24 to any port ****
sudo ufw allow from 192.168.1.0/24 to any port 22
sudo ufw allow from 192.168.1.0/24 to any port 3389
sudo ufw allow from 192.168.1.0/24 to any port 445 proto tcp
sudo ufw status verbose
ss -tulpn
upnpc -l
curl ifconfig.me // compare with PC public ISP IP
nmap -p **,****,***** IP-address (check PC and ISP)
ip a
ip -4 addr
ip -6 addr // global address (not fe80::)
nmap -6 -p ****,***** YOUR_IPV6
No comments:
Post a Comment