로그인
Sign in

L4 설정 후 ftp 접속후 ls명령어 안되는 경우

 

1. default gateway를 L4 스위치 1.x.x.7로 설정

 

2. L4 스위치에서 proxy 모드로 설정

 

3. [skt-windapd01 ~]$ ftp 15

Connected to 150).

220 {WARNING:Authorized use only}

Name (1501): 

331 Please specify the password.

Password:

230 Login successful.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> ls

227 Entering Passive Mode (1).

425 Security: Bad IP connecting.    <---- 이 메세지 발생하여 아래의 구문 추가

ftp> pass

Passive mode off.

ftp> ls

500 Illegal PORT command.

ftp: bind: Address already in use

 

4. /etc/vsftpd/vsftpd.conf에 추가

pasv_promiscuous=yes

 

---------

 

  (15) 에서 작업했습니다.

 

 

1번 서버에 직접 접속

[g@-wi1 ~]$ ftp

Connected to 1

220 {WARNING:Authorized use only}

Name (15

331 Please specify the password.

Password:

230 Login successful.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> ls

227 Entering Passive Mode (19).

150 Here comes the directory listing.

-rw-rw-r--    1 1008     1008            0 Jul 10 11:39 1st_server.chk

226 Directory send OK.

ftp> bye

221 Goodbye.

 

2번 서버에 직접 접속

[g1 ~]$ ftp 15

Connected to 1

220 {WARNING:Authorized use only}

Name (15

331 Please specify the password.

Password:

230 Login successful.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> ls

227 Entering Passive Mode (10).

150 Here comes the directory listing.

-rw-rw-r--    1 1008     1008            0 Jul 10 11:40 2nd_server.chk

-rwxrwxrwx    1 0        0           21533 Jun 08 13:26 mkdir_0601.sh

226 Directory send OK.

ftp> bye

221 Goodbye.

 

L4로 접속

[@s~]$ ftp 1

Connected to ).

220 {WARNING:Authorized use only}

Name (150.):

331 Please specify the password.

Password:

230 Login successful.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> ls

227 Entering Passive Mode (150,3).

ftp: connect: 연결 시간 초과

ftp> bye

221 Goodbye.

 

 

List of Articles
번호 제목 글쓴이 날짜 조회 수
공지 자주 사용하는 명령어 제비게릴라 2019-06-27 179
252 Centos 7에서 Docker, Docker Compose 설치 방법 제비게릴라 2025-02-25 6
251 Rocky Linux 9에서 bonding 설정 작업 제비게릴라 2025-02-22 8
250 python 3.10 설치 방법 제비게릴라 2025-02-19 4
249 megaRaid 명령어 제비게릴라 2024-04-17 107
248 azcopy github에서 소스 받아 설치하기.. 제비게릴라 2024-01-23 13
247 ssh 접속 알고리즘 문제로 로그인 오류 제비게릴라 2024-01-10 169
246 centos7 firewalld 설정 방법 제비게릴라 2023-12-01 32
245 dmidecode 값 제비게릴라 2023-08-25 16
244 sftp umask 설정 방법 제비게릴라 2023-08-16 86
» L4 설정 후 ftp 접속후 ls명령어 안되는 경우 제비게릴라 2023-07-12 64
242 Ubuntu 패키지 업데이트 에러: dpkg: error processing package update-notifier-common (–configure): 제비게릴라 2023-01-19 134
241 centos 6에서 gcc 5버전, cmake 설치 제비게릴라 2022-12-08 93
240 리눅스 백업 후 원복 제비게릴라 2022-10-17 14
239 php pdo-mysql 확장모듈 설치 제비게릴라 2022-01-10 85
238 apache 소스파일을 rpm으로 컴파일 방법 제비게릴라 2022-01-10 103
237 ACPI Error 해결방법 [1] 제비게릴라 2021-12-18 93
236 net_ratelimit ping: sendmsg: Invalid argument 또는 kernel: Neighbour table overflow 발생시.. 제비게릴라 2021-08-25 181
235 tar 디렉토리 구조만 묶는 방법 제비게릴라 2021-04-23 156
234 openssl source 설치 제비게릴라 2021-03-10 269
233 vnc 설정 방법 제비게릴라 2020-10-20 25