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

connection with public IP

Hi guys i have a 200D fortigate in my company.i published some servers and assign public IP to them (by using Virtual IPs)and have access to internet .These server have access to each other with their private IPs (172.16.1.x). But they can not access each other with public IPs . for example when they do ping each other with private ip there is not any problem but they can not ping each other with public ip. how can i solve this problem?

1 REPLY 1
lobstercreed
Valued Contributor

Hello,

 

What you're looking for is called hairpin NAT.  It can generally be achieved two ways:

[ol]
  • Set up an additional policy for server-to-server traffic using the VIP objects as destinations.
  • Use your existing policy for server-to-server traffic using the regular address objects but set "match-vip enable" on the policy using the CLI.[/ol]

    See here for a KB regarding a setup that may be similar to yours: https://kb.fortinet.com/kb/documentLink.do?externalID=FD36202

     

    - Daniel

  • Labels
    Top Kudoed Authors