<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Networking - 태그 - lee's blog</title><link>https://ken-0913.github.io/myblog/tags/networking/</link><description>Networking - 태그 - lee's blog</description><generator>Hugo -- gohugo.io</generator><language>ko-kr</language><managingEditor>hyeonjae0913@gmail.com (ken-0913)</managingEditor><webMaster>hyeonjae0913@gmail.com (ken-0913)</webMaster><lastBuildDate>Wed, 22 Jul 2026 10:00:00 +0900</lastBuildDate><atom:link href="https://ken-0913.github.io/myblog/tags/networking/" rel="self" type="application/rss+xml"/><item><title>LFCS 자격 준비 (3) Networking 실전 문제 + 연습 터미널</title><link>https://ken-0913.github.io/myblog/posts/lfcs/lfcs-03-networking/</link><pubDate>Wed, 22 Jul 2026 10:00:00 +0900</pubDate><author><name>ken-0913</name></author><guid>https://ken-0913.github.io/myblog/posts/lfcs/lfcs-03-networking/</guid><description><![CDATA[<div class="featured-image">
                <img src="images/banners/lfcs-03-networking-e856c7d0.png" referrerpolicy="no-referrer">
            </div><p>LFCS 시리즈 세 번째 편으로 <strong>Networking (25%)</strong> 도메인을 다룬다.
시간 동기화, 패킷 필터링(iptables), 원격 파일시스템, 로드밸런서, OpenSSH가 핵심 주제이다.
정리 후 마지막의 <strong>인터랙티브 연습 터미널</strong>에서 명령을 직접 입력해 본다.</p>
<h2 id="1-시간-동기화" class="headerLink">
    <a href="#1-%ec%8b%9c%ea%b0%84-%eb%8f%99%ea%b8%b0%ed%99%94" class="header-mark"></a>1. 시간 동기화</h2><p>현재 시간·타임존·동기화 상태는 <code>timedatectl</code>로 한 번에 확인한다.
NTP 서버는 <code>/etc/systemd/timesyncd.conf</code>의 <code>NTP</code>(주 서버)와 <code>FallbackNTP</code>(대체)로 설정한다.
설정 후 <code>systemctl restart systemd-timesyncd</code>로 서비스를 재시작한다.</p>
<ul>
<li><strong>상태 확인</strong>: <code>timedatectl</code></li>
<li><strong>설정 파일</strong>: <code>/etc/systemd/timesyncd.conf</code> — <code>NTP=</code>, <code>FallbackNTP=</code>, <code>PollIntervalMaxSec=</code>, <code>ConnectionRetrySec=</code></li>
</ul>
<h2 id="2-패킷-필터링-iptables" class="headerLink">
    <a href="#2-%ed%8c%a8%ed%82%b7-%ed%95%84%ed%84%b0%eb%a7%81-iptables" class="header-mark"></a>2. 패킷 필터링 (iptables)</h2><p>필터 규칙은 <code>INPUT</code>/<code>OUTPUT</code>/<code>FORWARD</code> 체인에, NAT는 <code>-t nat</code>의 <code>PREROUTING</code> 등에 넣는다.
포트 차단은 <code>-j DROP</code>, 리다이렉트는 <code>REDIRECT --to-port</code>, 특정 IP 허용은 <code>-s</code>이다.</p>]]></description></item></channel></rss>