oceanfabreeze / homelab-issues

Homelab issues basically. No code will likely be committed here.
0 stars 0 forks source link

Duo Implementation #6

Closed oceanfabreeze closed 1 year ago

oceanfabreeze commented 2 years ago

VLAN/Duo

oceanfabreeze commented 2 years ago

Had to set transmission selinux to permissive to get radarr service started. might wanna check up on that. Figure out how to keep VPN connected 100% of the time.

also create a plex specific account for the NAS -useradd plex -/etc/fstab uid

oceanfabreeze commented 1 year ago

Upgraded the RHEL boxes today. Duo became unresponsive and I can no longer ssh to the boxes. Trying to understand why.

oceanfabreeze commented 1 year ago

pam_duo.so module no longer works for some reason. Duo release update maybe? Switching to login_duo.

Modify login_duo and sshd_conf and restart SSHD.

oceanfabreeze commented 1 year ago

Duo is implemented on all servers but the NAS's for now. Closing and creating new issues for the rest of the security items.

Image

oceanfabreeze commented 1 year ago

Spoke too soon. login_duo causes issues with ansible for some reason, we will have to revisit.

oceanfabreeze commented 1 year ago

Plan right now is to use the ansible user to run the playbooks with an extremely long and complex password.

oceanfabreeze commented 1 year ago

Create ansible user on ClientServer Add to group wheel Change to hard password Fix visudo for password less sudo for wheel.

Copy SSH Key for Ansible user on Automator -> ClientServer.

Hosts are then onboarded for automation server to bypass 2FA for automation.

Need to add other servers, add to cron, then should be able to close this one out.

oceanfabreeze commented 1 year ago

Committed new hosts and postinstall.yml for ansible.

oceanfabreeze commented 1 year ago

Ansible updated. Just need to finish implementing duo.

oceanfabreeze commented 1 year ago

Duo implemented on all servers and vaultwarden. Might need to config for homebridge, but will add that to a separate issue.

Image

oceanfabreeze commented 1 year ago

Reopening because this will need to be redone

oceanfabreeze commented 1 year ago

Login_Duo is configured on all current servers. Will need to have the ansible user bypass somehow once ansible is set up

oceanfabreeze commented 1 year ago

Duo should be configured properly from here on out. Closing.