Skip to main content
gianlucats
Explorer III
May 31, 2024
Solved

Two lan, one wan

Hi, I'm new in Fortinet world.

I have set two lan on two different ports on my Fortigate 60s ,v7.2.8 build1639 (192.168.1.x and 192.168.21.x). But one of them is not able to go in internet. How have I to set the correct gateway on wan1, wich works for one of them?

Thank you a lot

 

Toshi_Esumi
SuperUser
June 1, 2024

somehow I logged on with a different profile. That @TESangoma is me.

Toshi

9 replies

Mrinmoy
Staff
Staff
May 31, 2024

1. For WAN gateway your ISP shoudl provide you the WAN IP/ Subnet and gateway.

2. You can configure a default route as 

 

Satic route.JPG

config router static
edit 1
set gateway IP_From_ISP
set device "YOUR_WAN_PORT (May be wan1 for 60e)"
next
end

 

3. Finally you need 2 firewall policies from your 2 LAN interfaces to the WAN port

https://docs.fortinet.com/document/fortigate/7.0.0/ngfw-deployment/99015/initial-setup

gianlucats
Explorer III
June 1, 2024

I' ve not given all the infomation to you: on wan 1 there is a modem/router giving access to internet (192.168.123.254), sorry. 

Thank you for be patient with a newbie :)Screenshot 2024-06-01 132559.pngScreenshot 2024-06-01 132459.png

Toshi_Esumi
SuperUser
SuperUser
May 31, 2024

If you have only one circuit on the FG60x and one LAN can get out to the internet, the circuit and the routing/gateway configuration is fine.
Most likely a proper policy doesn't exist for the second LAN.
Please share us your policies if possible.

Toshi

gianlucats
Explorer III
June 1, 2024

Hi, thank you for answer.

Here you have

Screenshot 2024-06-01 132559.png

Hong_FTNT
Staff & Editor
Staff & Editor
June 1, 2024

Hi @gianlucats,

 

I believe Toshi is referring to Firewall Policy. If one lan can get to the Internet, it means wan connection is working. You just need to make sure you have firewall policies to allow outbound traffic from both lan.

 

Regards, 

Mrinmoy
Staff
Staff
June 1, 2024

Can you please share the firewall policy of your firewall for those 2 interfaces (Working vs non-working)?

gianlucats
Explorer III
June 3, 2024

Thank you a lot guys.

I'm coming back home from work trip tonite and I'll try solutions. I keep you update!

 

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT