Skip to main content
Anomotion
New Member
June 1, 2020
Question

1-to-1 NAT question

  • June 1, 2020
  • 3 replies
  • 3036 views

Hello,

 

We have configured 1-to-1 NAT, but there are a few ports we would still like to block.  Would I be correct in that the process for doing this would be:

 

[ol]
  • Leave the current 1-to-1 NAT rule in place
  • Create additional port forward rules that DENY the ports we want to block
  • Add these ports to a new IPv4 Policy that is higher up (and therefore matched first) than the policy for the 1-to-1 NAT?[/ol]

    Thanks, in advance, for your insight!

    • 3 replies

      Toshi_Esumi
      SuperUser
      SuperUser
      June 2, 2020

      Why do you need No.2? You just want only the rest of ports access to follow the current out-to-in (or in-to-out) NAT rule, right? You can simply deny traffic coming in for those specific ports with No.3.

      emnoc
      New Member
      June 2, 2020

      The  vip is one part  the access rule controls the traffic, can you share what  you did since you mention 1-to-1 nat and then port-forward in the same breath so it's confusing what you  actually did.

       

      Also keep in mind that fwpolicy  ordering of the sequence plays a very very important factor in matching the NAT.

       

       

      Ken Felix

      Toshi_Esumi
      SuperUser
      SuperUser
      June 2, 2020

      Yea, you probably need it. Without the vip, FGT can't determine the outgoing port.

      Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
      Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.