VYOS Notes - Zacham17/my-tech-journal GitHub Wiki
VyOS is a single network OS, with a linux-based kernel, that has features such as routing, Firewall and NAT, Network Services such as DHCP and DNS, and it is fully open source.
Usage
- Most configuration changes in vyos can be made in configuration mode which can be entered with the
configure
command. - Configuration mode can be exited with
exit
- Changes made in configuration mode can be applied with
commit
and saved withsave
- Configuration settings can be set in vyos while in configuration mode using
set
- Forwarding Ex:
set service dns forwarding listen-address 172.16.50.2
is used to set the listen address for dns forwarding to 172.16.50.2 - Set Interface Address Ex:
set interfaces ethernet eth0 address 10.0.17.133/24
is used to set the IP address of the eth0 network interface - Set DNS Ex:
set system name-server 10.0.17.2
is used to set DNS server that the system uses. - Set hostname Ex:
set system host-name HOSTNAME
- Ex:
set system gateway-address 10.0.17.2
- Forwarding Ex: