{"id":839,"date":"2025-12-01T09:26:20","date_gmt":"2025-12-01T02:26:20","guid":{"rendered":"https:\/\/kazth.com\/log\/?p=839"},"modified":"2025-12-01T09:28:58","modified_gmt":"2025-12-01T02:28:58","slug":"vpn-%e0%b8%97%e0%b8%b3%e0%b8%87%e0%b8%b2%e0%b8%99%e0%b8%ad%e0%b8%a2%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b9%84%e0%b8%a3","status":"publish","type":"post","link":"https:\/\/kazth.com\/log\/cloud-infra\/vpn-%e0%b8%97%e0%b8%b3%e0%b8%87%e0%b8%b2%e0%b8%99%e0%b8%ad%e0%b8%a2%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b9%84%e0%b8%a3\/","title":{"rendered":"How VPN work \/\/ VPN \u0e17\u0e33\u0e07\u0e32\u0e19\u0e2d\u0e22\u0e48\u0e32\u0e07\u0e44\u0e23? \u0e41\u0e1a\u0e1a\u0e40\u0e02\u0e49\u0e32\u0e43\u0e08\u0e07\u0e48\u0e32\u0e22\u0e46"},"content":{"rendered":"\n<p>\u00a01\ufe0f\u20e3 \u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19\u0e08\u0e32\u0e01\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 (Browser \/ Application)<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e04\u0e38\u0e13\u0e40\u0e1b\u0e34\u0e14\u0e40\u0e27\u0e47\u0e1a\u0e2b\u0e23\u0e37\u0e2d\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e40\u0e14\u0e34\u0e21 (Original Packet) \u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e40\u0e02\u0e49\u0e32\u0e23\u0e2b\u0e31\u0e2a<\/p>\n\n\n\n<p>\u0e1b\u0e23\u0e30\u0e01\u0e2d\u0e1a\u0e14\u0e49\u0e27\u0e22:<\/p>\n\n\n\n<p>&nbsp;\u2022 IP Header<\/p>\n\n\n\n<p>&nbsp;\u2022 TCP Header<\/p>\n\n\n\n<p>&nbsp;\u2022 HTTP Payload (\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e23\u0e34\u0e07)<\/p>\n\n\n\n<p>2\ufe0f\u20e3 \u0e23\u0e30\u0e1a\u0e1a\u0e1b\u0e0f\u0e34\u0e1a\u0e31\u0e15\u0e34\u0e01\u0e32\u0e23\u0e08\u0e30\u0e2a\u0e48\u0e07\u0e41\u0e1e\u0e47\u0e01\u0e40\u0e01\u0e08\u0e44\u0e1b\u0e22\u0e31\u0e07 Virtual Interface (tun0)<\/p>\n\n\n\n<p>&nbsp;\u2022 tun0 \u0e40\u0e1b\u0e47\u0e19 \u201c\u0e0a\u0e48\u0e2d\u0e07\u0e17\u0e32\u0e07\u0e40\u0e2a\u0e21\u0e37\u0e2d\u0e19\u201d \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e40\u0e02\u0e49\u0e32 VPN<\/p>\n\n\n\n<p>&nbsp;\u2022 Routing \u0e08\u0e30\u0e1a\u0e31\u0e07\u0e04\u0e31\u0e1a\u0e43\u0e2b\u0e49\u0e17\u0e23\u0e32\u0e1f\u0e1f\u0e34\u0e01\u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14\u0e27\u0e34\u0e48\u0e07\u0e1c\u0e48\u0e32\u0e19 VPN client<\/p>\n\n\n\n<p>3\ufe0f\u20e3 VPN Client \u0e40\u0e02\u0e49\u0e32\u0e23\u0e2b\u0e31\u0e2a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25<\/p>\n\n\n\n<p>&nbsp;\u2022 VPN Client \u0e23\u0e31\u0e1a\u0e41\u0e1e\u0e47\u0e01\u0e40\u0e01\u0e08\u0e17\u0e35\u0e48\u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e40\u0e02\u0e49\u0e32\u0e23\u0e2b\u0e31\u0e2a<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e17\u0e33\u0e01\u0e32\u0e23 \u201c\u0e40\u0e02\u0e49\u0e32\u0e23\u0e2b\u0e31\u0e2a payload\u201d \u0e43\u0e2b\u0e49\u0e1b\u0e25\u0e2d\u0e14\u0e20\u0e31\u0e22<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19 \u201c\u0e2b\u0e48\u0e2d\u0e0b\u0e49\u0e33\u0e2d\u0e35\u0e01\u0e0a\u0e31\u0e49\u0e19\u201d (Encapsulation) \u0e14\u0e49\u0e27\u0e22<\/p>\n\n\n\n<p>&nbsp;\u2022 New IP Header<\/p>\n\n\n\n<p>&nbsp;\u2022 New UDP\/TCP Header<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e36\u0e07\u0e01\u0e25\u0e32\u0e22\u0e40\u0e1b\u0e47\u0e19 Encrypted VPN Packet<\/p>\n\n\n\n<p>4\ufe0f\u20e3 \u0e2a\u0e48\u0e07\u0e41\u0e1e\u0e47\u0e01\u0e40\u0e01\u0e08\u0e25\u0e07 Physical Network (\u0e40\u0e0a\u0e48\u0e19 eth0 \/ wlan0)<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e15\u0e2d\u0e19\u0e19\u0e35\u0e49\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e48\u0e2a\u0e48\u0e07\u0e2d\u0e2d\u0e01\u0e2d\u0e34\u0e19\u0e40\u0e17\u0e2d\u0e23\u0e4c\u0e40\u0e19\u0e47\u0e15\u0e16\u0e39\u0e01\u0e40\u0e02\u0e49\u0e32\u0e23\u0e2b\u0e31\u0e2a\u0e41\u0e25\u0e49\u0e27<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e04\u0e19\u0e20\u0e32\u0e22\u0e19\u0e2d\u0e01\u0e2b\u0e23\u0e37\u0e2d\u0e40\u0e04\u0e23\u0e37\u0e2d\u0e02\u0e48\u0e32\u0e22\u0e2a\u0e32\u0e18\u0e32\u0e23\u0e13\u0e30\u0e08\u0e30\u0e40\u0e2b\u0e47\u0e19\u0e40\u0e1b\u0e47\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e17\u0e35\u0e48\u0e2d\u0e48\u0e32\u0e19\u0e44\u0e21\u0e48\u0e2d\u0e2d\u0e01<\/p>\n\n\n\n<p>5\ufe0f\u20e3 \u0e40\u0e14\u0e34\u0e19\u0e17\u0e32\u0e07\u0e1c\u0e48\u0e32\u0e19\u0e2d\u0e34\u0e19\u0e40\u0e17\u0e2d\u0e23\u0e4c\u0e40\u0e19\u0e47\u0e15 (Public Internet)<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e1c\u0e39\u0e49\u0e14\u0e31\u0e01\u0e1f\u0e31\u0e07 (ISP, \u0e41\u0e2e\u0e01\u0e40\u0e01\u0e2d\u0e23\u0e4c, WiFi \u0e2a\u0e32\u0e18\u0e32\u0e23\u0e13\u0e30) \u0e44\u0e21\u0e48\u0e23\u0e39\u0e49\u0e27\u0e48\u0e32\u0e04\u0e38\u0e13\u0e40\u0e02\u0e49\u0e32\u0e14\u0e39\u0e40\u0e27\u0e47\u0e1a\u0e2d\u0e30\u0e44\u0e23<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e40\u0e2b\u0e47\u0e19\u0e41\u0e04\u0e48 \u201c\u0e01\u0e49\u0e2d\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e40\u0e02\u0e49\u0e32\u0e23\u0e2b\u0e31\u0e2a\u201d<\/p>\n\n\n\n<p>6\ufe0f\u20e3 \u0e16\u0e36\u0e07 VPN Server \u2192 \u0e16\u0e2d\u0e14\u0e23\u0e2b\u0e31\u0e2a (Decapsulation &amp; Decryption)<\/p>\n\n\n\n<p>&nbsp;\u2022 VPN Server \u0e17\u0e33\u0e2b\u0e19\u0e49\u0e32\u0e17\u0e35\u0e48:<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e16\u0e2d\u0e14\u0e01\u0e32\u0e23\u0e2b\u0e48\u0e2d\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e16\u0e2d\u0e14\u0e23\u0e2b\u0e31\u0e2a\u0e43\u0e2b\u0e49\u0e01\u0e25\u0e31\u0e1a\u0e40\u0e1b\u0e47\u0e19 original packet<\/p>\n\n\n\n<p>7\ufe0f\u20e3 \u0e2a\u0e48\u0e07\u0e15\u0e48\u0e2d\u0e44\u0e1b\u0e22\u0e31\u0e07\u0e40\u0e27\u0e47\u0e1a\u0e17\u0e35\u0e48\u0e04\u0e38\u0e13\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e40\u0e02\u0e49\u0e32<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e40\u0e0a\u0e48\u0e19 Google, Facebook, \u0e2b\u0e23\u0e37\u0e2d\u0e23\u0e30\u0e1a\u0e1a\u0e20\u0e32\u0e22\u0e43\u0e19\u0e1a\u0e23\u0e34\u0e29\u0e31\u0e17<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07\u0e40\u0e2b\u0e47\u0e19\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e40\u0e2b\u0e21\u0e37\u0e2d\u0e19\u0e21\u0e32\u0e08\u0e32\u0e01 VPN server \u0e44\u0e21\u0e48\u0e43\u0e0a\u0e48\u0e40\u0e04\u0e23\u0e37\u0e48\u0e2d\u0e07\u0e04\u0e38\u0e13<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"950\" height=\"1024\" src=\"https:\/\/kazth.com\/log\/wp-content\/uploads\/2025\/12\/vpn-950x1024.png\" alt=\"\" class=\"wp-image-841\" srcset=\"https:\/\/kazth.com\/log\/wp-content\/uploads\/2025\/12\/vpn-950x1024.png 950w, https:\/\/kazth.com\/log\/wp-content\/uploads\/2025\/12\/vpn-278x300.png 278w, https:\/\/kazth.com\/log\/wp-content\/uploads\/2025\/12\/vpn-768x828.png 768w, https:\/\/kazth.com\/log\/wp-content\/uploads\/2025\/12\/vpn.png 1113w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">\ud83d\udc65 \u0e43\u0e04\u0e23\u0e08\u0e30\u0e15\u0e49\u0e2d\u0e07\u0e43\u0e0a\u0e49?<\/h4>\n\n\n\n<p>&nbsp;\u2022 \u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e17\u0e31\u0e48\u0e27\u0e44\u0e1b\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e04\u0e27\u0e32\u0e21\u0e40\u0e1b\u0e47\u0e19\u0e2a\u0e48\u0e27\u0e19\u0e15\u0e31\u0e27<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e04\u0e19\u0e17\u0e35\u0e48\u0e17\u0e33\u0e07\u0e32\u0e19\u0e1c\u0e48\u0e32\u0e19 WiFi \u0e2a\u0e32\u0e18\u0e32\u0e23\u0e13\u0e30<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e2d\u0e07\u0e04\u0e4c\u0e01\u0e23\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e40\u0e02\u0e49\u0e32\u0e16\u0e36\u0e07\u0e23\u0e30\u0e1a\u0e1a\u0e20\u0e32\u0e22\u0e43\u0e19\u0e41\u0e1a\u0e1a\u0e1b\u0e25\u0e2d\u0e14\u0e20\u0e31\u0e22<\/p>\n\n\n\n<p>&nbsp;\u2022 \u0e19\u0e31\u0e01\u0e1e\u0e31\u0e12\u0e19\u0e32\u0e41\u0e25\u0e30\u0e1c\u0e39\u0e49\u0e14\u0e39\u0e41\u0e25\u0e23\u0e30\u0e1a\u0e1a\u0e17\u0e35\u0e48\u0e15\u0e49\u0e2d\u0e07\u0e01\u0e32\u0e23\u0e40\u0e02\u0e49\u0e32\u0e43\u0e08\u0e42\u0e04\u0e23\u0e07\u0e2a\u0e23\u0e49\u0e32\u0e07\u0e40\u0e04\u0e23\u0e37\u0e2d\u0e02\u0e48\u0e32\u0e22<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">VPN \u0e04\u0e37\u0e2d\u0e01\u0e32\u0e23 \u201c\u0e40\u0e02\u0e49\u0e32\u0e23\u0e2b\u0e31\u0e2a\u0e41\u0e25\u0e30\u0e2b\u0e48\u0e2d\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u201d \u0e01\u0e48\u0e2d\u0e19\u0e2a\u0e48\u0e07\u0e1c\u0e48\u0e32\u0e19\u0e2d\u0e34\u0e19\u0e40\u0e17\u0e2d\u0e23\u0e4c\u0e40\u0e19\u0e47\u0e15 \u0e17\u0e33\u0e43\u0e2b\u0e49\u0e1b\u0e25\u0e2d\u0e14\u0e20\u0e31\u0e22\u0e41\u0e25\u0e30\u0e0b\u0e48\u0e2d\u0e19\u0e15\u0e31\u0e27\u0e15\u0e19 \u0e42\u0e14\u0e22\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e30\u0e16\u0e39\u0e01\u0e16\u0e2d\u0e14\u0e23\u0e2b\u0e31\u0e2a\u0e17\u0e35\u0e48 VPN Server \u0e01\u0e48\u0e2d\u0e19\u0e2a\u0e48\u0e07\u0e16\u0e36\u0e07\u0e1b\u0e25\u0e32\u0e22\u0e17\u0e32\u0e07<\/h4>\n","protected":false},"excerpt":{"rendered":"<p>\u00a01\ufe0f\u20e3 \u0e40\u0e23\u0e34\u0e48\u0e21\u0e15\u0e49\u0e19\u0e08\u0e32\u0e01\u0e1c\u0e39\u0e49\u0e43\u0e0a\u0e49\u0e07\u0e32\u0e19 (Browser \/ Application) &nbsp;\u2022 \u0e40\u0e21\u0e37\u0e48\u0e2d\u0e04\u0e38\u0e13\u0e40\u0e1b\u0e34\u0e14\u0e40\u0e27\u0e47\u0e1a\u0e2b\u0e23\u0e37\u0e2d\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 &nbsp;\u2022 \u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e40\u0e14\u0e34\u0e21 (Original Packet) \u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e16\u0e39\u0e01\u0e40\u0e02\u0e49\u0e32\u0e23\u0e2b\u0e31\u0e2a \u0e1b\u0e23\u0e30\u0e01\u0e2d\u0e1a\u0e14\u0e49\u0e27\u0e22: &nbsp;\u2022 IP Header &nbsp;\u2022 TCP Header &nbsp;\u2022 HTTP Payload (\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e08\u0e23\u0e34\u0e07) 2\ufe0f\u20e3 \u0e23\u0e30\u0e1a\u0e1a\u0e1b\u0e0f\u0e34\u0e1a\u0e31\u0e15\u0e34\u0e01\u0e32\u0e23\u0e08\u0e30\u0e2a\u0e48\u0e07\u0e41\u0e1e\u0e47\u0e01\u0e40\u0e01\u0e08\u0e44\u0e1b\u0e22\u0e31\u0e07 Virtual Interface (tun0) &nbsp;\u2022 tun0 \u0e40\u0e1b\u0e47\u0e19 \u201c\u0e0a\u0e48\u0e2d\u0e07\u0e17\u0e32\u0e07\u0e40\u0e2a\u0e21\u0e37\u0e2d\u0e19\u201d \u0e17\u0e35\u0e48\u0e43\u0e0a\u0e49\u0e2a\u0e33\u0e2b\u0e23\u0e31\u0e1a\u0e2a\u0e48\u0e07\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25\u0e40\u0e02\u0e49\u0e32 VPN &nbsp;\u2022 Routing \u0e08\u0e30\u0e1a\u0e31\u0e07\u0e04\u0e31\u0e1a\u0e43\u0e2b\u0e49\u0e17\u0e23\u0e32\u0e1f\u0e1f\u0e34\u0e01\u0e17\u0e31\u0e49\u0e07\u0e2b\u0e21\u0e14\u0e27\u0e34\u0e48\u0e07\u0e1c\u0e48\u0e32\u0e19 VPN client 3\ufe0f\u20e3 VPN Client \u0e40\u0e02\u0e49\u0e32\u0e23\u0e2b\u0e31\u0e2a\u0e02\u0e49\u0e2d\u0e21\u0e39\u0e25 &nbsp;\u2022 VPN Client \u0e23\u0e31\u0e1a\u0e41\u0e1e\u0e47\u0e01\u0e40\u0e01\u0e08\u0e17\u0e35\u0e48\u0e22\u0e31\u0e07\u0e44\u0e21\u0e48\u0e40\u0e02\u0e49\u0e32\u0e23\u0e2b\u0e31\u0e2a &nbsp;\u2022 \u0e17\u0e33\u0e01\u0e32\u0e23 \u201c\u0e40\u0e02\u0e49\u0e32\u0e23\u0e2b\u0e31\u0e2a payload\u201d \u0e43\u0e2b\u0e49\u0e1b\u0e25\u0e2d\u0e14\u0e20\u0e31\u0e22 &nbsp;\u2022 \u0e08\u0e32\u0e01\u0e19\u0e31\u0e49\u0e19 \u201c\u0e2b\u0e48\u0e2d\u0e0b\u0e49\u0e33\u0e2d\u0e35\u0e01\u0e0a\u0e31\u0e49\u0e19\u201d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":840,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24],"tags":[],"class_list":["post-839","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-infra"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/posts\/839","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/comments?post=839"}],"version-history":[{"count":2,"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/posts\/839\/revisions"}],"predecessor-version":[{"id":843,"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/posts\/839\/revisions\/843"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/media\/840"}],"wp:attachment":[{"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/media?parent=839"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/categories?post=839"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kazth.com\/log\/wp-json\/wp\/v2\/tags?post=839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}