VyOS Open-Source Network Router Crash Course
Konten ini belum tersedia dalam bahasa Anda.
Artikel ini belum diterjemahkan. Isi berikut berbahasa Inggris. Buka versi asli bahasa Inggris.
VyOS Crash Course
Section titled “VyOS Crash Course”VyOS is an open-source network operating system based on Debian. It provides a unified CLI for routing, firewall, VPN, NAT, and more — similar to Juniper JunOS or Cisco IOS but running on standard x86 hardware or VMs.
If you’ve ever used EdgeOS (Ubiquiti EdgeRouter), you already know VyOS — EdgeOS is a fork. VyOS is the upstream, community-maintained original.
Why VyOS?
Section titled “Why VyOS?”| vs. | VyOS wins because |
|---|---|
| pfSense/OPNsense | CLI-first, declarative config, commit/rollback, API-ready |
| MikroTik RouterOS | Linux under the hood, standard tooling, no license tiers |
| Cisco/Juniper | Free, runs on any x86, same routing concepts |
| iptables/nftables | Unified config syntax, zone-based firewall, stateful commit |
What you’ll learn
Section titled “What you’ll learn”- Installation — ISO, cloud images, VPS deployment
- Basic Configuration — hostname, users, interfaces, SSH
- NAT & Firewall — zone-based firewall, source NAT, port forwarding
- DHCP & DNS — DHCP server, DNS forwarding, dynamic DNS
- VPN — WireGuard, IPsec IKEv2, site-to-site and road warrior
- Routing — static routes, BGP, OSPF
- High Availability — VRRP, config sync, stateful failover
- Configuration Backup with Git — auto-backup config on every commit
- Image Automation — custom ISO builds, cron pipelines, CI/CD
- Syslog to Graylog — centralized logging, Grok extractors, dashboards
Release tracks
Section titled “Release tracks”| Channel | Version | Status | Access |
|---|---|---|---|
| Rolling | 1.5 Circinus | Active development | Free |
| Stream | 1.5 (quarterly) | LTS preview, stable | Free |
| LTS | 1.4 Sagitta | Current LTS | Contributor/paid |
| LTS (old) | 1.3 Equuleus | Maintenance only | Contributor/paid |
This guide targets VyOS 1.4/1.5 — the configuration syntax changed significantly in 1.4. If you’re on 1.3 (Equuleus), some commands will differ. It’s still maintained for security fixes but no new features — new deployments should start on 1.4 or 1.5. Check the official migration guide.
Quick reference
Section titled “Quick reference”# Enter configuration modeconfigure
# Set hostnameset system host-name vyos-router
# Commit and savecommitsave
# Exit configuration modeexit
# Show current configshow configuration
# Show versionshow version