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

Unable to access Web Admin after port forwarding to 443 and 22

Hi team, 

 

I am kind of a stuck in a situation. I was accessing the fortinet dashboard board the DDNS with Letsencrypt SSL. I had setup a port forwarding to one my server through port 443 and 22. I didn't realise the ports were also used for the web admin and ssh. Now when I am trying to access the web admin and SSH the requests are being forwarded to the server. Is there anyway I can change the port or there's no other way apart from resetting the device? I do have a backup file, but not sure how to even restore that. 

 

Thanks!

1 Solution
srajeswaran
Staff
Staff

I believe you tried http/telnet (or they are not enabled) and didnt work, then console access is the option. Arrange for console access and then modify the configuration (either the NAT rules or the server port for https on the system)
Changing admin port : https://community.fortinet.com/t5/FortiGate/Technical-Tip-Change-the-port-for-the-admin-access-to-th...

Getting console access to system: https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-connect-to-the-FortiGate-console-p...

Regards,

Suraj

- Have you found a solution? Then give your helper a "Kudos" and mark the solution.

View solution in original post

2 REPLIES 2
srajeswaran
Staff
Staff

I believe you tried http/telnet (or they are not enabled) and didnt work, then console access is the option. Arrange for console access and then modify the configuration (either the NAT rules or the server port for https on the system)
Changing admin port : https://community.fortinet.com/t5/FortiGate/Technical-Tip-Change-the-port-for-the-admin-access-to-th...

Getting console access to system: https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-connect-to-the-FortiGate-console-p...

Regards,

Suraj

- Have you found a solution? Then give your helper a "Kudos" and mark the solution.

SVDB
New Contributor

Thanks Suraj! Luckily I had remote access enabled. That helped in getting back access and removing the port forwarding. I'll also keep in mind about console access. 

Labels
Top Kudoed Authors