One Year of Service
Posts: 11
Threads: 1
Points: 13NSP
Best ufw/IPTables rules for a VM 07-13-2023, 04:44 PM
#1
Hey, just wondering what people set as default rules on their VMs for security?
ufw default deny incoming
Or is it just better to use WHONIX?
•
One Year of Service
Posts: 17
Threads: 2
Points: 22NSP
RE: Best ufw/IPTables rules for a VM 08-15-2023, 06:14 AM
#2
My setup is
Primary VM --------------> pfsense VM ----------> Internet
my pfsense has a rules to only allow VPN connections and it connects to my VPN provider.
That way all traffic from my Primary VM, gets routed through the VM and will limit accidental data leakage.
And you should periodically sample your network traffic between the pfsense VM and Internet to make sure that all is working as it should.
•
One Year of Service
Posts: 11
Threads: 1
Points: 13NSP
RE: Best ufw/IPTables rules for a VM 09-06-2023, 07:40 PM
#3
Agreed - what rules do you need to tunnel all traffic from primary to Pfsense? And do you use fail2ban etc?
•