- Implemented samba service
- Improved firewall rules
This commit is contained in:
@@ -19,8 +19,9 @@ login_users:
|
||||
# SSH Connection and security
|
||||
sshd_port: 22
|
||||
ssh_allowed_networks:
|
||||
- "0.0.0.0/0"
|
||||
sshd_admin_net: "0.0.0.0/0"
|
||||
- "10.5.5.5/32" # Wireguard VPN (Laptop)
|
||||
- "10.19.4.0/24" # local network
|
||||
sshd_admin_net: "10.19.4.0/24" # local network
|
||||
sshd_allow_groups: "{{ ansible_user }} users"
|
||||
sshd_permit_root_login: "no"
|
||||
sshd_password_authentication: "no"
|
||||
@@ -34,9 +35,11 @@ packages_blocklist: []
|
||||
# Firewall ports
|
||||
ufw_enable: true
|
||||
fw_allowed_ports:
|
||||
- { rule: "allow", port: "22", proto: "tcp" }
|
||||
- { rule: "allow", port: "11434", proto: "tcp" }
|
||||
- { rule: "allow", port: "8880", proto: "tcp" }
|
||||
- { rule: "allow", port: "22", proto: "tcp", from: "10.5.5.5/32" } # Wireguard VPN (Laptop)
|
||||
- { rule: "allow", port: "22", proto: "tcp", from: "10.19.4.0/24" } # local network
|
||||
- { rule: "allow", port: "11434", proto: "tcp", from: "10.19.4.0/24" } # Ollama (local network)
|
||||
- { rule: "allow", port: "11434", proto: "tcp", from: "10.5.5.5/32" } # Ollama (Laptop)
|
||||
- { rule: "allow", port: "8880", proto: "tcp", from: "10.19.4.0/24" } # Kokoro-FastAPI (local network)
|
||||
|
||||
ufw_outgoing_traffic:
|
||||
- 22 # SSH
|
||||
|
||||
Reference in New Issue
Block a user