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

Routing problem outside VPN

Hi Guys!

I have a fortigate 60F with 6.2.7 and i have a routing problem.

 

Interface OFFICE 172.xxx.xxx.xxx (LAN1)

Interface MACHINE 10.xxx.xxx.xxx (LAN2)

 

MACHINE has a VPN for 142.xxx.xxx.xxx (This is on of our supplier LAN but it is also a public IPs LAN)

 

So i have a remote lan which is needed on both interface OFFICE and MACHINE

The problem is, MACHINE can't navigate outside VPN for security reasons.

OFFICE can't use and JOIN the VPN.

 

I've setup static route for both with different distance but OFFICE always try to go out on VPN which is denied, and i don't know how to let this interface (OFFICE) use WAN1 as outgoing route for traffic to 142.xxx.xxx.xxx .

I even tried with Policy routes but with no success

3 REPLIES 3
Toshi_Esumi
SuperUser
SuperUser

Do you mean "OFFICE should use wan1 and over the internet to get to 142.xxx.xxx.xxx/xx"? Then you have to use policy routes at least for this destination. I think the default route is enough for routing part to steer the traffic toward wan1 for OFFICE source while 142/xx route exists toward VPN for MACHINE source.

supportombm

Sorry for the late reply, i've spent the past few days trying to figure this out.

 

Yes, i had to setup 2 static routes (same distance different priority) so the route will show up on the routing table.

Then setting up a policy routes (not one each for interface, just one for the OFFICE) and browsing is fine now, waiting for the feedback.

 

But is it normal that ping from firewall console/ssh with ping-options source "OFFICE gateway" will always route inside the VPN?

That make me loose at least one hour lol, then i checked with a Full tunnel ssl vpn.

 

THank you anyway

Toshi_Esumi

Traffic initiated from the FGT itself wouldn't follow any policies, and I think, policy routes/VIPs as well. It just follows the routing table and puts the source IP you specified on the packets.

Labels
Top Kudoed Authors