routing to the full address space with wireguard does not work #26
Labels
No labels
affects/hardware
affects/legal
affects/reproducibility
affects/security
affects/style
affects/usability
blocked by/release 21.05
blocked by/release 21.11
blocked by/release 22.05
blocked by/testing needed
blocked by/testing needed/fuuko
blocked by/testing needed/sayuri
blocked by/upstream
resolution
deferred
resolution
permanent workaround
resolution
upstream wontfix
resolution
wontfix
type
bug
type
chore
type
feature
type
new machine
type
question
type
regression
type
tracking
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: simon/nixos-config#26
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
My mullvad configuration (managed with
wg-quick
and stored outside of this repository, since there is no stable way of getting the servers) does not work anymore. This is a regression introduced by126a0dad4b
(Enable firewall by default).wg-home
(set up by the wireguard nixos module) is not affected for some reason (Edit: because it only routes a specific subnet).Setting
AllowedIPs
to0.0.0.0/1,127.0.0.0/1
worked, which indicates that it is due to routing the IPv4 address range. IPv6 did not seem to be affected (but since mullvad only provides an IPv4 nameserver, nothing worked).As described in https://github.com/NixOS/nixpkgs/issues/51258#issuecomment-448005659, a workaround is to set
networking.firewall.checkReversePath = "loose";
. This disables some checks to detect IP address spoofing.Mullvad does not workto wg-quick does not workwg-quick does not workto routing to the full address space with wireguard does not workPossibly related to this:
When tunneling all traffic through a tunnel for some amount of times (a few minutes are enough), the following line begins to appear a lot in
dmesg
:As a consequence of the problem, IPv6 does not work anymore (even after disabling the wireguard tunnel).
Maybe setting
like the
wg-quick
nixos module does will fix this issue.