Hello all,
This is my first Fortigate product, I use FortiGate 30E. I have 4 IP public: x.x.x.90, x.x.x.91 - 93. I use x.x.x.90 as my router WAN IP.
I need to use my public IP to publish my internal server. To do that, I add static route to route x.x.x.91 - 93 to my LAN interface. And then, I add virtual IP (port forwarding) to forward all packet from x.x.x.91 to my private interface (and private ip of my server), let's say: x.x.x.91 -> 10.x.x.x.200. I don't know if it's a right way to publish my internal server thorough Fortigate, but it works for all my x.x.x.91 - 93 public IP. But, it doesn't work for my public IP used by my router wan interface (x.x.x.90). I have set my router not to occupy port 80 and 443, but still I can not forward x.x.x.90 to my internal LAN (only port 80 and 443)
If I check my routing table, it's said that x.x.x.91-93 has been routed to lan interface, but x.x.x.90 routed to internet interface. My router wan setting is: IP: x.x.x.90, gateway: x.x.x.89.
My question is: Is it safe to put static route x.x.x.90 to LAN interface ? I am afraid it will broke all routing, because x.x.x.90 is 'this device' interface for my router, isn't it ?
So, is it possible to use router public IP to publish internal server using port forwarding,only http/https port ? What must I do to do that ?
Thanks for any enlightenment :)
tri
Jakarta
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.
Why are you using routes for your external IP's to your lan? You should not do that, those IP's are listening on your wan interface, not lan you should not put a static route to route them anywhere.
Exactly, what Shawn said. Your Virtual IP does the "routing" for you by virtue of the mapped address. There needs to be a route to the internal address of the server(s) in question and it needs to be on the same interface as is the destination interface of your policy with the VIP as the destination address. That's it. No other routing is needed.
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 |
---|---|
1732 | |
1106 | |
752 | |
447 | |
240 |
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.