Tổng đài tư vấn: 033 688 8648
Hotline: 039 511 6390
Cách mở port trên VPS
iptables -I INPUT -m state --state NEW -m tcp -p tcp --dport xxx -j ACCEPT
Cách mở port trên VPS
service iptables save
Lưu lại
service iptables restart
Khởi động lại dịch vụ
Nếu chạy lệnh lưu nó báo lỗi thì ta phải cài đặt gói sau
yum install iptables-services
Sau đó thử lại
service iptables save
hoặc
/usr/libexec/iptables/iptables.init save