☁︎클라우드/Oracle Cloud
Oracle Cloud - 특정 포트 방화벽 해제(iptables, firewall-cmd)
Janger
2023. 2. 12. 23:26
728x90
iptables 정책 생성
sudo iptables -I INPUT 1 -p tcp --dport 80 -j ACCEPT
iptables 정책 확인
sudo iptables -L -n -v --line-number
iptables 라인 번호로 정책 삭제
sudo iptables -D INPUT 1
firewall-cmd
sudo apt install firewalld
sudo firewall-cmd --zone=public --permanent --add-port=80/tcp
sudo firewall-cmd --reload
방화벽 규칙 영구 지속
sudo apt install netfilter-persistent -y
sudo netfilter-persistent save
출처:
Opening port 80 on Oracle Cloud Infrastructure Compute node
This is an elementary question however one I cannot seem to resolve by perusing the Oracle Cloud Infrastructure documentation. I've created an Ubuntu-based compute node, and it's attached to a subn...
stackoverflow.com
https://pythonblog.co.kr/blog/30/
30 오라클클라우드 80, 443포트 열기
https://www.oracle.com/kr/cloud/에 접속합니다. 오라클라우드 로그인 후 컴퓨트>인스턴
pythonblog.co.kr
728x90