Hey everyone!
I have a site-to-site VPN between two locations. Is there a way I can pass only one IP address through for remote browsing. For example, I have a subnet of 10.0.0.0/24 on FW A that can access all internal resources on FW B (example subnet of 10.1.1.0/24). I have one workstation (10.0.0.50) on FW A that would need to access the internet through FW B. The rest of the network would still access the internet through FW A. I tried using this KB https://community.fortinet.com/t5/FortiGate/Technical-Tip-Remote-browsing-over-IPSec-VPN-tunnel/ta-p... but am unable to get what I need to work. Any help with this would be greatly appreciated!
Solved! Go to Solution.
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
I believe your default route is pointing to wan2 which is why it doesn't match the policy route. You will need another static route and point it to the IPSec tunnel. You can create a static route for 8.8.8.8 for testing and point it to the IPSec tunnel. After that, run the debug flow again.
Regards,
Yes, other devices can still access the other LAN across the S2S tunnel.
Can you try to assign interface IP for tunnel interface on both end and then use the IP of the other side as a gateway for the policy route?
What should the interface IP be at both sides? The public IP of the firewall or something different?
You can use any internal IP as long as it is not duplicate with any local address on FortiGate.
https://community.fortinet.com/t5/FortiGate/Technical-Tip-Configure-IP-address-on-an-IPSec-tunnel-in...
Does it need to be within the same subnet?
Same subnet with what? You use such as 192.168.200.1 and 192.168.200.2.
Alright that has been changed.
Can you try the command
dia ip proute match 8.8.8.8 10.0.0.50 interface 6 443 443
This is the syntax # dia ip proute match <destination ip> <source ip> <incoming interface> <proto> <destination port number>
Then you can try to ping again with debug flow again
I received
command parse error before 'proute'
Command fail. Return code -61
Then just try to ping with debug flow to see if policy routing hitting now
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1502 | |
1013 | |
749 | |
443 | |
209 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.