기본 콘텐츠로 건너뛰기

iptables

q 에 제대로 적용 되는지 확인
iptables -nv -L

옵션
iptables [-t table] command [match] [target\jump]

-A(--append)            : 규칙을 추가한다.
-N(--new-chain)        : 새로운 체인 생성
-X(--delete-chain)     : 체인 제거
-P(--policy)              : 체인 기본정책 변경
-L(--list)                  : 체인의 규칙상태 보기
-F(--flush)               : 체인내의 모든 규칙 제거(방화벽 초기화)
-Z(--zero)                : 체인내의 모든 규칙의 패킷과 바이트의 카운트를 0으로 초기화
-D(--delete)             : 규칙을 삭제
-R(--replace)            : 새로운 규칙으로 대체
-I(--insert)               : 체인의 가장 처음에 규칙을 추가한다.
-E(--rename-chain)    : 체인의 이름을 변경한다.

댓글

이 블로그의 인기 게시물

java 특정 디렉토리에 있는 파일 목록을 읽어내기, 정렬해서 가져오기

폴더 리스트 가져오기 String path="C:\"; File dirFile=new File(path); File []fileList=dirFile.listFiles(); for(File tempFile : fileList) {   if(tempFile.isFile()) {     String tempPath=tempFile.getParent();     String tempFileName=tempFile.getName();     System.out.println("Path="+tempPath);     System.out.println("FileName="+tempFileName);     /*** Do something withd tempPath and temp FileName ^^; ***/   } } 정렬해서 가져오기 import java.io.FileFilter; import java.io.IOException; import java.util.Arrays; import java.util.Date; import org.apache.commons.io.comparator.LastModifiedFileComparator; import org.apache.commons.io.filefilter.FileFileFilter; public class LastModifiedFileComparatorTest { public static void main(String[] args) throws IOException { File directory = new File("."); // get just files, not directories File[] files = directory.listFiles((FileFilter) FileFileFilter.FILE); System.out.println("Defaul...

UltraEdit Professional Version 18.20.0.1014 라이센스 키 넣기

Step 1: unpack rar archive      Step 2: run the setup   Step 3: Use the given keygen to activate    Add the line   127.0.0.1 licensing.ultraedit.com         to your %WINDOWS%\system32\drivers\etc\hosts file                 Enter any data for license-id and password (license-id must be a         number)                 Choose Offline activation and generate corresponding activation         codes for your user codes   Step 4: Enjoy and Support Developers, Buy It, They Deserved It!