1- Source NAT with interface
2- Source NAT with address pool
3- Destination NAT ( to access, from outside, a Server in the private address space )
4- Static NAT
Kali untrusted configuration:
Kali trusted configuration:
root@kali:~# ip route add 1.2.3.0/24 via 10.10.10.21
root@kali:~# ip route
default via 192.168.192.2 dev eth0 proto static metric 100
default via 192.168.70.1 dev eth1 proto static metric 101
default via 10.10.10.1 dev eth2 proto static metric 102
1.2.3.0/24 via 10.10.10.21 dev eth2
10.10.10.0/24 dev eth2 proto kernel scope link src 10.10.10.23 metric 100
192.168.70.0/24 dev eth1 proto kernel scope link src 192.168.70.23 metric 100
192.168.192.0/24 dev eth0 proto kernel scope link src 192.168.192.129 metric 100