Lab 1.1: Routing and DMZ (VYOS/LOG)

Summary

During this lab we started to configure fw01, log01, rw01, web01.

VYOS

Version Control:

To change VYOS rules and save:

configure
<Enter Commands>
commit
save

hostname:

set system host-name <HOSTNAME>

interfaces:

Description:

set interfaces ethernet <ADAPTER> description <DESCRIPTION>

Set IP:

set interfaces ethernet <ADAPTER> address <IP ADDRESS>/<SUBNET>

gateway/route:

Command below will route all traffic to the gateway ip:

dns:

nat:

dns forwarding:

Below allows listening address to reslove requests from the allowed IP or Network

SYSLOG

Server

  • Install syslog

  • Allow 514 tcp and udp. Example below if for firewalld systems

  • Now configure the rsyslog.conf

/etc/rsyslog.conf
  • Restart and enable rsyslog.service

  • Once you setup the client you will be able to see the client test with:

Client

  • Install syslog

  • Allow 514 tcp and udp. Example below if for firewalld systems

  • Make/edit the file /etc/rsyslog.d/sec350.conf

  • Add the line

  • To test the logger:

  • Now do step 5 of server and it should show a message like this:

Notes

VYOS Config after this lab:

VYOS Change User passwd:

https://support.vyos.io/en/kb/articles/set-change-the-password-of-a-user

Last updated