Hi,
I am having problem with NAT setting of vmbr0 and vmbr1.
Some bad guys are always using my network to scan or attack someone.
Is there any way to prevent or check it ?
My NAT setting :
VM firewall rule
Cluster firewall rule
I am having problem with NAT setting of vmbr0 and vmbr1.
Some bad guys are always using my network to scan or attack someone.
Is there any way to prevent or check it ?
My NAT setting :
post-up iptables -t nat -A PREROUTING -i vmbr0 -p tcp --dport 59999 -j DNAT --to 192.168.0.225:3389
post-down iptables -t nat -D PREROUTING -i vmbr0 -p tcp --dport 59999 -j DNAT --to 192.168.0.225:3389
VM firewall rule
[RULES]
[OPTIONS]
# enable firewall (cluster wide setting, default is disabled)
enable: 1
OUT SSH(REJECT) -i net0 -source 192.168.0.225
OUT SSH(DROP) -i net0 -source 192.168.0.225
Cluster firewall rule
[RULES]
[OPTIONS]
# enable firewall (cluster wide setting, default is disabled)
enable: 1
OUT SSH(REJECT) -i vmbr1
OUT SSH(REJECT) -i vmbr0
OUT SSH(DROP) -i vmbr0
OUT SSH(DROP) -i vmbr1