Oracle VPS端口和防火墙设置
开放端口
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