Open corpix opened 6 years ago
I'm not sure if it'll work but if you have time you could give it a try with networking.firewall.checkReversePath = false;
, that might be the cause.
My working config with both nat
and firewall
enabled: https://github.com/dezgeg/nixconfs/blob/master/kbuilder.nix#L35
@primeos thanks for suggestion, I will try it, but not now(I have solved the problem with firewall extraCommands).
But, anyway, if this will work then this thing is strange, probably it should be more simple with nix.
Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:
Issue description
I am trying to setup a router with NAT. Network Address Translation is not working with
networking.firewall.enable = true;
, but it works withnetworking.firewall.enable = false;
.Steps to reproduce
My settings:
On another machine:
ip r add 8.8.8.8 via 192.168.1.1
mtr 8.8.8.8
Technical details