Nft nat map/set net to net multi time

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

 



Hi

I try to make nat snat net to net


map nat  {
        type ipv4_addr : ipv4_addr
        flags interval
        elements = { 10.0.0.0/8 : 103.23.24.50, 10.0.0.0/8 : 103.23.24.45 }
        }


chain nat {
        type nat hook postrouting priority mangle; policy accept;
        snat to ip saddr map @nat_list


and after try to run script get : 

Error: Could not process rule: File exists 

elements = { 10.0.0.0/8 : 103.23.24.50, 10.0.0.0/8 : 103.23.24.45 }
		    ^^^^^^^^^^^



idea is have multiple public ip addr  and private ips 10.0.0.0/8

 m.



[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