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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ahoj,

Dňa Sun, 16 Feb 2025 12:20:51 +0200 Alon Bar-Lev
<alon.barlev@xxxxxxxxx> 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




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux