Re: Static bidirectional static NAT for duplicate IP devices using iptables

Slavko <[email protected]>
Newsgroups gmane.comp.security.firewalls.netfilter.general
Message-ID <[email protected]>
Ahoj,

Dňa Sun, 16 Feb 2025 12:20:51 +0200 Alon Bar-Lev
<[email protected]> napísal:

> I am unsure how you use NAT to perform the entire network
> transformation of 192.168.0.X <-> 10.0.0.X.

I never used it, but what about this, to map IPs from 10.141.11.0/24
to 192.168.2.0/24:

    snat ip prefix to ip saddr map { 10.141.11.0/24 : 192.168.2.0/24 }

regards

-- 
Slavko
https://www.slavino.sk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.