Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • NAT UDP traffic

    Posted on

    Hello,

    I would like to NAT all the INCOMING UDP traffic only with destination ip address of 10.110.0.230 to my firewall IP address.

    I used the following commands:

    # echo "1"  > /proc/sys/net/ipv4/ip_forward
    # iptables -t nat -A POSTROUTING -p udp -o eth0 -j SNAT --to 10.110.1.3
    

    Then I sent udp traffic via iperf3 but could see the NAT to my FW IP on tcpdump.

    • Server IP address on eth0 = 10.110.0.230
    • FireWall IP address (NAT to) = 10.110.1.3

    Can you advice please?

    BR,
    Yaron

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2025 Red Hat