What is a Proxy Server?
- Acts at the middleman between the client (you) and the internet. In a literal sense, it acts as your stand-in “proxy”
- Instead of your computer making the request via IP (transfer in/out out data) to the internet, the proxy server intercepts your outbound request on your behalf, and then sends it back to you once received from the internet.
- Different than a VPN—A VPN is more secure because it encrypts your connection through a virtual “tunnel”
What is a Reverse Proxy?
- Literally the opposite of a foward proxy. Instead of proxying traffic on the client side, it proxies incoming traffic to your server, based on the request.
- A big part of it is the ability to “route” inbound requests to the proper origin.
- Which is useful when you have a single server but with different domains, apps, etc and need that traffic redirectoed to spefici PORTS.
- Also acts as a firewall or first-line of defense since it isolates the client’s request to your direct server.
Traefik
Traefik, The Cloud Native Application Proxy | Traefik Labs
What is an Email Server?
- Computer system that sense and receives emails.
- Two types: Incoming and outgoing
- In past, email servers were private/internal. Now mostly hosted
- Can still self host.
Protocols:
Networking software rules that allow computers to connect.
- SMTP(Simple Mail Transfer Protocol): Handles outgoing mail requests and sends emails. Brings your emails into the internet
- POP/IMAP: Incoming servers. Allow emails to reach local computer.
- POP3 (Post Office Protocol v3): Fetches content only
- IMAP (Internet Message Access Protocol): 2-way sync of mailbox
Flow:
flowchart LR
A[["Client\\nSender"]] -- SMTP --> B[(SMTP Server)] -- SMTP --> C(((The Internet))) -- SMTP --> D[(POP/IMAP Server)] -- POP/IMAP --> E[[Client\\nRecipient]]
subgraph one
E[[Client\\nRecipient]] --> F(A)
end
Docker Networking Basics
Docker Bridge Networking:
labs/A2-bridge-networking.md at master · docker/labs
More info at Docker Reference