During this lab we setup mgtm01 and setup the fw to allow connection to the 172.16.150.0/24 network. Then setup chrome remote desktop on mgmt01, ssh key authnetication from mgmt01 to log01. Then setup authpriv messages for rsyslog from web01 and vyos.
Network Diagram:
Vyos Password Change:
I actually did this during our first lab because I thought it was a gotcha. VYOS Change User passwd
SSH keybased authentication:
Authpriv Messages on Linux Systems:
Server
Modify the /etc/rsyslog.conf
Comment out those 4 lines
Add Custom config to /etc/rsyslog.d/<config_name>.conf
With this config logs will now be output like:
Client:
Edit the rsyslog.d/ config
Add this line (IP is log machine)
Restart rsyslog.service
Forward Authentication events from vyos:
Notes and Difficulties:
SE linux got me once again… I had scp’d to the user home dir the 03-sec250.conf file to log1 and then mv’d it to /etc/rsyslog.d/. This made it so the file had kept the user_home_t tag seen below
Fix:
This will make a new file and remove the user_home_t tag and allow SE linux to use the config file.