Vyos - max-gallagher/SEC-350 GitHub Wiki

VYOS Commands

Initial Config Stuff

set system host-name (hostname)

sudo passwd

Interface Commands

set interfaces ethernet (insert adapter) description (insert description)

set interfaces ethernet (insert adapter) address (ip with subnet)

set protocols static route 0.0.0.0/0 next-hop (gateway)

DNS Config

set system name-server

set service dns forwarding listen-address (Listening IP)

set service dns forwarding allow-from

set service dns forwarding system

NAT Config

set nat source rule 10 description (insert description)

set nat source rule 10 outbound-interface (adapter)

set nat source rule 10 source address (ip with subnet)

set nat source rule 10 translation address masquerade