https://netmaker.org logo
Hello. In case of colliding subnets that are in ho...
# requests
r
Hello. In case of colliding subnets that are in hosts Egress, it could be nice to have an option in the gui to specify a virtual subnet, instead of the real one that would collide with others already in Egress, and the real destination that will be natted to. I'm now manually doing this on the hosts with the subnet that collides, adding an nft rules in the tables like this: nft add rule ip nat PREROUTING ip daddr 192.168.4.0/24 iif netmaker dnat ip prefix to ip daddr map { 192.168.4.0/24 : 192.168.0.0/24 }. Doing this I can then just put the virtual subnet in the host Egress so that I can then reach all the internal hosts pointing to the virtual subnet. Don't know if there's a better way to fix this when changing the subnet ip addressing is not an option.
6 Views