This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can you explain NAT options on UTM?

I need to map an external address to an internal address, and the same internal address back to the original incoming address, on a session by session basis. I cannot use automatic 1:1 mapping. I need to specify the addresses, which may not be sequential. For instance:

Internet-facing IP: 204.28.120.190/23

On a session-by-session basis:

Inbound source IP: w.x.y.z
Inbound target IP: 204.28.120.177
NAT: 204.28.120.177 (WAN) -> 10.10.10.30 (LAN)

Outbound source IP: 10.10.10.30 (LAN)
Outbound target IP: w.x.y.z
NAT: 10.10.10.30 (LAN) -> 204.28.120.177

There are a variety of options, like DNAT, SNAT, 1:1 NAT and full NAT. Does anyone know which one to choose, or how to set up a ocmbination, that works?

Thanks!


This thread was automatically locked due to age.
Parents
  • Thanks for the link to Rulz, and the suggested solution.
      
    May I ask a few questions, below?

    You wrote:
    Create individual Additional Addresses ... on the Internet-facing interface.

    > Can I add Additional Addresses as a block? For instance, can I set a range like this: 204.28.120.129/25 (204.28.120.129 - 204.28.120.254)?

    You wrote:
    For each 10.10.10.x server, create two NAT rules:
            DNAT : Internet -> {ports you want to allow} -> 204.28.120.x : to 10.10.10.x
            SNAT : 10.10.10.x -> Any -> Internet : from 204.28.120.x

    > That makes sense, but is x the same number wherever it is shown? 
    > For instance, where you show:
    > 204.28.120.x : to 10.10.10.x
    > would I be restricted to, say, 
    > 204.28.120.150 : to 10.10.10.150
    > or would I be able to do something like this:
    > 204.28.120.150 : to 10.20.90.36  ?

    > In any case, would the source IP of outbound packets from an internal server be 
    > reverse-mapped with the source IP of their corresponding inbound IP? 
    > Would this be the case, for example:
    > Inbound: 204.28.120.150 : to 10.20.90.36
    > Outbound: 10.20.90.36 : to 204.28.120.150 ?
    > Or, would this be the case:
    > Inbound: 204.28.120.150 : to 10.20.90.36
    > Outbound: 10.20.90.36 : to 204.28.120.190
    > where 204.28.120.190 is the primary IP assigned to the Internet-facing interface of the UTM?

    Thanks again,
    - Dave
Reply
  • Thanks for the link to Rulz, and the suggested solution.
      
    May I ask a few questions, below?

    You wrote:
    Create individual Additional Addresses ... on the Internet-facing interface.

    > Can I add Additional Addresses as a block? For instance, can I set a range like this: 204.28.120.129/25 (204.28.120.129 - 204.28.120.254)?

    You wrote:
    For each 10.10.10.x server, create two NAT rules:
            DNAT : Internet -> {ports you want to allow} -> 204.28.120.x : to 10.10.10.x
            SNAT : 10.10.10.x -> Any -> Internet : from 204.28.120.x

    > That makes sense, but is x the same number wherever it is shown? 
    > For instance, where you show:
    > 204.28.120.x : to 10.10.10.x
    > would I be restricted to, say, 
    > 204.28.120.150 : to 10.10.10.150
    > or would I be able to do something like this:
    > 204.28.120.150 : to 10.20.90.36  ?

    > In any case, would the source IP of outbound packets from an internal server be 
    > reverse-mapped with the source IP of their corresponding inbound IP? 
    > Would this be the case, for example:
    > Inbound: 204.28.120.150 : to 10.20.90.36
    > Outbound: 10.20.90.36 : to 204.28.120.150 ?
    > Or, would this be the case:
    > Inbound: 204.28.120.150 : to 10.20.90.36
    > Outbound: 10.20.90.36 : to 204.28.120.190
    > where 204.28.120.190 is the primary IP assigned to the Internet-facing interface of the UTM?

    Thanks again,
    - Dave
Children
No Data