New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
IpTables on the host node?
Yes , Iptables exist on KVM.
Could you say exact command for restriction ?
Is that something like this?
iptables -I FORWARD 1 -d $ip -p tcp -m tcp --dport 1242 -j DROP
Thanks for your replay
You can block via IP, or better yet (if your host in in bridge mode), setup interface names per VM and block via interface.
Per IP is better solution for me , because I want block ports just for some IP's (or VM's).
Is it good for block 1242 ports?
'-I FORWARD 1 -d $ip -p tcp -m tcp --dport 1242 -j DROP'