Skip to content

VYOS Tech Journal Entry

dthomsen116 edited this page Feb 6, 2023 · 10 revisions

Thomsen Tech Journal

Stated Goal of the Assignment

Create a standalone article on vyos. Make sure you document those commands used during this course of this lab like setting the hostname, interfaces, gateway,dns, nat and dns forwarding

Useful Commands

List out any commands that were used or found to be helpful during the process.

configure

enters the VyOS config mode where changes can be made, then commit and saved.

commit

commits the changes made

save

saves the commit changes

exit discard

exits VyOS and discards changes

set system host-name HOSTNAME

sets hostname

set system login user [username] authentication plaintext-password [password]

changes password

set protocols static route 0.0.0.0/0 next-hop [addr]

Sets the gateway address

set system name-server 172.16.150.2

Sets the name-server

show/set interfaces

show will show the current config for the interfaces as well as if they are up or down.

set will allow the user to set or change the interfaces.

ex. set interfaces ethernet ethX address IPADDRESS/MASK or set interfaces ethernet eth0 description SEC350-WAN

set nat source...

used for configuring fw01 for NAT and DNS Forwarding on fw01

configure

set nat source rule 10 description "NAT FROM DMZ to WAN"

set nat source rule 10 outbound-interface eth0

set nat source rule 10 source address 172.16.50.0/29

set nat source rule 10 translation address masquerade

set system name-server IP-ADDR

sets the DNS address

configure

set service dns forwarding listen-address 172.16.50.2

set service dns forwarding allow-from 172.16.50.0/29

set service dns forwarding system

Tell fw1 to forward DNS requests from the DMZ interface.

Vyos FW CMDs

Notes from the Process

Document any notes that were taken while working on the assignment.

Link to TJ

Additional Notes

Include any additional notes or observations made while working on the assignment.

Link to TJ

Troubles Encountered

**List out any issues that were encountered while working on the assignment. **

Link to TJ

Resolutions

If any issues were solved, list out the resolutions for each problem.

Link to TJ

Further Questions

List out any questions that arose while working on the assignment.

Link to TJ