5. Implementing Destination-NAT

  1. Configure Destination NAT for TCP services to Polycarp and test them by connecting to F1’s eth2 IP address. Have tcpdump running in a window on Polycarp to see if traffic is getting to it.

    Ensure you have a dummy-server running on the TCP port on Polycarp that you want to be connecting to.

  2. Configure Destination NAT for UDP services to Polycarp and test them.

    We can use nc for UDP traffic also, just add a -u to the options for both the server and client.

  3. Configure Destination NAT for TCP services to Client1 and test them.