Virtual Networking
Create isolated networks, configure routing, and secure your infrastructure with virtual networking.
Overview
Fresh.dev Virtual Networking allows you to create isolated network environments for your resources. Connect your compute instances, databases, and other services securely without exposing them to the public internet.
Key Concepts
Virtual Networks
A Virtual Network (VNet) is an isolated network that allows your resources to communicate privately. You can define custom IP ranges and subnets.
Routers
Routers connect your virtual networks and provide NAT (Network Address Translation) for outbound internet access. You can also configure static routes for advanced networking scenarios.
Firewalls
Control traffic flow with firewall rules. Define allow and deny rules based on IP addresses, ports, and protocols.
Example Architecture
┌─────────────────────────────────────────┐
│ Virtual Network │
│ 10.0.0.0/16 │
│ │
│ ┌─────────┐ ┌─────────┐ │
│ │ VM │ │ VM │ │
│ │ 10.0.1.1│ │10.0.1.2 │ │
│ └────┬────┘ └────┬────┘ │
│ │ │ │
│ └───────┬───────────┘ │
│ │ │
│ ┌──────┴──────┐ │
│ │ Router │ │
│ │ 10.0.0.1 │ │
│ └──────┬──────┘ │
└────────────────┼────────────────────────┘
│
┌─────┴─────┐
│ Internet │
└───────────┘