Generate iptables and ufw firewall rules visually. Fill in the form, get a ready-to-paste shell command — no syntax memorization needed.
iptables와 ufw 방화벽 규칙을 시각적으로 생성하세요. 폼을 채우면 바로 복사할 수 있는 쉘 명령어가 생성됩니다 — 명령어 암기 불필요.
Fill in the form to generate a rule…
iptables mode for forward rules, or enable IP forwarding manually with iptables -A FORWARD ...iptables 모드를 사용하거나, iptables -A FORWARD ... 명령어를 직접 입력하세요.Add rules above to build a script…
How to use this tool
Step 1
Pick iptables for low-level control or ufw for a simpler interface. Both are common on Ubuntu/Debian servers.
Step 2
Set direction, action, protocol, port, and source/destination IPs. Leave optional fields blank to generate a broader rule.
Step 3
Copy the single rule, or click "Add to Script" to accumulate multiple rules into a complete bash script.
Step 4
SSH into your server and paste. Run as root or with sudo. Always test in a safe environment first.
사용 방법
Step 1
세밀한 제어가 필요하면 iptables, 더 간단한 인터페이스를 원하면 ufw를 선택하세요. 둘 다 Ubuntu/Debian 서버에서 일반적으로 사용됩니다.
Step 2
방향, 동작, 프로토콜, 포트, 출발지/목적지 IP를 설정하세요. 선택 항목은 비워두면 더 넓은 범위의 규칙이 생성됩니다.
Step 3
단일 규칙을 복사하거나 "스크립트에 추가"를 클릭해 여러 규칙을 완전한 bash 스크립트로 모으세요.
Step 4
서버에 SSH 접속 후 붙여넣기하세요. root 또는 sudo로 실행하고, 항상 안전한 환경에서 먼저 테스트하세요.
Frequently Asked Questions
자주 묻는 질문
iptables-persistent and run netfilter-persistent save. On RHEL/CentOS, use service iptables save.iptables-persistent를 설치하고 netfilter-persistent save를 실행하세요. RHEL/CentOS에서는 service iptables save를 사용하세요.8000:8090. This generates --dport 8000:8090 for iptables or 8000:8090 for ufw. Both tools support port ranges natively. Note that for ufw, you must also specify a protocol (tcp or udp) when using port ranges — this tool does that automatically.8000:8090. iptables에는 --dport 8000:8090으로, ufw에는 8000:8090으로 생성됩니다. 두 도구 모두 포트 범위를 기본 지원합니다. ufw의 경우 포트 범위 사용 시 프로토콜(tcp 또는 udp)을 반드시 지정해야 하며, 이 도구가 자동으로 처리합니다.