포트 변경 하는 방법
/etc/services 파일 포트 수정
수정 전
ftp-data 20/tcp
ftp-data 20/udp
# 21 is registered to ftp, but also used by fsp
ftp 21/tcp
ftp 21/udp fsp fspd
ftp-data 20/udp
# 21 is registered to ftp, but also used by fsp
ftp 21/tcp
ftp 21/udp fsp fspd
수정 후
ftp-data 6500/tcp
ftp-data 6500/udp
# 21 is registered to ftp, but also used by fsp
ftp 6500/tcp
ftp 6500/udp fsp fspd
ftp-data 6500/udp
# 21 is registered to ftp, but also used by fsp
ftp 6500/tcp
ftp 6500/udp fsp fspd
/etc/vsftpd/vsftpd.conf
수정 전
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
connect_from_port_20=YES
수정 후
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=NO
connect_from_port_20=NO
추가
listen_port=6500
변경 작업 후 리스타트
svcadm disable /network/ftp/tcpsvcadm enable /network/ftp/tcp
포트 변경 완료
댓글 2개
13년 전
좋은정보이네요..
추천..
추천..
쉽다zzz
12년 전
굿이요~
게시판 목록
팁게시판
디자인과 관련된 유용한 정보를 공유하세요.
질문은 상단의 QA에서 해주시기 바랍니다.
질문은 상단의 QA에서 해주시기 바랍니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 52 | 20년 전 | 2669 | ||
| 51 |
prosper
|
20년 전 | 2316 | |
| 50 |
prosper
|
20년 전 | 2138 | |
| 49 | 20년 전 | 2148 | ||
| 48 | 20년 전 | 2293 | ||
| 47 | 20년 전 | 1910 | ||
| 46 | 20년 전 | 1915 | ||
| 45 | 20년 전 | 2109 | ||
| 44 | 20년 전 | 2349 | ||
| 43 | 21년 전 | 4560 | ||
| 42 |
prosper
|
21년 전 | 2692 | |
| 41 |
prosper
|
21년 전 | 2097 | |
| 40 | 21년 전 | 2161 | ||
| 39 | 21년 전 | 2113 | ||
| 38 | 21년 전 | 2387 | ||
| 37 | 21년 전 | 2532 | ||
| 36 | 21년 전 | 1738 | ||
| 35 | 21년 전 | 4049 | ||
| 34 | 21년 전 | 3829 | ||
| 33 | 21년 전 | 2952 | ||
| 32 |
prosper
|
21년 전 | 2861 | |
| 31 | 21년 전 | 5231 | ||
| 30 |
아우겐나이스
|
21년 전 | 4010 | |
| 29 |
아우겐나이스
|
21년 전 | 4410 | |
| 28 |
아우겐나이스
|
21년 전 | 3422 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기