Skip to main content
leviu
New Member
Jul 10, 2018 1:56 PM UTC
Question

[SOLVED] Packets for port 5038 go through S2S tunnel but don't get routed localy

Model number: 100D (x2 in HA cluster)

Firmware: v5.2.9,build736

Issue:

We have a site to site IPSec tunnel to our customer created using the the wizard and a "Site to Site - Fortigate" template (the other end is a Fortigate 90d running v5.4.1,build1064).

 

The customer site has two networks:

10.14.48.0/24 - for computers

10.14.50.0/24 - for VOIP phones

 

Our end:

vlan internal network (number 12) with a PBX server

 

There are rules in place for VOIP traffic and the SIP helper is disabled on the 100D (system wide) - VOIP works fine over the tunnel to the PBX server on vlan12. Now I have configured rules on both ends so that the computer network is able to talk to the PBX server on vlan12 using the TCP port 5038.

 

My issue is that the traffic exits the customer Fortigate (comes in on the internal network and goes out the tunnel interface) and arrives at our Fortigate on the tunnel interface, however it does NOT get forwarded to the vlan12 interface where the PBX server is located. Again, the VOIP traffic from the phone network DOES get forwarded to the vlan12 interface.

 

I have attached a screenshot from the UI  showing the problematic policy I have and an example of the exact same working policy with different ports .

Here (since I can't attach more than one image) are all the screenshots with an example of a working policy and the problematic policy, where the difference is only the ports (services) There are also screenshots of packet capture from the customer Fortigate and our Fortigate showing the traffic flow.

 

Any help would be appreciated.

~levi

 

6 replies

rohitbhas_22
New Member
Jul 10, 2018 7:04 PM UTC

Hi Levi,

 

is it possible for you to run 'debug policy' at your end firewall (to check the flow of traffic from customer)

you can filter it with src & dst ip address / port

 

for the voip traffic to pbx server (your site), i would recommend you to check the routing (reachability )

Translate
leviu
leviuAuthor
New Member
Jul 11, 2018 8:49 AM UTC

Thanks for the reply.

 

Are you referring to the 'diagnose debug flow' set of commands?

 

There is nothing to text for the VOIP traffic - that works fine. Sorry if I explained poorly - i wrote the post at the end of a long work day ^_^.

 

~levi

Translate
rwpatterson
New Member
Jul 11, 2018 1:04 PM UTC

Show the CLI output of the custom VoIP service on the remote FGT.

Translate
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024