Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Help with 1-1 Static NAT
Hi All,
I want create a one to one static NAT for 2 servers through a fortigate-VM firewall.
Server 1 VIP: (192.168.2.2) -> Server 1 Private IP: (10.0.3.2)
Server 2 VIP: (192.168.2.3) -> Server 2 Private IP: (10.0.3.3)
I cant seem to figure this out without checking the NAT option in a incoming traffic policy.
Tried to follow the Fortigate documentation, but to put it nicely, it is less comprehensible for sure.
Thank you!
12 REPLIES 12
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What you wrote looks complete to me. Just make sure you use the Virtual IP definition as the target in the policy, you should be done.
Bob - self proclaimed posting junkie!
See my Fortigate related scripts at: http://fortigate.camerabob.com
Bob - self proclaimed posting junkie!See my Fortigate related scripts
at: http://fortigate.camerabob.com
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I cant seem to figure this out without checking the NAT option in a incoming traffic policy.You don' t need to check/enabled the NAT option when using VIPs for DNAT ( inbound )
PCNSE
NSE
StrongSwan
PCNSE
NSE
StrongSwan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is a direct crosspost from http://support.fortinet.com/forum/tm.asp?m=95662
I think we should discuss the matter in the original thread.
OP has not answered my question about routing yet.
Ede Kernel panic: Aiee, killing interrupt handler!
Ede Kernel panic: Aiee, killing interrupt handler!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yeah, originally it was intended as a log question but quickly turned into configuration question. I appologize
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Only way I can access the server from a public IP address is to check the NAT box on the policy. If I uncheck it I can no longer access the server (ssh or http).
what could I be doing wrong here?
Please see my original thread for all the details http://support.fortinet.com/forum/tm.asp?m=95662
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your answer is in your route-table and here in the other thread.
- create one default route to this port
Remove that 2nd route, remove your check NAT enable block and you should be golden.
PCNSE
NSE
StrongSwan
PCNSE
NSE
StrongSwan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Will you have 2 posts going on, you made changes from the original start of this thread. And you didn' t heed our earlier suggestion & guidance. If you have the vip setup correctly, you don' t need nat enabled
A photo says a thousand words; So what is it. port 1 or port 2?

PCNSE
NSE
StrongSwan
PCNSE
NSE
StrongSwan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sorry I started my config over removing all unnecessary IPs, since I still am unable to get this working. Below is all my settings simplified (reposted). Anyone see what I am missing here? Thank you very much for your help! (VIP Updated)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
diag debug flow is your friend, try it and see what it tells you :)
PCNSE
NSE
StrongSwan
PCNSE
NSE
StrongSwan
