It’s still not working.
On my LAN B (192.168.0.0), when I try to reach 172.31.255.48 (real address is 192.168.2.48 on LAN A ) it’s going to Internet and not VPN00:
WARNING: the host 172.31.255.48 is not directly connected on the ETH00 LAN but is reachable via
the gateway 184.108.40.206: ARP is a Layer 2 Protocol and it cannot be routed by routers!
iptables -t nat -I POSTROUTING -o VPN00 -s 192.168.0.0/24 -d 172.20.0.0/24 -j NETMAP --to 172.31.255.0
iptables -t nat -I PREROUTING -i VPN00 -s 172.20.0.0/24/24 -d 172.31.255.0/24 -j NETMAP --to 192.168.0.0/24
ip route 172.20.0.0 255.255.255.0 via 220.127.116.11
But, 172.20.0.0 is NAT address from LAN A to reach 192.168.0.0 (LAN B).
– My LAN A (192.168.2.0) have to reach LAN B (192.168.0.0) through 172.20.0.0 which is NAT address.
– My LAN B (192.168.0.0) have to reach LAN A (192.168.2.0) through 172.31.255.0 which is NAT address.
Thanks again for your help !!!!