{"id":41560,"date":"2024-11-07T16:56:08","date_gmt":"2024-11-07T16:56:08","guid":{"rendered":"https:\/\/atmokpo.com\/w\/?p=41560"},"modified":"2024-11-26T06:36:19","modified_gmt":"2024-11-26T06:36:19","slug":"10-%eb%84%a4%ed%8a%b8%ec%9b%8c%ed%81%ac-%ec%84%a4%ec%a0%95-%eb%b0%8f-%ea%b4%80%eb%a6%ac-iptables%eb%a5%bc-%ec%9d%b4%ec%9a%a9%ed%95%9c-%ea%b3%a0%ea%b8%89-%eb%b0%a9%ed%99%94%eb%b2%bd-%ec%84%a4%ec%a0%95","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/41560\/","title":{"rendered":"10.\ub124\ud2b8\uc6cc\ud06c \uc124\uc815 \ubc0f \uad00\ub9ac, iptables\ub97c \uc774\uc6a9\ud55c \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815"},"content":{"rendered":"<p><body><\/p>\n<h2>1. \uc11c\ub860<\/h2>\n<p>\ub514\uc9c0\ud138 \uc2dc\ub300\uc5d0 \ub124\ud2b8\uc6cc\ud06c \ubcf4\uc548\uc740 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. \ud2b9\ud788 \uc6f9 \uc11c\ubc84\ub97c \uc6b4\uc601\ud558\ub294 \uacbd\uc6b0, \uc678\ubd80\uc758 \uacf5\uaca9\uc73c\ub85c\ubd80\ud130 \ubcf4\ud638\ud560 \ubc29\ud654\ubcbd \uc124\uc815\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 Ubuntu \uc11c\ubc84\uc5d0\uc11c <code>iptables<\/code>\ub97c \uc774\uc6a9\ud55c \ub124\ud2b8\uc6cc\ud06c \uc124\uc815\uacfc \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc758 \ubaa9\ud45c\ub294 \ub3c5\uc790\uac00 \uc2e4\ubb34\uc5d0\uc11c \uc801\uc6a9\ud560 \uc218 \uc788\ub294 \uc9d1\uc57d\uc801\uc774\uace0 \uc885\ud569\uc801\uc778 \uac00\uc774\ub4dc\ub97c \uc81c\uacf5\ud558\ub294 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<h2>2. \ub124\ud2b8\uc6cc\ud06c \uae30\ubcf8 \uc124\uc815<\/h2>\n<h3>2.1. IP \uc8fc\uc18c \ubc0f \uc11c\ube0c\ub137 \uc124\uc815<\/h3>\n<p>\uc11c\ubc84\uc758 IP \uc8fc\uc18c\ub97c \uc124\uc815\ud558\ub294 \uac83\uc774 \uccab \ub2e8\uacc4\uc785\ub2c8\ub2e4. Ubuntu\uc5d0\uc11c\ub294 <code>netplan<\/code>\uc744 \ud1b5\ud574 \ub124\ud2b8\uc6cc\ud06c \uc124\uc815\uc744 \uad00\ub9ac\ud569\ub2c8\ub2e4. \uc77c\ubc18\uc801\uc73c\ub85c \uc124\uce58 \uc2dc DHCP\ub97c \uc0ac\uc6a9\ud558\uc9c0\ub9cc, \uace0\uc815 IP\ub85c \ubcc0\uacbd\ud560 \ud544\uc694\uac00 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>sudo nano \/etc\/netplan\/01-netcfg.yaml<\/code><\/pre>\n<p>\uc774 \ud30c\uc77c\uc5d0\uc11c \ub2e4\uc74c\uacfc \uac19\uc774 \uc124\uc815\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>network:\n    version: 2\n    renderer: networkd\n    ethernets:\n        enp0s3:\n            dhcp4: no\n            addresses:\n                - 192.168.1.10\/24\n            gateway4: 192.168.1.1\n            nameservers:\n                addresses: [8.8.8.8, 8.8.4.4]\n    <\/code><\/pre>\n<p>\uc800\uc7a5 \ud6c4, \ub2e4\uc74c \uba85\ub839\uc5b4\ub85c \ubcc0\uacbd \uc0ac\ud56d\uc744 \uc801\uc6a9\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>sudo netplan apply<\/code><\/pre>\n<h3>2.2. \ubc29\ud654\ubcbd \uae30\ubcf8 \uc124\uc815<\/h3>\n<p>\ub124\ud2b8\uc6cc\ud06c\uac00 \uc124\uc815\ub418\uba74 \uae30\ubcf8 \ubc29\ud654\ubcbd\uc744 \uc124\uc815\ud569\ub2c8\ub2e4. Ubuntu\ub294 \uae30\ubcf8\uc801\uc73c\ub85c <code>ufw<\/code>(Uncomplicated Firewall)\ub97c \uc81c\uacf5\ud569\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc774 \uae30\ubcf8 \uaddc\uce59\uc744 \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>sudo ufw allow OpenSSH\n    sudo ufw enable<\/code><\/pre>\n<p>\uc774\ub807\uac8c \ud568\uc73c\ub85c\uc368 SSH \uc811\uc18d\uc744 \ud5c8\uc6a9\ud558\uace0 \ubc29\ud654\ubcbd\uc744 \ud65c\uc131\ud654\ud569\ub2c8\ub2e4.<\/p>\n<h2>3. iptables \uc18c\uac1c<\/h2>\n<p>iptables\ub294 Linux \uae30\ubc18\uc758 \ubc29\ud654\ubcbd\uc774\ub2e4. \ud328\ud0b7 \ud544\ud130\ub9c1, NAT(\ub124\ud2b8\uc6cc\ud06c \uc8fc\uc18c \ubcc0\ud658) \ubc0f \ud3ec\ud2b8\ud3ec\uc6cc\ub529\uacfc \uac19\uc740 \uae30\ub2a5\uc744 \uc81c\uacf5\ud558\uba70, \uace0\uae09 \ubcf4\uc548 \uc124\uc815\uc744 \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. iptables\ub294 \uae30\ubcf8\uc801\uc73c\ub85c 4\uac1c\uc758 \uccb4\uc778\uc744 \uac00\uc9c0\uace0 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li><strong>INPUT<\/strong>: \uc2dc\uc2a4\ud15c\uc73c\ub85c \ub4e4\uc5b4\uc624\ub294 \ud328\ud0b7\uc5d0 \ub300\ud55c \uaddc\uce59<\/li>\n<li><strong>OUTPUT<\/strong>: \uc2dc\uc2a4\ud15c\uc5d0\uc11c \ub098\uac00\ub294 \ud328\ud0b7\uc5d0 \ub300\ud55c \uaddc\uce59<\/li>\n<li><strong>FORWARD<\/strong>: \uc2dc\uc2a4\ud15c\uc744 \ud1b5\ud574 \ub2e4\ub978 \ub124\ud2b8\uc6cc\ud06c\ub85c \uc804\ub2ec\ub418\ub294 \ud328\ud0b7\uc5d0 \ub300\ud55c \uaddc\uce59<\/li>\n<li><strong>PREROUTING<\/strong>: \ud328\ud0b7\uc774 \ub77c\uc6b0\ud305\ub418\ub294 \uacbd\ub85c\ub97c \ubcc0\uacbd\ud558\uae30 \uc704\ud574 \uc0ac\uc6a9<\/li>\n<li><strong>POSTROUTING<\/strong>: \ud328\ud0b7\uc774 \uc804\uc1a1\ub41c \ud6c4 \uaddc\uce59\uc744 \uc801\uc6a9<\/li>\n<\/ul>\n<h2>4. iptables \uc124\uce58 \ubc0f \uae30\ubcf8 \uc0ac\uc6a9\ubc95<\/h2>\n<h3>4.1. iptables \uc124\uce58<\/h3>\n<p>Ubuntu\uc5d0 \uae30\ubcf8\uc801\uc73c\ub85c \uc124\uce58\ub418\uc5b4 \uc788\uc9c0\ub9cc, \uc124\uce58 \uc0c1\ud0dc\ub97c \ud655\uc778\ud558\uac70\ub098 \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>sudo apt update\n    sudo apt install iptables<\/code><\/pre>\n<h3>4.2. \uae30\ubcf8 \uba85\ub839\uc5b4<\/h3>\n<p>iptables\uc758 \uae30\ubcf8\uc801\uc778 \uc0ac\uc6a9\ubc95\uc744 \uc18c\uac1c\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>sudo iptables -L            # \uaddc\uce59 \ub9ac\uc2a4\ud2b8 \ud655\uc778\n    sudo iptables -F            # \ubaa8\ub4e0 \uaddc\uce59 \uc81c\uac70\n    sudo iptables -S            # \uaddc\uce59 \ud655\uc778<\/code><\/pre>\n<h2>5. \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815<\/h2>\n<p>\uc774\uc81c \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815\uc744 \uc704\ud55c \uba87 \uac00\uc9c0 \uc608\uc81c\ub97c \ub2e4\ub8f0 \uac83\uc785\ub2c8\ub2e4. \ub2e4\uc591\ud55c \uc720\ud615\uc758 \ud2b8\ub798\ud53d\uc744 \ud544\ud130\ub9c1\ud558\uace0, \ud2b9\uc815 \uc870\uac74\uc5d0 \ub9de\ub294 \ud328\ud0b7\uc744 \ucc28\ub2e8\ud558\uac70\ub098 \ud5c8\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>5.1. \ud2b9\uc815 IP \uc8fc\uc18c \ucc28\ub2e8<\/h3>\n<p>\ud2b9\uc815 IP \uc8fc\uc18c\ub85c\ubd80\ud130\uc758 \uc811\uadfc\uc744 \ucc28\ub2e8\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>sudo iptables -A INPUT -s 203.0.113.0 -j DROP<\/code><\/pre>\n<p>\uc774 \uba85\ub839\uc5b4\ub294 203.0.113.0 IP \uc8fc\uc18c\uc5d0\uc11c \uc624\ub294 \ubaa8\ub4e0 \ud328\ud0b7\uc744 \ucc28\ub2e8\ud569\ub2c8\ub2e4.<\/p>\n<h3>5.2. \ud2b9\uc815 \ud3ec\ud2b8 \ucc28\ub2e8<\/h3>\n<p>\ud2b9\uc815 \ud3ec\ud2b8\ub85c\uc758 \uc811\uadfc\uc744 \ucc28\ub2e8\ud560 \ub54c\ub294 \ub2e4\uc74c\uacfc \uac19\uc774 \uc124\uc815\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>sudo iptables -A INPUT -p tcp --dport 23 -j DROP<\/code><\/pre>\n<p>\uc774 \uba85\ub839\uc5b4\ub294 Telnet \ud3ec\ud2b8(23\ubc88)\ub97c \ucc28\ub2e8\ud569\ub2c8\ub2e4.<\/p>\n<h3>5.3. \ud2b9\uc815 IP \uc8fc\uc18c\uc5d0 \ub300\ud574\uc11c\ub9cc \ud5c8\uc6a9<\/h3>\n<p>\ud2b9\uc815 IP \uc8fc\uc18c\uc5d0 \ub300\ud574\uc11c\ub9cc \ud3ec\ud2b8\ub97c \ud5c8\uc6a9\ud558\ub824\uba74, \ub2e4\uc74c\uacfc \uac19\uc774 \uc124\uc815\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>sudo iptables -A INPUT -p tcp -s 192.168.1.100 --dport 80 -j ACCEPT<\/code><\/pre>\n<p>\uc774 \uba85\ub839\uc5b4\ub294 192.168.1.100 IP \uc8fc\uc18c\uc5d0\uc11c \uc624\ub294 HTTP \uc694\uccad\uc744 \ud5c8\uc6a9\ud569\ub2c8\ub2e4.<\/p>\n<h3>5.4. \ud3ec\ud2b8 \ud3ec\uc6cc\ub529 \uc124\uc815<\/h3>\n<p>\uc11c\ubc84\uac00 \ud3ec\ud2b8\ub97c \ud3ec\uc6cc\ub529\ud560 \uc218 \uc788\ub3c4\ub85d \uc124\uc815\ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, 8080 \ud3ec\ud2b8\ub85c \ub4e4\uc5b4\uc624\ub294 \uc694\uccad\uc744 80 \ud3ec\ud2b8\ub85c \uc804\ub2ec\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc774 \uc124\uc815\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>sudo iptables -t nat -A PREROUTING -p tcp --dport 8080 -j REDIRECT --to-port 80<\/code><\/pre>\n<h2>6. iptables \uad00\ub9ac\ud558\uae30<\/h2>\n<h3>6.1. iptables \uaddc\uce59 \uc800\uc7a5<\/h3>\n<p>\uc124\uc815\ud55c \uaddc\uce59\uc744 \uc601\uad6c\uc801\uc73c\ub85c \uc800\uc7a5\ud558\ub824\uba74, <code>iptables-persistent<\/code> \ud328\ud0a4\uc9c0\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>sudo apt install iptables-persistent<\/code><\/pre>\n<p>\uc124\uce58\ud558\ub294 \ub3d9\uc548 \uc800\uc7a5\ud558\uae38 \uc6d0\ud558\ub294 \uaddc\uce59\uc744 \uc120\ud0dd\ud558\uac8c \ub429\ub2c8\ub2e4.<\/p>\n<h3>6.2. \uaddc\uce59 \ubcf5\uc6d0<\/h3>\n<p>\ub2e4\uc2dc \uc2dc\uc791\ud560 \ub54c \uc790\ub3d9\uc73c\ub85c iptables \uaddc\uce59\uc744 \ubcf5\uc6d0\ud574\uc57c \ud560 \uacbd\uc6b0, \uc800\uc7a5\ub41c \uaddc\uce59 \ud30c\uc77c\uc744 \uc774\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c \uba85\ub839\uc5b4\ub85c \ubcf5\uc6d0\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>sudo iptables-restore &lt; \/etc\/iptables\/rules.v4<\/code><\/pre>\n<h2>7. \ubaa8\ub2c8\ud130\ub9c1 \ubc0f \ub85c\uadf8 \uc124\uc815<\/h2>\n<p>\ubc29\ud654\ubcbd \ub85c\uadf8\ub97c \ud1b5\ud574 \uc5b4\ub5a4 \ud328\ud0b7\uc774 \ucc28\ub2e8\ub418\uc5c8\ub294\uc9c0 \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. iptables \ub85c\uadf8\ub97c \uc124\uc815\ud558\ub824\uba74 \ub2e4\uc74c\uacfc \uac19\uc774 \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>sudo iptables -A INPUT -j LOG --log-prefix \"iptables: \" --log-level 4<\/code><\/pre>\n<p>\ub85c\uadf8\ub294 <code>\/var\/log\/syslog<\/code> \ud30c\uc77c\uc5d0\uc11c \ud655\uc778\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>8. \uacb0\ub860<\/h2>\n<p>\uc624\ub298\ub0a0 \ubcf4\uc548 \uc704\ud611\uc774 \uc99d\uac00\ud568\uc5d0 \ub530\ub77c, \uc11c\ubc84\uc5d0 \ub300\ud55c \ubc29\ud654\ubcbd \uc124\uc815\uc740 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. Ubuntu\uc5d0\uc11c iptables\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub124\ud2b8\uc6cc\ud06c\ub97c \ubcf4\ud638\ud558\ub294 \ubc29\ubc95\uc744 \ubc30\uc6e0\uc2b5\ub2c8\ub2e4. \uae30\ubcf8 \uc124\uc815\ubd80\ud130 \uace0\uae09 \uc124\uc815\uae4c\uc9c0 \uc9c4\ud589\ud558\uba70, \uc2e4\ubb34\uc5d0\uc11c \uc720\uc6a9\ud558\uac8c \ud65c\uc6a9\ud560 \uc218 \uc788\ub3c4\ub85d \ud588\uc2b5\ub2c8\ub2e4. \ubc29\ud654\ubcbd \uaddc\uce59\uc744 \uc790\uc8fc \uac80\ud1a0\ud558\uace0, \ud544\uc694\uc5d0 \ub530\ub77c \uaddc\uce59\uc744 \uc5c5\ub370\uc774\ud2b8\ud558\ub294 \uac83\uc774 \uc911\uc694\ud569\ub2c8\ub2e4.<\/p>\n<h2>9. \ucc38\uace0 \uc790\ub8cc<\/h2>\n<ul>\n<li><a href=\"https:\/\/help.ubuntu.com\/community\/IptablesHowTo\" target=\"_blank\" rel=\"noopener\">Ubuntu Iptables Help<\/a><\/li>\n<li><a href=\"http:\/\/www.netfilter.org\/documentation\/index.html\" target=\"_blank\" rel=\"noopener\">Netfilter Project Documentation<\/a><\/li>\n<li><a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-set-up-an-iptables-firewall-on-ubuntu-18-04\" target=\"_blank\" rel=\"noopener\">DigitalOcean Iptables Tutorial<\/a><\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \uc11c\ub860 \ub514\uc9c0\ud138 \uc2dc\ub300\uc5d0 \ub124\ud2b8\uc6cc\ud06c \ubcf4\uc548\uc740 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. \ud2b9\ud788 \uc6f9 \uc11c\ubc84\ub97c \uc6b4\uc601\ud558\ub294 \uacbd\uc6b0, \uc678\ubd80\uc758 \uacf5\uaca9\uc73c\ub85c\ubd80\ud130 \ubcf4\ud638\ud560 \ubc29\ud654\ubcbd \uc124\uc815\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 Ubuntu \uc11c\ubc84\uc5d0\uc11c iptables\ub97c \uc774\uc6a9\ud55c \ub124\ud2b8\uc6cc\ud06c \uc124\uc815\uacfc \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc758 \ubaa9\ud45c\ub294 \ub3c5\uc790\uac00 \uc2e4\ubb34\uc5d0\uc11c \uc801\uc6a9\ud560 \uc218 \uc788\ub294 \uc9d1\uc57d\uc801\uc774\uace0 \uc885\ud569\uc801\uc778 \uac00\uc774\ub4dc\ub97c \uc81c\uacf5\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. 2. \ub124\ud2b8\uc6cc\ud06c \uae30\ubcf8 \uc124\uc815 2.1. IP \uc8fc\uc18c \ubc0f \uc11c\ube0c\ub137 \uc124\uc815 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/41560\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;10.\ub124\ud2b8\uc6cc\ud06c \uc124\uc815 \ubc0f \uad00\ub9ac, iptables\ub97c \uc774\uc6a9\ud55c \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[179],"tags":[],"class_list":["post-41560","post","type-post","status-publish","format-standard","hentry","category-179"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>10.\ub124\ud2b8\uc6cc\ud06c \uc124\uc815 \ubc0f \uad00\ub9ac, iptables\ub97c \uc774\uc6a9\ud55c \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/41560\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"10.\ub124\ud2b8\uc6cc\ud06c \uc124\uc815 \ubc0f \uad00\ub9ac, iptables\ub97c \uc774\uc6a9\ud55c \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"1. \uc11c\ub860 \ub514\uc9c0\ud138 \uc2dc\ub300\uc5d0 \ub124\ud2b8\uc6cc\ud06c \ubcf4\uc548\uc740 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. \ud2b9\ud788 \uc6f9 \uc11c\ubc84\ub97c \uc6b4\uc601\ud558\ub294 \uacbd\uc6b0, \uc678\ubd80\uc758 \uacf5\uaca9\uc73c\ub85c\ubd80\ud130 \ubcf4\ud638\ud560 \ubc29\ud654\ubcbd \uc124\uc815\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 Ubuntu \uc11c\ubc84\uc5d0\uc11c iptables\ub97c \uc774\uc6a9\ud55c \ub124\ud2b8\uc6cc\ud06c \uc124\uc815\uacfc \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc758 \ubaa9\ud45c\ub294 \ub3c5\uc790\uac00 \uc2e4\ubb34\uc5d0\uc11c \uc801\uc6a9\ud560 \uc218 \uc788\ub294 \uc9d1\uc57d\uc801\uc774\uace0 \uc885\ud569\uc801\uc778 \uac00\uc774\ub4dc\ub97c \uc81c\uacf5\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. 2. \ub124\ud2b8\uc6cc\ud06c \uae30\ubcf8 \uc124\uc815 2.1. IP \uc8fc\uc18c \ubc0f \uc11c\ube0c\ub137 \uc124\uc815 &hellip; \ub354 \ubcf4\uae30 &quot;10.\ub124\ud2b8\uc6cc\ud06c \uc124\uc815 \ubc0f \uad00\ub9ac, iptables\ub97c \uc774\uc6a9\ud55c \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/41560\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-07T16:56:08+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:36:19+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/41560\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/41560\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"10.\ub124\ud2b8\uc6cc\ud06c \uc124\uc815 \ubc0f \uad00\ub9ac, iptables\ub97c \uc774\uc6a9\ud55c \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815\",\"datePublished\":\"2024-11-07T16:56:08+00:00\",\"dateModified\":\"2024-11-26T06:36:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/41560\/\"},\"wordCount\":48,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\uc11c\ubc84\uad6c\ucd95\uc6b4\uc601\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/41560\/\",\"url\":\"https:\/\/atmokpo.com\/w\/41560\/\",\"name\":\"10.\ub124\ud2b8\uc6cc\ud06c \uc124\uc815 \ubc0f \uad00\ub9ac, iptables\ub97c \uc774\uc6a9\ud55c \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-07T16:56:08+00:00\",\"dateModified\":\"2024-11-26T06:36:19+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/41560\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/41560\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/41560\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"10.\ub124\ud2b8\uc6cc\ud06c \uc124\uc815 \ubc0f \uad00\ub9ac, iptables\ub97c \uc774\uc6a9\ud55c \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"10.\ub124\ud2b8\uc6cc\ud06c \uc124\uc815 \ubc0f \uad00\ub9ac, iptables\ub97c \uc774\uc6a9\ud55c \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/41560\/","og_locale":"ko_KR","og_type":"article","og_title":"10.\ub124\ud2b8\uc6cc\ud06c \uc124\uc815 \ubc0f \uad00\ub9ac, iptables\ub97c \uc774\uc6a9\ud55c \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"1. \uc11c\ub860 \ub514\uc9c0\ud138 \uc2dc\ub300\uc5d0 \ub124\ud2b8\uc6cc\ud06c \ubcf4\uc548\uc740 \ud544\uc218\uc801\uc785\ub2c8\ub2e4. \ud2b9\ud788 \uc6f9 \uc11c\ubc84\ub97c \uc6b4\uc601\ud558\ub294 \uacbd\uc6b0, \uc678\ubd80\uc758 \uacf5\uaca9\uc73c\ub85c\ubd80\ud130 \ubcf4\ud638\ud560 \ubc29\ud654\ubcbd \uc124\uc815\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \ubcf8 \uae00\uc5d0\uc11c\ub294 Ubuntu \uc11c\ubc84\uc5d0\uc11c iptables\ub97c \uc774\uc6a9\ud55c \ub124\ud2b8\uc6cc\ud06c \uc124\uc815\uacfc \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc758 \ubaa9\ud45c\ub294 \ub3c5\uc790\uac00 \uc2e4\ubb34\uc5d0\uc11c \uc801\uc6a9\ud560 \uc218 \uc788\ub294 \uc9d1\uc57d\uc801\uc774\uace0 \uc885\ud569\uc801\uc778 \uac00\uc774\ub4dc\ub97c \uc81c\uacf5\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. 2. \ub124\ud2b8\uc6cc\ud06c \uae30\ubcf8 \uc124\uc815 2.1. IP \uc8fc\uc18c \ubc0f \uc11c\ube0c\ub137 \uc124\uc815 &hellip; \ub354 \ubcf4\uae30 \"10.\ub124\ud2b8\uc6cc\ud06c \uc124\uc815 \ubc0f \uad00\ub9ac, iptables\ub97c \uc774\uc6a9\ud55c \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815\"","og_url":"https:\/\/atmokpo.com\/w\/41560\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-07T16:56:08+00:00","article_modified_time":"2024-11-26T06:36:19+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/41560\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/41560\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"10.\ub124\ud2b8\uc6cc\ud06c \uc124\uc815 \ubc0f \uad00\ub9ac, iptables\ub97c \uc774\uc6a9\ud55c \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815","datePublished":"2024-11-07T16:56:08+00:00","dateModified":"2024-11-26T06:36:19+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/41560\/"},"wordCount":48,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\uc11c\ubc84\uad6c\ucd95\uc6b4\uc601"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/41560\/","url":"https:\/\/atmokpo.com\/w\/41560\/","name":"10.\ub124\ud2b8\uc6cc\ud06c \uc124\uc815 \ubc0f \uad00\ub9ac, iptables\ub97c \uc774\uc6a9\ud55c \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-07T16:56:08+00:00","dateModified":"2024-11-26T06:36:19+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/41560\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/41560\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/41560\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"10.\ub124\ud2b8\uc6cc\ud06c \uc124\uc815 \ubc0f \uad00\ub9ac, iptables\ub97c \uc774\uc6a9\ud55c \uace0\uae09 \ubc29\ud654\ubcbd \uc124\uc815"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/41560","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=41560"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/41560\/revisions"}],"predecessor-version":[{"id":41561,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/41560\/revisions\/41561"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=41560"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=41560"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=41560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}