exam questions

Exam NSE4_FGT-7.2 All Questions

View all questions & answers for the NSE4_FGT-7.2 exam

Exam NSE4_FGT-7.2 topic 1 question 52 discussion

Actual exam question from Fortinet's NSE4_FGT-7.2
Question #: 52
Topic #: 1
[All NSE4_FGT-7.2 Questions]

Refer to the exhibits.
Exhibit A shows a network diagram. Exhibit B shows the firewall policy configuration and a VIP object configuration.
The WAN (port1) interface has the IP address 10.200.1.1/24.
The LAN (port3) interface has the IP address 10.0.1.254/24.


If the host 10.200.3.1 sends a TCP SYN packet on port 10443 to 10.200.1.10, what will the source address, destination address, and destination port of the packet be, after FortiGate forwards the packet to the destination?

  • A. 10.0.1.254, 10.0.1.10, and 443, respectively
  • B. 10.0.1.254, 10.0.1.10, and 10443, respectively
  • C. 10.200.3.1, 10.0.1.10, and 443, respectively
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Phil708
Highly Voted 1 year, 7 months ago
Selected Answer: A
A is correct. NAT on the policy means the source gets translated from 10.200.3.1 to 10.0.1.254. The VIP performs DNAT which changes the destination from 10.200.1.10 to 10.0.1.10. Then port forwarding translates the port from 10443 to 443.
upvoted 28 times
...
rgeneson
Highly Voted 1 year, 7 months ago
Selected Answer: A
The correct answer is A because this rule is set-up with BOTH SNAT and DNAT enabled (which is very uncommon in the real world.) The Destination is a VIP with Port Forwarding which means the FortiGate has to translate the incoming requests destination IP and port to the internal resource's IP and port. Thus destination translation occurs from 10.200.1.1:10443 to 10.0.1.10:443. The firewall rule itself also has NAT set to Enabled. The default setting for this type of source NAT is 'Use Outgoing Interface Address' (in this case port3's IP) and, given the options, this must be set in this case. Thus source translation occurs from 10.200.3.1 to 10.0.1.254. For more information see: https://yurisk.info/2021/05/24/perform-snat-and-dnat-on-the-same-traffic-in-fortigate/
upvoted 14 times
Amrrax
1 year, 6 months ago
Correct, in the rule there is the nat enable and this change the source ip
upvoted 3 times
...
erawemk
1 year, 5 months ago
I think this is not very uncommon, instead is normal in the real world, and only works in that way if you use a secondary IP or IP Pool for NAT.
upvoted 1 times
raydel92
1 year, 3 months ago
FortiGate Security 7.2 Study Guide (p.130): "Use the following best practices when implementing NAT: - Don’t configure a NAT rule for inbound traffic unless it is required by an application. For example, if there is a matching NAT rule for inbound SMTP traffic, the SMTP server might act as an open relay."
upvoted 1 times
...
...
darkdante24
11 months, 2 weeks ago
One thing you are wrong at is this type of setting is very much common in real world where you have to hide the external IP behind firewall internal interface for security reasons.
upvoted 1 times
...
...
Ozzygate
Most Recent 4 months, 3 weeks ago
The question is missing some information, I think they cut off something. You do not see the IPPool field, which normally is before NAT. So this could be nat'ing to an IPPool, the interface, or anything. A would be the best answer but know that this may not be true in the real world or even on the exam. (This exam is eol anyways)
upvoted 1 times
...
ElWenja
6 months, 1 week ago
Selected Answer: A
A is the correct answer
upvoted 1 times
...
GarryPaca
8 months, 3 weeks ago
Selected Answer: A
A nat is enable
upvoted 1 times
...
Mallu_92
9 months, 2 weeks ago
Selected Answer: A
Default NAT used, will use the outgoing port ip when packet exits the firewall.
upvoted 1 times
...
Mallu_92
9 months, 2 weeks ago
Selected Answer: A
default NAT is used, so the source will be using the outgoing port ip. A is the correct answer.
upvoted 1 times
...
marwan93
1 year, 1 month ago
C is correct IP Header usually does not change the src-ip and dst-ip address for any packet end-to-end but since we have NAT it will just translate the dst-ip so the correct answer should be C
upvoted 5 times
...
Samhain666
1 year, 3 months ago
C is correct. DNAT takes precedent on the incoming traffic, and no rule is configured to translate incoming traffic to the port 3 address.
upvoted 4 times
...
raydel92
1 year, 3 months ago
Selected Answer: A
A. 10.0.1.254, 10.0.1.10, and 443, respectively Translations: 10.200.3.1 --> 10.0.1.254 because NAT enable in firewall policy 10.200.1.10 --> 10.0.1.10 because VIP as Destination 10443 --> 443 because Port Forwarding enabled on VIP Reference and download study guide: https://ebin.pub/fortinet-fortigate-security-study-guide-for-fortios-72.html
upvoted 1 times
...
Vic2911
1 year, 3 months ago
Selected Answer: A
A is the right answer The policy has NAT enabled, so the original IP is NATted using the outgoing interface IP address
upvoted 1 times
...
[Removed]
1 year, 4 months ago
Selected Answer: A
Correct answer: A
upvoted 1 times
...
imwatever
1 year, 5 months ago
Selected Answer: A
Lab tested.
upvoted 2 times
...
lupnoob
1 year, 5 months ago
Selected Answer: C
C for sure. If IP pool is used, NAT column should show the IP pool name. NAT column will show
upvoted 2 times
...
lupnoob
1 year, 5 months ago
C for sure. If IP pool is used, NAT column should show the IP pool name. NAT column will show enabled even when VIP is configured at destination.
upvoted 1 times
...
Vences
1 year, 6 months ago
Selected Answer: C
Definitely C, DNAT does not change source IP address, only destination - tried it several times.
upvoted 4 times
mirosaty
1 year, 1 month ago
Did you enable NAT which translate public ip to private ip in this scenario?
upvoted 1 times
...
...
Bund
1 year, 6 months ago
Selected Answer: C
should C
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago