Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
technician
New Contributor

unable to reach NAT'ed IP

Hi, we have a 2 servers which are NAT'ed on 2 public IP's on a branch office. Here in our main office, I can connect remotely to the branch office using their public IP's i.e rdp, ssh, etc

 

My issue is, inside the branch office definitely you're going to use their LAN or private IP in connecting to each other, but whenever I used both of their public IP's to each other, it doesn't work. 

Server1 connects to Server2 or vice versa (via private IP) = good

Server1 connects to Server2 or vice versa (via public IP) = no go

 

Though I know it is better and faster to use the private IP, I'm just curious if is it possible to use the public IP?

 

Thanks

Jeff

2 REPLIES 2
net1
New Contributor

Hi Jeff,

 

its possible, but due to the change of behauviour between 5.2 and 5.4 you have to use hairpinning ... (https://en.wikipedia.org/wiki/Hairpinning)

 

So you have to create a policy with:

source interface: internal

source ip: your internal network

destination Interface: internal

destination ip: your mapped IP, which you normally use with the wan to lan policy (i know, looks strange ... ;) )

 

Greez

Claus

-

300C x1, 200E x4, 240D x2, 200D x4, 101E x2, 100E x4, 100D x12, 80C x2, 70D x2, 61E x2, 60E x2, 60D x30, 60C x24, 60B x9, 50E x20, 50B x17, 40C x17, 30E x3

FortiMail VMs

FortiAnalyzer VMs

FortiSandbox (testrun)

- 300C x1, 200E x4, 240D x2, 200D x4, 101E x2, 100E x4, 100D x12, 80C x2, 70D x2, 61E x2, 60E x2, 60D x30, 60C x24, 60B x9, 50E x20, 50B x17, 40C x17, 30E x3 FortiMail VMs FortiAnalyzer VMs FortiSandbox (testrun)
technician

@net@work

 

Thanks, yes, been reading this hairpinning and will do some tests about this. 

 

Thanks

Jeff

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors