<p>&nbsp;참고로 우분투에서 방화벽 설정</p>
<p>&nbsp;</p>
<p style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: #5c5c5c; font-family: &quot;Spoqa Han Sans&quot;, sans-serif; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">vsftpd를 설치한 Ubuntu 서버에는 방화벽이 설정되어 있습니다.</p>
<p style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: #5c5c5c; font-family: &quot;Spoqa Han Sans&quot;, sans-serif; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">아래와 같이 방화벽을 추가합니다.</p>
<pre class="brush:batchfile ace_editor ace-terminal-theme ace_dark" style="overflow: hidden; margin: 28px auto; padding: 16px; position: relative; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 14px; line-height: 20px; font-family: Menlo, Consolas, Monaco, monospace; direction: ltr; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); background-color: black; color: #dedede; overflow-wrap: break-word; height: 20px;"><textarea class="ace_text-input" wrap="off" autocorrect="off" autocapitalize="off" spellcheck="false" style="margin: 0px -1px; padding-top: 0px; padding-right: 1px; padding-left: 1px; vertical-align: middle; outline: none; font: inherit; color: #666666; -webkit-appearance: none; position: absolute; z-index: 0; width: 7.6975px; height: 20px; opacity: 0; background: transparent; border-width: initial; border-style: none; border-color: initial; resize: none; overflow: hidden; text-indent: -1em; user-select: text; left: 45px; top: 0px; white-space: pre !important;"></textarea>
   <div class="ace_gutter" style="margin: 0px; padding: 0px; position: absolute; overflow: hidden; width: auto; top: 0px; bottom: 0px; left: 0px; cursor: default; z-index: 4; user-select: none; background: rgb(26, 0, 5);">
      <div class="ace_layer ace_gutter-layer ace_folding-enabled" style="margin: 0px; padding: 0px; z-index: 1; position: relative; overflow: hidden; overflow-wrap: normal; height: 60px; width: 41px; box-sizing: border-box; pointer-events: auto; text-align: right;">
         <div class="ace_gutter-cell " style="margin: 0px; padding: 0px 13px 0px 19px; background-repeat: no-repeat; height: 20px;"><span style="color: #eeeeee;">1</span></div>
         </div>
      <div class="ace_gutter-active-line" style="margin: 0px; padding: 0px; position: absolute; left: 0px; right: 0px; background-color: #2a112a; top: 0px; height: 20px;"><span style="color: #eeeeee;">&nbsp;</span></div>
      </div>
   <div class="ace_scroller" style="margin: 0px; padding: 0px; position: absolute; overflow: hidden; top: 0px; bottom: 0px; background-color: inherit; user-select: none; cursor: text; left: 41px; right: 0px;">
      <div class="ace_content" style="margin: 0px; padding: 0px; position: absolute; box-sizing: border-box; min-width: 100%; width: 759px; height: 60px;">
         <div class="ace_layer ace_print-margin-layer" style="margin: 0px; padding: 0px; z-index: 1; position: absolute; overflow: hidden; overflow-wrap: normal; height: 60px; width: 759px; box-sizing: border-box; pointer-events: none;">
            <div class="ace_print-margin" style="margin: 0px; padding: 0px; position: absolute; height: 60px; width: 1px; background: rgb(26, 26, 26); left: 619.8px; visibility: hidden;">&nbsp;</div>
            </div>
         <div class="ace_layer ace_marker-layer" style="margin: 0px; padding: 0px; z-index: 1; position: absolute; overflow: hidden; overflow-wrap: normal; height: 60px; width: 759px; box-sizing: border-box; pointer-events: none;">
            <div class="ace_active-line" style="margin: 0px; padding: 0px; position: absolute; z-index: 2; background: rgb(42, 42, 42); height: 20px; top: 0px; left: 0px; right: 0px;">&nbsp;</div>
            </div>
         <div class="ace_layer ace_text-layer" style="margin: 0px; padding: 0px 4px; z-index: 1; position: absolute; overflow: hidden; overflow-wrap: normal; height: 60px; width: 759px; box-sizing: border-box; pointer-events: none; font: inherit !important;">
            <div class="ace_line" style="margin: 0px; padding: 0px; height: 20px;">$ sudo ufw allow 21/tcp</div>
            </div>
         <div class="ace_layer ace_marker-layer" style="margin: 0px; padding: 0px; z-index: 1; position: absolute; overflow: hidden; overflow-wrap: normal; height: 60px; width: 759px; box-sizing: border-box; pointer-events: none;">&nbsp;</div>
         <div class="ace_layer ace_cursor-layer ace_hidden-cursors" style="margin: 0px; padding: 0px; z-index: 4; position: absolute; overflow: hidden; overflow-wrap: normal; height: 60px; width: 759px; box-sizing: border-box; pointer-events: none;">
            <div class="ace_cursor" style="margin: 0px; padding: 0px; z-index: 4; position: absolute; box-sizing: border-box; border-left: 2px solid; transform: translateZ(0px); opacity: 0.2; color: #9f9f9f; left: 4px; top: 0px; width: 7.6975px; height: 20px;">&nbsp;</div>
            </div>
         </div>
      </div>
   <div style="margin: 0px; padding: 0px; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; font: inherit; overflow: hidden;">
      <div style="margin: 0px; padding: 0px; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; font: inherit; overflow: visible;">&nbsp;</div>
      <div style="margin: 0px; padding: 0px; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; overflow: visible;">&nbsp;</div>
      </div>
   </pre>
<p style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: #5c5c5c; font-family: &quot;Spoqa Han Sans&quot;, sans-serif; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">만약 Passive 모드로 사용할 경우 해당 port 대역도 지정해 줍니다.</p>
<pre class="brush:batchfile ace_editor ace-terminal-theme ace_dark" draggable="false" style="overflow: hidden; margin: 28px auto; padding: 16px; position: relative; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 14px; line-height: 20px; font-family: Menlo, Consolas, Monaco, monospace; direction: ltr; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); background-color: black; color: #dedede; overflow-wrap: break-word; height: 20px;"><textarea class="ace_text-input" wrap="off" autocorrect="off" autocapitalize="off" spellcheck="false" style="margin: 0px -1px; padding-top: 0px; padding-right: 1px; padding-left: 1px; vertical-align: middle; outline: none; font: inherit; color: #666666; -webkit-appearance: none; position: absolute; z-index: 0; width: 7.6975px; height: 20px; opacity: 0; background: transparent; border-width: initial; border-style: none; border-color: initial; resize: none; overflow: hidden; text-indent: -1em; user-select: text; left: 60.395px; top: 0px; white-space: pre !important;"></textarea>
   <div class="ace_gutter" style="margin: 0px; padding: 0px; position: absolute; overflow: hidden; width: auto; top: 0px; bottom: 0px; left: 0px; cursor: default; z-index: 4; user-select: none; background: rgb(26, 0, 5); color: steelblue;">
      <div class="ace_layer ace_gutter-layer ace_folding-enabled" style="margin: 0px; padding: 0px; z-index: 1; position: relative; overflow: hidden; overflow-wrap: normal; height: 60px; width: 41px; box-sizing: border-box; pointer-events: auto; text-align: right;">
         <div class="ace_gutter-cell " style="margin: 0px; padding: 0px 13px 0px 19px; background-repeat: no-repeat; height: 20px;">1</div>
         </div>
      <div class="ace_gutter-active-line" style="margin: 0px; padding: 0px; position: absolute; left: 0px; right: 0px; background-color: #2a112a; top: 0px; height: 20px;">&nbsp;</div>
      </div>
   <div class="ace_scroller" style="margin: 0px; padding: 0px; position: absolute; overflow: hidden; top: 0px; bottom: 0px; background-color: inherit; user-select: none; cursor: text; left: 41px; right: 0px;">
      <div class="ace_content" style="margin: 0px; padding: 0px; position: absolute; box-sizing: border-box; min-width: 100%; width: 759px; height: 60px;">
         <div class="ace_layer ace_print-margin-layer" style="margin: 0px; padding: 0px; z-index: 1; position: absolute; overflow: hidden; overflow-wrap: normal; height: 60px; width: 759px; box-sizing: border-box; pointer-events: none;">
            <div class="ace_print-margin" style="margin: 0px; padding: 0px; position: absolute; height: 60px; width: 1px; background: rgb(26, 26, 26); left: 619.8px; visibility: hidden;">&nbsp;</div>
            </div>
         <div class="ace_layer ace_marker-layer" style="margin: 0px; padding: 0px; z-index: 1; position: absolute; overflow: hidden; overflow-wrap: normal; height: 60px; width: 759px; box-sizing: border-box; pointer-events: none;">
            <div class="ace_selection ace_start ace_br15" style="margin: 0px; padding: 0px; border-radius: 3px; position: absolute; z-index: 5; background: rgb(66, 66, 66); height: 20px; width: 215.53px; top: 0px; left: 19.395px;">&nbsp;</div>
            </div>
         <div class="ace_layer ace_text-layer" style="margin: 0px; padding: 0px 4px; z-index: 1; position: absolute; overflow: hidden; overflow-wrap: normal; height: 60px; width: 759px; box-sizing: border-box; pointer-events: none; font: inherit !important;">
            <div class="ace_line" style="margin: 0px; padding: 0px; height: 20px;">$ sudo ufw allow 9900:9999/tcp</div>
            </div>
         <div class="ace_layer ace_marker-layer" style="margin: 0px; padding: 0px; z-index: 1; position: absolute; overflow: hidden; overflow-wrap: normal; height: 60px; width: 759px; box-sizing: border-box; pointer-events: none;">&nbsp;</div>
         <div class="ace_layer ace_cursor-layer ace_hidden-cursors" style="margin: 0px; padding: 0px; z-index: 4; position: absolute; overflow: hidden; overflow-wrap: normal; height: 60px; width: 759px; box-sizing: border-box; pointer-events: none;">
            <div class="ace_cursor" style="margin: 0px; padding: 0px; z-index: 4; position: absolute; box-sizing: border-box; border-left: 2px solid; transform: translateZ(0px); opacity: 0.2; color: #9f9f9f; left: 19.395px; top: 0px; width: 7.6975px; height: 20px;">&nbsp;</div>
            </div>
         </div>
      </div>
   <div style="margin: 0px; padding: 0px; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; font: inherit; overflow: hidden;">
      <div style="margin: 0px; padding: 0px; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; font: inherit; overflow: visible;">&nbsp;</div>
      <div style="margin: 0px; padding: 0px; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; overflow: visible;">&nbsp;</div>
      </div>
   </pre>
<p style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: #5c5c5c; font-family: &quot;Spoqa Han Sans&quot;, sans-serif; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">방화벽 설정을 적용하려면 stop/start를 해줍니다.</p>
<pre class="brush:batchfile ace_editor ace-terminal-theme ace_dark" style="overflow: hidden; margin: 28px auto; padding: 16px; position: relative; font-variant-numeric: normal; font-variant-east-asian: normal; font-stretch: normal; font-size: 14px; line-height: 20px; font-family: Menlo, Consolas, Monaco, monospace; direction: ltr; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); background-color: black; color: #dedede; overflow-wrap: break-word; height: 40px;"><textarea class="ace_text-input" wrap="off" autocorrect="off" autocapitalize="off" spellcheck="false" style="margin: 0px -1px; padding-top: 0px; padding-right: 1px; padding-left: 1px; vertical-align: middle; outline: none; font: inherit; color: #666666; -webkit-appearance: none; position: absolute; z-index: 0; width: 7.6975px; height: 20px; opacity: 0; background: transparent; border-width: initial; border-style: none; border-color: initial; resize: none; overflow: hidden; text-indent: -1em; user-select: text; left: 45px; top: 0px; white-space: pre !important;"></textarea>
   <div class="ace_gutter" style="margin: 0px; padding: 0px; position: absolute; overflow: hidden; width: auto; top: 0px; bottom: 0px; left: 0px; cursor: default; z-index: 4; user-select: none; background: rgb(26, 0, 5); color: steelblue;">
      <div class="ace_layer ace_gutter-layer ace_folding-enabled" style="margin: 0px; padding: 0px; z-index: 1; position: relative; overflow: hidden; overflow-wrap: normal; height: 80px; width: 41px; box-sizing: border-box; pointer-events: auto; text-align: right;">
         <div class="ace_gutter-cell " style="margin: 0px; padding: 0px 13px 0px 19px; background-repeat: no-repeat; height: 20px;">1</div>
         <div class="ace_gutter-cell " style="margin: 0px; padding: 0px 13px 0px 19px; background-repeat: no-repeat; height: 20px;">2</div>
         </div>
      <div class="ace_gutter-active-line" style="margin: 0px; padding: 0px; position: absolute; left: 0px; right: 0px; background-color: #2a112a; top: 0px; height: 20px;">&nbsp;</div>
      </div>
   <div class="ace_scroller" style="margin: 0px; padding: 0px; position: absolute; overflow: hidden; top: 0px; bottom: 0px; background-color: inherit; user-select: none; cursor: text; left: 41px; right: 0px;">
      <div class="ace_content" style="margin: 0px; padding: 0px; position: absolute; box-sizing: border-box; min-width: 100%; width: 759px; height: 80px;">
         <div class="ace_layer ace_print-margin-layer" style="margin: 0px; padding: 0px; z-index: 1; position: absolute; overflow: hidden; overflow-wrap: normal; height: 80px; width: 759px; box-sizing: border-box; pointer-events: none;">
            <div class="ace_print-margin" style="margin: 0px; padding: 0px; position: absolute; height: 80px; width: 1px; background: rgb(26, 26, 26); left: 619.8px; visibility: hidden;">&nbsp;</div>
            </div>
         <div class="ace_layer ace_marker-layer" style="margin: 0px; padding: 0px; z-index: 1; position: absolute; overflow: hidden; overflow-wrap: normal; height: 80px; width: 759px; box-sizing: border-box; pointer-events: none;">
            <div class="ace_active-line" style="margin: 0px; padding: 0px; position: absolute; z-index: 2; background: rgb(42, 42, 42); height: 20px; top: 0px; left: 0px; right: 0px;">&nbsp;</div>
            </div>
         <div class="ace_layer ace_text-layer" style="margin: 0px; padding: 0px 4px; z-index: 1; position: absolute; overflow: hidden; overflow-wrap: normal; height: 80px; width: 759px; box-sizing: border-box; pointer-events: none; font: inherit !important;">
            <div class="ace_line" style="margin: 0px; padding: 0px; height: 20px;">$ sudo ufw disable</div>
            <div class="ace_line" style="margin: 0px; padding: 0px; height: 20px;">$ sudo ufw enable</div>
            </div>
         <div class="ace_layer ace_marker-layer" style="margin: 0px; padding: 0px; z-index: 1; position: absolute; overflow: hidden; overflow-wrap: normal; height: 80px; width: 759px; box-sizing: border-box; pointer-events: none;">&nbsp;</div>
         <div class="ace_layer ace_cursor-layer ace_hidden-cursors" style="margin: 0px; padding: 0px; z-index: 4; position: absolute; overflow: hidden; overflow-wrap: normal; height: 80px; width: 759px; box-sizing: border-box; pointer-events: none;">
            <div class="ace_cursor" style="margin: 0px; padding: 0px; z-index: 4; position: absolute; box-sizing: border-box; border-left: 2px solid; transform: translateZ(0px); opacity: 0.2; color: #9f9f9f; left: 4px; top: 0px; width: 7.6975px; height: 20px;">&nbsp;</div>
            </div>
         </div>
      </div>
   <div style="margin: 0px; padding: 0px; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; font: inherit; overflow: hidden;">
      <div style="margin: 0px; padding: 0px; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; font: inherit; overflow: visible;">&nbsp;</div>
      <div style="margin: 0px; padding: 0px; height: auto; width: auto; top: 0px; left: 0px; visibility: hidden; position: absolute; font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; overflow: visible;">&nbsp;</div>
      </div>
   </pre>
<p style="margin-right: auto; margin-bottom: 28px; margin-left: auto; padding-right: 0px; padding-left: 0px; font-size: 16px; line-height: 28px; color: #5c5c5c; font-family: &quot;Spoqa Han Sans&quot;, sans-serif; background-color: #ffffff; padding-top: 0px !important; padding-bottom: 0px !important;">방화벽 적용이 잘 되었는지 ftp에 연결해 보세요.</p>