Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- PERL
- Linux
- Kernel
- cadre
- pid
- 솔라리스
- 디스크
- apachetop
- windows
- iptables
- Cache
- 리눅스
- CPU
- rsync
- 좌절교육
- goaccess
- Performance
- ext3
- ext4
- 칭찬교육
- rm
- Hack
- Python
- rm -rf
- Bash
- 쇼펜의상속자 #킨텍스메가쇼 #섬유향수탈취제
- Disk
- PORT
- DNS
- http
Archives
- Today
- Total
Ben's
iptables -j vs iptables -g 본문
728x90
-j, --jump target
This specifies the target of the rule; i.e., what to do if the packet matches it. The target can be a
user-defined chain (other than the one this rule is in), one of the special builtin targets which decide
the fate of the packet immediately, or an extension (see EXTENSIONS below). If this option is omitted
in a rule (and -g is not used), then matching the rule will have no effect on the packet's fate, but the
counters on the rule will be incremented.
-g, --goto chain
This specifies that the processing should continue in a user specified chain. Unlike the --jump option
return will not continue processing in this chain but instead in the chain that called us via --jump.
========================================================================
-j Chain Name 하면 체인으로 보내지고 나서 다시 복귀를 하는 반면
-g Chain Name 하면 체인으로 보내지고 나서 다시 복귀를 하지않고 거기서 처리가 종료됨.
This specifies the target of the rule; i.e., what to do if the packet matches it. The target can be a
user-defined chain (other than the one this rule is in), one of the special builtin targets which decide
the fate of the packet immediately, or an extension (see EXTENSIONS below). If this option is omitted
in a rule (and -g is not used), then matching the rule will have no effect on the packet's fate, but the
counters on the rule will be incremented.
-g, --goto chain
This specifies that the processing should continue in a user specified chain. Unlike the --jump option
return will not continue processing in this chain but instead in the chain that called us via --jump.
========================================================================
-j Chain Name 하면 체인으로 보내지고 나서 다시 복귀를 하는 반면
-g Chain Name 하면 체인으로 보내지고 나서 다시 복귀를 하지않고 거기서 처리가 종료됨.
'리눅스 > iptables' 카테고리의 다른 글
[kisa] 리눅스 방화벽 (0) | 2013.01.21 |
---|---|
iptables 포트 포워드 (0) | 2013.01.21 |
conntrack-tools 활용 (0) | 2013.01.17 |
iptables hex-string 이용 (2) | 2013.01.16 |
geoip 를 이용한 국가별 접속 제한 기능 사용을 위한 커널패치 메뉴얼 (0) | 2013.01.16 |