2025. 2. 4. 09:19ㆍNetwork 공부
A proxy server is an intermediary server that sits between a client (such as your computer) and the internet. It acts as a gateway, forwarding client requests to web servers and returning the responses to the client
일종의 Application Layer Gateway 이지만 모든 Proxy Server 가 Gateway를 사용하는 것이 아니다.
일반 게이트웨이처럼 단순히 데이터를 전달하는 것이 아니라, 요청을 대신 수행하거나 데이터를 변환하는 등의 부가 기능을 수행할 수 있다.
Uses of a Proxy Server
- Privacy & Anonymity: Hides your real IP address.
- Access Control: Restricts content in corporate environments.
- Security: Filters malicious content and prevents cyber threats.
- Load Balancing: Distributes traffic efficiently across servers.
- Caching: Stores frequently accessed data to improve speed.
- Geo-Unblocking: Access content restricted in certain locations.
How It Works
1) You send a request to visit a website.
2) The proxy server processes the request and forwards it.
3) The website sees the proxy’s IP instead of yours.
4) The proxy fetches the data and returns it to you.
이 과정에서 프록시 서버는 사용자의 IP를 숨기거나, 캐싱을 통해 속도를 높이거나, 특정 사이트 접근을 차단하는 기능을 수행
Proxy Server 가 Gateway 역할을 하는 방식
Forward Proxy (클라이언트 대리인) - 사용자의 요청을 웹사이트로 대신 보내고 응답을 받아 사용자에게 전달합니다
ex) Web Proxy, VPN Proxy
Reverse Proxy (서버 대리인) - / 서버 보호 및 로드 밸런싱 역할
ex) Cloudflare
Anonymous Proxy - 사용자의 IP 주소를 숨기고 프록시 서버의 IP 로 대체한다
익명성 및 프라이버시 보호에 사용
VPN 서비스
Web Proxy - 인터넷 트래픽을 중계하는 Gateway 역할
Socks Proxy - 트래픽 Gateway 역할
FTP, 게임, P2P 트래픽 등 다양한프로토콜지원
'Network 공부' 카테고리의 다른 글
SSH(Secure Shell) (0) | 2025.02.04 |
---|---|
Hash Function (0) | 2025.02.04 |
WordPress / Web Server / PHP (0) | 2025.01.31 |
API / RESTful API / GraphQL (0) | 2025.01.28 |
Business Logic / Data Processing / Providing APIs (0) | 2025.01.28 |