Networking
Networking is how isolated machines reach each other and the wider internet. Every isolated machine that needs network access needs an interface on a network that reaches the outside world, often a network it shares with other machines. Isolation and connection pull in opposite directions, and much of networking for machines is about keeping both. Machines on one host must not read each other's traffic, even though their packets share the same physical link.
Virtual network devices give each machine an interface and an address. Address translation and routing rules on the host decide which traffic reaches the machine and which traffic it may send. Private addresses are reused across machines, and address translation maps them to a shared public address on the way out. People reach a machine through forwarded ports or a proxy, often over SSH.
For code that is not trusted, the network is also a boundary. Controlling outbound traffic limits what a compromised program can reach and what data it can send away. Blocking all outbound traffic by default, and allowing only named destinations, is the strictest setting. Inbound traffic needs limits too, so that a machine is reachable from the internet only when someone chose that.
- Network interface cardA network interface card is the hardware that connects a computer to a network.
- Virtual network interfaceA virtual network interface is a network device implemented in software.
- Egress controlEgress control is the restriction of the outbound network traffic that a machine may send.
- SSHSSH is a protocol for logging in to and running commands on a remote machine over an encrypted connection.