jrdeng / jrdeng.github.io

I'm using `jrdeng/i2site`
https://wuming.me
1 stars 0 forks source link

Oracle VPS端口和防火墙设置 #14

Open jrdeng opened 3 years ago

jrdeng commented 3 years ago

开放端口

Instances >> Instance Details 
                        >> Attached VNICs >> Subnet or VLAN
                                  >> Subnet - subnet-YYYYMMDD-HHMM >> Security Lists
                                           >>  add rules for TCP/UDP/ICMP ...

Ubuntu防火墙设置:

sudo iptables -L
sudo apt remove iptables-persistent
sudo apt purge netfilter-persistent
sudo iptables -L
sudo iptables -P INPUT ACCEPT
sudo iptables -P FORWARD ACCEPT
sudo iptables -P OUTPUT ACCEPT
sudo iptables -L
sudo iptables -F
sudo reboot