<div dir="ltr">> 

If You will add rule to SG as an admin user, then regular users (owners of the<br>SG) will not be able to remove it.<br>> But they will still be able to stop using this SG completly.<div><br><div>That's a neat trick, didn't know about it, thank you.</div><div><br></div></div><div>> What if You would plug those VMs only to the private networks and use Floating IPs to have public connectivity? Would that work for You?</div><div><br></div><div>That is an excellent solution, seeing as almost every big public cloud provider does it, and it did come to my mind. This was also our initial cloud design back a few years ago.</div><div>Unfortunately, we had some issues with DDOS attacks back then, that flooded a single IP address, and that attack would completely overwhelm the network node that was terminating that floating IP. This, in turn, led to multiple other projects losing connectivity for the duration of the attack.</div><div>At the time we looked into other solutions, particularly the one where floating IP terminates on compute node instead of a network node, but were unable to implement it, and switched to a more direct approach with public IPs being assigned directly to guests via a provider network.</div><div>So this is the best practice, yes, but this will require to rethink and redesign whole cloud, which is not possible at the moment. So I'm looking at some simpler, quick-fix style solution.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 3 дек. 2020 г. в 16:10, Slawek Kaplonski <<a href="mailto:skaplons@redhat.com">skaplons@redhat.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
On Thu, Dec 03, 2020 at 03:47:48PM +0300, Vladimir Prokofev wrote:<br>
> Hello.<br>
> <br>
> I'm running Queens private cloud with few separate projects inside. Guests<br>
> in those projects have 2 networks - public, which is a provider<br>
> network with public IP addresses, and private which is a VXLAN overlay<br>
> network specific to the project.<br>
> <br>
> That's the setup, now here's the issue.<br>
> They're mostly Windows guests there, and they tend to have browser service<br>
> enabled on both public and private networks. This leads to situations where<br>
> guests from one project can see guests in other projects over a public<br>
> network via NetBIOS/SMB protocols, which is undesirable.<br>
> <br>
> I have two partial solutions in mind.<br>
> Create some default firewall rule, similar to that exists by default for<br>
> DHCP protocol that prohibit guests to act as DHCP server, but for UDP<br>
> 137-139 port range.<br>
> But not only I completely forgot how to do this(I think I saw some<br>
> documentation about it ~2 years ago), but this will also block said<br>
> protocol over private networks too, which is not an ideal solution. I would<br>
> still love it if someone could point me to a proper documentation here.<br>
> Second option is to add similar entries to security group rules. This will<br>
> allow public/private interface differentiation by applying different<br>
> security group to different interfaces, but introduces the possibility for<br>
> cloud operator to delete those entries(either by mistake, or explicitly)<br>
> which will lead to protocol being allowed once again.<br>
<br>
If You will add rule to SG as an admin user, then regular users (owners of the<br>
SG) will not be able to remove it.<br>
But they will still be able to stop using this SG completly.<br>
<br>
> <br>
> Anyone has any idea of a better solution here?<br>
<br>
What if You would plug those VMs only to the private networks and use Floating<br>
IPs to have public connectivity? Would that work for You?<br>
<br>
<br>
-- <br>
Slawek Kaplonski<br>
Principal Software Engineer<br>
Red Hat<br>
<br>
</blockquote></div>