Forum Discussion

Jay42's avatar
Jay42
Icon for Nimbostratus rankNimbostratus
Jun 26, 2014

Create a Large port pool NAT - LTM 11.5.1

I need help to open a NAT on an LTM F5. A single nat to include 10k ports or possibly more. I have an example below, the idea is that outside port 10001 would be translated to inside port 10001, outside 10002 to inside 10002 and so on. Should accommodate UDP or TCP traffic. Please let me know if this does not make sense. Thank you in advance.

 

[Public IP]:Port > [Private IP]:Port

 

Example: 216.3.45.231:10000 - 20000 > 192.168.12.8:10000 - 20000

 

3 Replies

  • Hi,

     

    Do you want to always NAT 216.3.45.231 to 192.168.12.8 ?

     

    If it is, you have to use NAT List but the problem be careful NAT List is NAT source and destination.

     

  • Jay42's avatar
    Jay42
    Icon for Nimbostratus rankNimbostratus

    Yes I would always want the range of ports from 216.3.45.231 to map to the same range of ports on 192.168.12.8. Should this be done via the cli or gui?

     

  • You can do it with the gui, it's under NAT List under Local Traffic or via the cli.

     

    Remember that 192.168.12.8 will be SNATed to 216.3.45.231 too.