{"id":468673,"date":"2020-10-19T00:00:00","date_gmt":"2020-10-19T00:00:00","guid":{"rendered":"https:\/\/proxycompass.com\/knowledge-base\/how-do-proxy-servers-work\/"},"modified":"2024-04-30T08:43:14","modified_gmt":"2024-04-30T08:43:14","slug":"how-do-proxy-servers-work","status":"publish","type":"knowledge-base","link":"https:\/\/proxycompass.com\/vi\/knowledge-base\/how-do-proxy-servers-work\/","title":{"rendered":"M\u00e1y ch\u1ee7 proxy ho\u1ea1t \u0111\u1ed9ng nh\u01b0 th\u1ebf n\u00e0o?"},"content":{"rendered":"<p>Vi\u1ec7c s\u1eed d\u1ee5ng m\u00e1y ch\u1ee7 proxy kh\u00f4ng ph\u1ea3i l\u00e0 \u0111i\u1ec1u b\u1eaft bu\u1ed9c nh\u01b0ng n\u00f3 c\u00f3 m\u1ed9t s\u1ed1 l\u1ee3i \u00edch tr\u1edf n\u00ean r\u00f5 r\u00e0ng v\u1edbi c\u00e1c h\u00e0nh vi kh\u00e1c nhau c\u1ee7a ng\u01b0\u1eddi d\u00f9ng. B\u1eb1ng c\u00e1ch s\u1eed d\u1ee5ng m\u1ed9t m\u00e1y ch\u1ee7 proxy, ngu\u1ed3n g\u1ed1c th\u1ef1c s\u1ef1 c\u1ee7a y\u00eau c\u1ea7u, t\u1ee9c l\u00e0 danh t\u00ednh v\u00e0 v\u1ecb tr\u00ed c\u1ee7a ng\u01b0\u1eddi d\u00f9ng, c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c che gi\u1ea5u.<\/p>\n<h2>C\u01a1 b\u1ea3n v\u1ec1 ch\u1ee9c n\u0103ng<\/h2>\n<p>C\u00e1ch th\u1ee9c ho\u1ea1t \u0111\u1ed9ng d\u1ef1a tr\u00ean ba y\u1ebfu t\u1ed1 thi\u1ebft y\u1ebfu ph\u1ed1i h\u1ee3p ch\u1eb7t ch\u1ebd v\u1edbi nhau \u0111\u1ec3 \u0111\u1ea3m b\u1ea3o c\u00e1c y\u00eau c\u1ea7u \u0111\u01b0\u1ee3c x\u1eed l\u00fd nhanh ch\u00f3ng v\u00e0 c\u00f3 m\u1ee5c \u0111\u00edch:<\/p>\n<ul>\n<li>\u0111\u1ecba ch\u1ec9 IP<\/li>\n<li>H\u1ea3i c\u1ea3ng<\/li>\n<li>Giao th\u1ee9c<\/li>\n<\/ul>\n<p>M\u1ed7i thi\u1ebft b\u1ecb c\u00f3 th\u1ec3 truy c\u1eadp internet \u0111\u1ec1u c\u00f3 \u0111\u1ecba ch\u1ec9 IP ri\u00eang. \u0110i\u1ec1u n\u00e0y bao g\u1ed3m b\u1ed1n d\u00e3y s\u1ed1. M\u1ed7i chu\u1ed7i \u0111\u01b0\u1ee3c ph\u00e2n t\u00e1ch v\u1edbi chu\u1ed7i ti\u1ebfp theo b\u1eb1ng m\u1ed9t d\u1ea5u ch\u1ea5m (v\u00ed d\u1ee5: 123.123.123.123).<\/p>\n<figure id=\"attachment_469519\" aria-describedby=\"caption-attachment-469519\" style=\"width: 634px\" class=\"wp-caption alignnone\"><img decoding=\"async\" class=\"wp-image-469519 size-full\" src=\"https:\/\/proxycompass.com\/wp-content\/uploads\/2020\/10\/scheme_1_2_1_eng.png\" alt=\"Octet \u0111\u1ecba ch\u1ec9 proxy l\u00e0 g\u00ec\" width=\"634\" height=\"305\" srcset=\"https:\/\/proxycompass.com\/wp-content\/uploads\/2020\/10\/scheme_1_2_1_eng.png 634w, https:\/\/proxycompass.com\/wp-content\/uploads\/2020\/10\/scheme_1_2_1_eng-18x9.png 18w\" sizes=\"(max-width: 634px) 100vw, 634px\" \/><figcaption id=\"caption-attachment-469519\" class=\"wp-caption-text\">Pic.2.1: \u0110\u1ecba ch\u1ec9 IP<\/figcaption><\/figure>\n<p>Nh\u1eefng chu\u1ed7i s\u1ed1 n\u00e0y \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 octet theo c\u00e1ch n\u00f3i k\u1ef9 thu\u1eadt. M\u00e1y t\u00ednh x\u00e1ch tay, b\u1ed9 \u0111\u1ecbnh tuy\u1ebfn, m\u00e1y ch\u1ee7, \u0111i\u1ec7n tho\u1ea1i v\u00e0 nhi\u1ec1u thi\u1ebft b\u1ecb kh\u00e1c, ch\u1eb3ng h\u1ea1n nh\u01b0 m\u00e1y in, c\u00f3 \u0111\u1ecba ch\u1ec9 ri\u00eang ch\u1ec9 \u0111\u01b0\u1ee3c k\u1ebft n\u1ed1i v\u1edbi thi\u1ebft b\u1ecb n\u00e0y. \u0110\u1ecba ch\u1ec9 IP cho ph\u00e9p b\u1ea1n t\u00ecm ra v\u1ecb tr\u00ed \u0111\u1ecba l\u00fd, nh\u00e0 cung c\u1ea5p v\u00e0 nhi\u1ec1u h\u01a1n n\u1eefa.<\/p>\n<p>C\u1ed5ng c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c so s\u00e1nh v\u1edbi m\u1ed9t c\u00e1nh c\u1eeda trong m\u1ed9t ng\u00f4i nh\u00e0, \u0111\u00e1nh \u0111\u1ed3ng ng\u00f4i nh\u00e0 v\u1edbi thi\u1ebft b\u1ecb t\u01b0\u01a1ng \u1ee9ng. Giao ti\u1ebfp v\u1edbi c\u00e1c thi\u1ebft b\u1ecb kh\u00e1c \u0111\u01b0\u1ee3c k\u00edch ho\u1ea1t th\u00f4ng qua c\u1eeda. C\u1ed5ng \u0111\u01b0\u1ee3c \u0111\u1eb7t d\u01b0\u1edbi d\u1ea1ng gi\u00e1 tr\u1ecb s\u1ed1 \u0111\u1eb1ng sau \u0111\u1ecba ch\u1ec9 IP, \u0111\u01b0\u1ee3c ph\u00e2n t\u00e1ch b\u1eb1ng d\u1ea5u hai ch\u1ea5m (v\u00ed d\u1ee5: 123.123.123.123 : 8080).<\/p>\n<figure id=\"attachment_469520\" aria-describedby=\"caption-attachment-469520\" style=\"width: 818px\" class=\"wp-caption alignnone\"><img decoding=\"async\" class=\"wp-image-469520 size-full\" src=\"https:\/\/proxycompass.com\/wp-content\/uploads\/2020\/10\/scheme_1_2_2_eng.png\" alt=\"C\u1ed5ng \u0111\u1ecba ch\u1ec9 proxy l\u00e0 g\u00ec\" width=\"818\" height=\"306\" srcset=\"https:\/\/proxycompass.com\/wp-content\/uploads\/2020\/10\/scheme_1_2_2_eng.png 818w, https:\/\/proxycompass.com\/wp-content\/uploads\/2020\/10\/scheme_1_2_2_eng-768x287.png 768w, https:\/\/proxycompass.com\/wp-content\/uploads\/2020\/10\/scheme_1_2_2_eng-18x7.png 18w\" sizes=\"(max-width: 818px) 100vw, 818px\" \/><figcaption id=\"caption-attachment-469520\" class=\"wp-caption-text\">Pic.2.2: \u0110\u1ecba ch\u1ec9 IP v\u00e0 c\u1ed5ng<\/figcaption><\/figure>\n<p>Ng\u00f4n ng\u1eef giao ti\u1ebfp gi\u1eefa c\u00e1c thi\u1ebft b\u1ecb \u0111\u01b0\u1ee3c g\u1ecdi l\u00e0 giao th\u1ee9c. N\u00f3 c\u0169ng c\u00f3 th\u1ec3 l\u00e0 m\u1ed9t \u0111\u1ecbnh d\u1ea1ng. C\u00e1c \u0111\u1ecbnh d\u1ea1ng quan tr\u1ecdng nh\u1ea5t v\u00e0 \u0111\u1ed3ng th\u1eddi \u0111\u01b0\u1ee3c bi\u1ebft \u0111\u1ebfn nhi\u1ec1u nh\u1ea5t l\u00e0 <a href=\"https:\/\/proxycompass.com\/vi\/knowledge-base\/what-are-http-and-https-proxies\/\">HTTP<\/a> V\u00e0 <a href=\"https:\/\/proxycompass.com\/vi\/knowledge-base\/what-are-socks-proxies\/\">SOCKS<\/a>. Ngo\u00e0i ra c\u00f2n c\u00f3 c\u00e1c giao th\u1ee9c kh\u00e1c nh\u01b0ng ch\u00fang hi\u1ebfm khi \u0111\u01b0\u1ee3c s\u1eed d\u1ee5ng.<\/p>\n<figure id=\"attachment_469521\" aria-describedby=\"caption-attachment-469521\" style=\"width: 664px\" class=\"wp-caption alignnone\"><img decoding=\"async\" class=\"wp-image-469521 size-full\" src=\"https:\/\/proxycompass.com\/wp-content\/uploads\/2020\/10\/scheme_1_2_3_eng.png\" alt=\"C\u00e1c giao th\u1ee9c m\u00e1y ch\u1ee7 proxy ph\u1ed5 bi\u1ebfn nh\u1ea5t\" width=\"664\" height=\"503\" srcset=\"https:\/\/proxycompass.com\/wp-content\/uploads\/2020\/10\/scheme_1_2_3_eng.png 664w, https:\/\/proxycompass.com\/wp-content\/uploads\/2020\/10\/scheme_1_2_3_eng-16x12.png 16w\" sizes=\"(max-width: 664px) 100vw, 664px\" \/><figcaption id=\"caption-attachment-469521\" class=\"wp-caption-text\">Pic.2.3: Giao th\u1ee9c proxy<\/figcaption><\/figure>\n<h2>Quy tr\u00ecnh y\u00eau c\u1ea7u t\u1edbi m\u00e1y ch\u1ee7 proxy<\/h2>\n<p>Ng\u01b0\u1eddi d\u00f9ng Internet \u0111\u01b0\u1ee3c coi l\u00e0 kh\u00e1ch h\u00e0ng cho nh\u1eefng y\u00eau c\u1ea7u nh\u01b0 v\u1eady. M\u00e1y kh\u00e1ch g\u1eedi y\u00eau c\u1ea7u khi c\u1ed1 g\u1eafng m\u1edf m\u1ed9t trang internet. \u0110\u1ecba ch\u1ec9 IP c\u1ee7a ng\u01b0\u1eddi d\u00f9ng \u0111\u01b0\u1ee3c truy\u1ec1n \u0111i cho m\u1ee5c \u0111\u00edch nh\u1eadn d\u1ea1ng. Y\u00eau c\u1ea7u \u0111\u01b0\u1ee3c g\u1eedi \u0111\u1ebfn m\u00e1y ch\u1ee7, c\u00f3 th\u1ec3 truy c\u1eadp n\u1ed9i dung.<\/p>\n<p>\u0110\u00e1p l\u1ea1i, th\u00f4ng tin \u0111\u01b0\u1ee3c y\u00eau c\u1ea7u s\u1ebd \u0111\u01b0\u1ee3c g\u1eedi tr\u1edf l\u1ea1i \u0111\u1ecba ch\u1ec9 IP, t\u1ee9c l\u00e0 t\u1edbi PC ho\u1eb7c thi\u1ebft b\u1ecb h\u1ed7 tr\u1ee3 internet kh\u00e1c. Tuy nhi\u00ean, m\u00e1y ch\u1ee7 proxy kh\u00f4ng ph\u1ea3i l\u00e0 m\u00e1y ch\u1ee7 \u0111\u00edch. Do \u0111\u00f3, m\u00e1y ch\u1ee7 proxy c\u0169ng c\u00f3 th\u1ec3 \u0111\u01b0\u1ee3c coi l\u00e0 ng\u01b0\u1eddi trung gian v\u00ec n\u00f3 l\u00e0m trung gian gi\u1eefa thi\u1ebft b\u1ecb h\u1ed7 tr\u1ee3 internet v\u00e0 m\u00e1y ch\u1ee7 m\u1ee5c ti\u00eau.<\/p>\n<figure id=\"attachment_469522\" aria-describedby=\"caption-attachment-469522\" style=\"width: 1200px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/proxycompass.com\/wp-content\/uploads\/2020\/10\/scheme_1_2_4_eng.png\"><img decoding=\"async\" class=\"wp-image-469522 size-full\" src=\"https:\/\/proxycompass.com\/wp-content\/uploads\/2020\/10\/scheme_1_2_4_eng.png\" alt=\"C\u00e1ch th\u1ef1c hi\u1ec7n y\u00eau c\u1ea7u t\u1edbi trang \u0111\u00edch c\u1ee7a trang web th\u00f4ng qua m\u00e1y ch\u1ee7 proxy\" width=\"1200\" height=\"609\" srcset=\"https:\/\/proxycompass.com\/wp-content\/uploads\/2020\/10\/scheme_1_2_4_eng.png 1200w, https:\/\/proxycompass.com\/wp-content\/uploads\/2020\/10\/scheme_1_2_4_eng-768x390.png 768w, https:\/\/proxycompass.com\/wp-content\/uploads\/2020\/10\/scheme_1_2_4_eng-18x9.png 18w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/a><figcaption id=\"caption-attachment-469522\" class=\"wp-caption-text\">H\u00ecnh 2.4: S\u01a1 \u0111\u1ed3 bi\u1ec3u di\u1ec5n giao ti\u1ebfp gi\u1eefa m\u00e1y kh\u00e1ch v\u00e0 m\u00e1y ch\u1ee7 \u0111\u00edch<\/figcaption><\/figure>\n<p>Theo \u0111\u00f3, y\u00eau c\u1ea7u \u0111\u01b0\u1ee3c th\u1ef1c hi\u1ec7n theo hai b\u01b0\u1edbc. Trong th\u1ef1c t\u1ebf, \u0111i\u1ec1u n\u00e0y c\u00f3 ngh\u0129a l\u00e0 y\u00eau c\u1ea7u \u0111\u01b0\u1ee3c g\u1eedi \u0111\u1ebfn m\u00e1y ch\u1ee7 proxy b\u1eb1ng \u0111\u1ecba ch\u1ec9 IP c\u1ee7a ch\u00ednh n\u00f3. Sau \u0111\u00f3, m\u00e1y ch\u1ee7 proxy s\u1ebd chuy\u1ec3n ti\u1ebfp y\u00eau c\u1ea7u k\u00e8m theo \u0111\u1ecba ch\u1ec9 IP c\u1ee7a n\u00f3 \u0111\u1ebfn m\u00e1y ch\u1ee7 c\u00f3 li\u00ean quan. \u0110\u00e1p l\u1ea1i, th\u00f4ng tin, t\u1ee9c l\u00e0 n\u1ed9i dung c\u1ee7a trang, s\u1ebd \u0111\u01b0\u1ee3c g\u1eedi tr\u1edf l\u1ea1i m\u00e1y ch\u1ee7 proxy, sau \u0111\u00f3 m\u00e1y ch\u1ee7 proxy s\u1ebd chuy\u1ec3n ti\u1ebfp n\u00f3 \u0111\u1ebfn m\u00e1y kh\u00e1ch.<\/p>\n<p>V\u1ecb tr\u00ed c\u1ee7a m\u00e1y ch\u1ee7 proxy kh\u00f4ng \u1ea3nh h\u01b0\u1edfng \u0111\u1ebfn ch\u1ee9c n\u0103ng v\u00e0 quy tr\u00ecnh c\u1ee5 th\u1ec3 c\u1ee7a n\u00f3. Tuy nhi\u00ean, th\u00f4ng tin tr\u00ean c\u00e1c trang kh\u00e1c nhau t\u00f9y theo \u0111\u1ecba ch\u1ec9 IP c\u1ee7a m\u00e1y ch\u1ee7 proxy. M\u1ed7i qu\u1ed1c gia c\u00f3 nh\u1eefng quy \u0111\u1ecbnh v\u00e0 h\u1ea1n ch\u1ebf kh\u00e1c nhau, \u0111\u01b0\u1ee3c tu\u00e2n th\u1ee7 ph\u00f9 h\u1ee3p. Giao ti\u1ebfp c\u1ee7a c\u00e1c thi\u1ebft b\u1ecb kh\u00e1c nhau c\u00f3 th\u1ec3 kh\u00e1c nhau. Nh\u01b0ng quy tr\u00ecnh c\u01a1 b\u1ea3n v\u1eabn gi\u1ed1ng nhau cho t\u1ea5t c\u1ea3 c\u00e1c thi\u1ebft b\u1ecb.<\/p>","protected":false},"excerpt":{"rendered":"<p>The use of a proxy server is not a must, but it has some advantages that become apparent with different user behavior. By interposing a proxy server, the actual origin of the request, i.e. the identity and location of the user, can be concealed. Basics of the function The way it works is based on [&hellip;]<\/p>\n","protected":false},"featured_media":469529,"menu_order":0,"template":"","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"kb-categories":[67],"class_list":["post-468673","knowledge-base","type-knowledge-base","status-publish","has-post-thumbnail","hentry","kb-categories-proxy-server-basics"],"acf":[],"_links":{"self":[{"href":"https:\/\/proxycompass.com\/vi\/wp-json\/wp\/v2\/knowledge-base\/468673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/proxycompass.com\/vi\/wp-json\/wp\/v2\/knowledge-base"}],"about":[{"href":"https:\/\/proxycompass.com\/vi\/wp-json\/wp\/v2\/types\/knowledge-base"}],"version-history":[{"count":3,"href":"https:\/\/proxycompass.com\/vi\/wp-json\/wp\/v2\/knowledge-base\/468673\/revisions"}],"predecessor-version":[{"id":469528,"href":"https:\/\/proxycompass.com\/vi\/wp-json\/wp\/v2\/knowledge-base\/468673\/revisions\/469528"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/proxycompass.com\/vi\/wp-json\/wp\/v2\/media\/469529"}],"wp:attachment":[{"href":"https:\/\/proxycompass.com\/vi\/wp-json\/wp\/v2\/media?parent=468673"}],"wp:term":[{"taxonomy":"kb-categories","embeddable":true,"href":"https:\/\/proxycompass.com\/vi\/wp-json\/wp\/v2\/kb-categories?post=468673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}