This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

site-to-site NAT/alias net on eth0

hello
a must do something like that 

ip a a 172.31.1.2/24 dev eth0
iptables -t nat -I PREROUTING -d 172.31.1.2 -j DNAT --to 192.168.1.2 
iptables -t nat -I POSTROUTING -s 192.168.1.2 -j SNAT --to 172.31.1.2

but on ASTARO 320

this is a site-to-site VPN, but localnet behind remote host is the same  as behind local host.  (172.31.1.2/24  is a virtual net)  
I can't change remote net.
So i must do somethig like this (IPTABLES ON SUSE) , but a dont't have any idea how do this on astaro


This thread was automatically locked due to age.
Parents Reply Children
No Data