-
Notifications
You must be signed in to change notification settings - Fork 2k
Dual-homed servers: Write both IPv4 and IPv6 in generated docs. #1312
Comments
Hi @Fconn, Thanks for opening an issue. I agree that Streisand should try to handle dual-homed hosts with both IPv6 and IPv4 addresses better. I changed the title of your issue to make it easier to find in the future when we have a chance to evaluate IPv6 related features. |
This is primarily concerned with IPv6 ingress, right? Egress is something we have to think about more; the natural model is to NAT6 everything so it comes out the same IPv6 address. That's all we can do on systems where we aren't delegated a big enough prefix. |
Personnaly for me, the main reason is the Russian government (Roskomnadzor), which blocks only IPv4 adresses, but do not touch IPv6. In the light of the latest news, this has become particularly important: https://t.me/zatelecom/4773 (english version: https://t.me/zatelecom/4780) |
Thank you; that's very clarifying. |
An update: there's semi-active work in #1382 to support this, and I believe people have been working in forks as well. I've also been looking at supporting a separate ingress-only IPv4 address for providers which support multiple IPv4 addresses per machine. If I understand this threat correctly, the "primary"/egress address should have all its ports closed, to avoid being marked as a potential proxy. |
Sorry for probably stupid question (I'm not a developer), but how I can test it? I don't understand how download this #1382, can you please explain? |
@Fconn Not a stupid question at all! The easiest way is probably for you to:
@Fconn Note: I'm away from my usual computer at the moment and haven't tested those instructions. If they don't work its probably my fault and we can iterate if you share the error messages. Thanks! |
I think picking the IPv4 address is correct. Do you have a generated For my curiosity, I'd love to see the results of these commands run on a server:
Presumably it won't hurt you to delete those sysctls. If you'd like to try a run without them, edit
By the way: Any diagnostics are good, but copy&pasting the text is even better than a screenshot alone. |
|
Thanks. I don't see anything out of the ordinary there, so I think a scratch install, removing those sysctls, may do it for you. |
So 80.211.134.149 is correct; that's at least where outbound connections originate from. I'm not sure why there is a choice between v4 and v6. Although we don't do anything strange with Ansible, we've discovered some Ansible releases have bugs which affect us. My strong suggestion is to use a If there turns out to be a bug against Ansible 2.7.0, it would be great to know that; this might just affect 2.7.0, but it could hit the other 2.7.x releases too. |
Did you find a solution tsunamaru? My results are identical to yours. |
Hello.
I recently build streisand on new VPS using IPv6 adress for SSH connection (my provider and hosting service provide me IPv4 and IPv6, so no problem with installation didn't arise). But in final docs been writen only IPv6 adress, which I used when install streisand:
I think It would be nice if you create an IPv4 and IPv6 check on server and writing both adresses in docs (of course if server has it).
Many thanks, and please sorry my bad English.
The text was updated successfully, but these errors were encountered: