Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ec2 포트포워딩 #50

Open
yujung7768903 opened this issue Apr 6, 2023 · 0 comments
Open

ec2 포트포워딩 #50

yujung7768903 opened this issue Apr 6, 2023 · 0 comments

Comments

@yujung7768903
Copy link
Owner

yujung7768903 commented Apr 6, 2023

  • iptables 없을 경우 설치
yum install iptables
  • 포트포워딩
sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080
  • 확인
sudo iptables -t nat -L --line-numbers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant