-
Notifications
You must be signed in to change notification settings - Fork 14
Add IPv6 support #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add IPv6 support #10
Changes from 1 commit
e7de2a0
4e202b1
aa02720
2d7f21f
1183916
b74c956
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -165,6 +165,8 @@ variables_defaults() { | |||||||||
| if test -f /usr/share/qubes/marker-vm; then | ||||||||||
| LOCAL_NET_IP6="\ | ||||||||||
| ::1/128 \ | ||||||||||
| fd09:24ef:4179::a8a:/112 \ | ||||||||||
| fd09:24ef:4179::a89:/112 \ | ||||||||||
| ::ffff:127.0.0.0/120 \ | ||||||||||
| ::ffff:10.137.0.0/112 \ | ||||||||||
| ::ffff:10.138.0.0/112 \ | ||||||||||
|
|
@@ -212,13 +214,15 @@ variables_defaults() { | |||||||||
| if [ -z "${WORKSTATION_DEST_SOCKSIFIED_IPV6:-}" ]; then | ||||||||||
| ## 10.152.152.10 - Non-Qubes-Whonix-Gateway IP | ||||||||||
| ## | ||||||||||
| ## 10.137.0.0/8 - persistent Qubes-Whonix-Gateway IP range | ||||||||||
| ## 10.138.0.0/8 - DispVM Qubes-Whonix-Gateway IP range | ||||||||||
| ## fd09:24ef:4179::a89/112 - persistent Qubes-Whonix-Gateway IP range | ||||||||||
| ## fd09:24ef:4179::a8a/112 - DispVM Qubes-Whonix-Gateway IP range | ||||||||||
|
Comment on lines
+217
to
+218
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixing post-merge. |
||||||||||
| if test -f /usr/share/qubes/marker-vm; then | ||||||||||
| ## https://forums.whonix.org/t/whonix-gateway-not-reachable/7484/16 | ||||||||||
| ## Qubes-Whonix: | ||||||||||
| ## IP HARDCODED. IP 10.152.152.10 is hardcoded in some places. | ||||||||||
| WORKSTATION_DEST_SOCKSIFIED_IPV6="\ | ||||||||||
|
DanWin marked this conversation as resolved.
|
||||||||||
| fd09:24ef:4179::a8a:/112 \ | ||||||||||
| fd09:24ef:4179::a89:/112 \ | ||||||||||
| ::ffff:10.137.0.0/112 \ | ||||||||||
| ::ffff:10.139.0.0/112 \ | ||||||||||
| ::ffff:10.152.152.10 \ | ||||||||||
|
|
||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,7 +39,7 @@ variables_defaults() { | |
| ## Would fail if netvm is set to 'none', | ||
| ## which is the case in Qubes R4 TemplateVMs. | ||
| [ -n "${GATEWAY_IP:-}" ] || GATEWAY_IP="$(qubesdb-read /qubes-gateway 2> /dev/null)" || GATEWAY_IP="127.0.0.1" | ||
| [ -n "${GATEWAY_IP6:-}" ] || GATEWAY_IP6="::ffff:$(qubesdb-read /qubes-gateway 2> /dev/null)" || GATEWAY_IP6="::1" | ||
| [ -n "${GATEWAY_IP6:-}" ] || GATEWAY_IP6="::ffff:$(qubesdb-read /qubes-gateway6 2> /dev/null)" || GATEWAY_IP6="::1" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Maybe I misunderstood something, but I was under the impression that the
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Based on https://github.com/QubesOS/qubes-doc/blob/d9a6e20f3a1ad3ca5215059267df099bfecc6728/user/advanced-topics/standalones-and-hvms.rst?plain=1#L258 it does look like |
||
| else | ||
| ## IP HARDCODED. If you want to change IP, set variable GATEWAY_IP through a | ||
| ## drop-in configuration snippet in /etc/whonix_firewall.d | ||
|
|
@@ -87,6 +87,8 @@ variables_defaults() { | |
| if test -f /usr/share/qubes/marker-vm; then | ||
| LOCAL_NET_IP6="\ | ||
| ::1/128 \ | ||
| fd09:24ef:4179::a8a:/112 \ | ||
| fd09:24ef:4179::a89:/112 \ | ||
| ::ffff:127.0.0.0/120 \ | ||
| ::ffff:10.137.0.0/112 \ | ||
| ::ffff:10.138.0.0/112 \ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.