Score:0

Remapping overlapping VPN Ranges (including DNS)

in flag

I have the following scenario, with a VPN connecting two companies together there is some overlap in the used private subnets.

So the solution I was trying to achieve is to remap the remote subnets to locally unused subnets.

e.g. 192.168.5.x => 10.100.3.x

There is also the issue with DNS name resolution, yet all remote vpn related DNS entries should be under some common DNS root (like external.example.com). So it should be possible to remap all DNS result IPs under *.external.example.com from the external range to the remapped range.


So far, I haven't found a DNS server (for Linux) yet that supports the style of DNS IP remapping.

Also I found some examples of doing prefix swapping with IPv6 but not so much for IPv4 (Using nftables at the moment).


Is there a reason why nobody seems to be doing that style of IP range remapping or is it just for the lack of tooling support?

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.