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

VIP - Optinal filter

Hi team,


I am unable to solve below issue can you please help me. let me tell what I am doing -

 

WAN IP 192.168.99.2

Internal Server IP - 10.1.1.1

Remote user's public IP - 99.99.99.2 which is trying to access my internal server via port 8080

which is mapped on fortigate Firewall

external IP - 192.168.99.2

Internal IP - 10.1.1.1

with port no - 8080,8081,8082

please find the snapshots for more clarifications -

VIP1.jpgVIP2.JPGVIP.JPG

1 Solution
gfleming
Staff
Staff

Your TCP_8080 service shows that you are defining TCP port 80, not 8080. Please change destination port to 8080.

 

And as others have mentioned please ensure TCP packets are hitting your WAN interface. If this is a lab likely it's working OK. But if this is truly coming from the internet you'll need to ensure there is a downstream device doing DNAT to your private IP.

 

Cheers,
Graham

View solution in original post

6 REPLIES 6
Anthony_E
Community Manager
Community Manager

Hello Umesh,

 

Thank you for using the Community Forum.

I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible.


Regards,

Anthony-Fortinet Community Team.
parteeksharma

 

Dear Umesh,

As I could see the fortigate wan IP is a a private IP address (192.168.99.2), if the fortigate have private IP address range on wan interface most probably the traffic from internet might not even reach to fortigate, as private IP addresses are not routable on internet. To check and confirm if fortigate is receiving traffic or not, kindly use sniffers and debugs to troubleshoot.

Please check below link to apply sniffers and debug and troubleshoot:

https://community.fortinet.com/t5/FortiGate/Technical-Tip-Troubleshooting-VIP-port-forwarding/ta-p/1...



Regards,
Parteek

alif
Staff
Staff

Hi @Umesh,

 

Looking at the network topology, I'm guessing that you have setup a lab environment. Please run debugs/sniffer to investigate further.

 

diagnose debug reset
diagnose debug flow filter addr 192.168.99.2
diagnose debug flow filter port <number>
diagnose debug console timestamp enable
diagnose debug flow show iprope enable
diagnose debug flow show function-name enable
diagnose debug flow trace start 1000
diagnose debug enable

 

Now initiate traffic and see if traffic arrives on Fortigate.

Regards,
SFA
gfleming
Staff
Staff

Your TCP_8080 service shows that you are defining TCP port 80, not 8080. Please change destination port to 8080.

 

And as others have mentioned please ensure TCP packets are hitting your WAN interface. If this is a lab likely it's working OK. But if this is truly coming from the internet you'll need to ensure there is a downstream device doing DNAT to your private IP.

 

Cheers,
Graham
pepsibehavior
New Contributor

I've been searching for relevant blog posts to your writing. After a lengthy search, I discovered your post. I have outstanding information on study the backrooms simplification. 

Umesh
Contributor

Hi Graham,

After changing destination port 8080 policy is working fine.

 thank you

Labels
Top Kudoed Authors