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

How to open port on Fortigate-FG200A

Hi all, i am using fortigate 200A. I want to open this port 1352 so that people outside LAN can connect to this port. I created a Custom service under Firewall->Service, and i used this tool to test: this:https://www.grc.com/x/ne.dll?bh0bkyd2 It said the port status is STEALTH. What does this mean? I think the port still not open yet. Could someone tell me how to open this port? Thanks.
11 REPLIES 11
lmuir
New Contributor

Is this for a notes server? I suggest you try the application externally rather than an online tool.
g3rman
New Contributor

Hi Chome, let' s assume the following example scenario and that you want to allow users from the Internet to access a server on your LAN. Your External IP Addresses: 50.50.50.1 - 50.50.50.100 Your Internal IP Addresses: 192.168.100.1 - 192.168.100.255 Your firewall: WAN1 = 50.50.50.1 , Internal = 192.168.1.1 In the GUI go to: Firewall -> Virtual IP Click " Create New" Name = Some server name (example: nat-50.50.50.8) External Interface = WAN1 Type = Static NAT External IP = 50.50.50.8 Mapped IP = 192.168.100.8 This creates a mapping of 50.50.50.8 to 192.168.100.8 Now go to: Firewall -> Policy Click " Create New" Source Interface = WAN1 Source Address = all Destination Interface = Internal Destination Address = nat-50.50.50.8 Service = The custom service port you defined Leave all other options as default and click " OK" You now have a static Network Address Translation and a rule to allow traffic to that machine from the Internet on a specific port. Let me know if that works for you.
A Real World Fortinet Guide Configuration Examples & Frequently Asked Questions http://firewallguru.blogspot.com
A Real World Fortinet Guide Configuration Examples & Frequently Asked Questions http://firewallguru.blogspot.com
Not applicable

What do you mean to try the application externally? I am using this for Lotus Notes DOLS service. g3rman, i have tried your method. But according to the user on the other end, they still can' t telnet to 1352. Anyway to test whether 1352 port is opened?
g3rman
New Contributor

From a machine connected to the Internet outside the firewall do this from the command line: telnet x.y.z.q 1352 where x.y.z.q is the Virtual IP address you have configured on your firewall.
A Real World Fortinet Guide Configuration Examples & Frequently Asked Questions http://firewallguru.blogspot.com
A Real World Fortinet Guide Configuration Examples & Frequently Asked Questions http://firewallguru.blogspot.com
Not applicable

ya.. i have tried the telnet externalIP 1352 but connecting failed. Don' t know what is happening.
g3rman
New Contributor

Couple of things to check: -Verify that the Virtual IP you created is on the same subnet as your external interface -Verify that the Virtual IP maps to the correct internal or dmz address -Verify that your rules are setup correctly: from external to internal or dmz, source: any, destination: VIP, service 1352 You can hover your mouse over the different parts of the policy to make sure there are no typos in your config. If that doesn' t work maybe you can send me a private message and I can take a look at your config.
A Real World Fortinet Guide Configuration Examples & Frequently Asked Questions http://firewallguru.blogspot.com
A Real World Fortinet Guide Configuration Examples & Frequently Asked Questions http://firewallguru.blogspot.com
Not applicable

I have created a Custom Service: Notes TCP/1352:1352 After that i have included this " Notes" to the Group for my server with members: HTTP, HTTPS, POP3, SMTP, Notes Then i tried telnet to 1352 , failed to connect. But if let' s say i included the predefined TCP to the Group then i can successfully telnet to 1352, why is that so?
StefanK
New Contributor

Hello chome, would you mind posting your custom service? It should look something like edit " Notes" set protocol TCP set tcp-portrange 1352-1352:1-65535 next Also, you might want to try a " diag snif pack" trace on your connection. g3rmans rules seem sound... Best regards
Not applicable

After i have changed the configuration, it can work now: Protocol: TCP Source Port: Low 1 High 65535 Destination Port Low 1352 High 1352 So the problem is i have entered the wrong port for source port initially (which i keyed 1352). Is this configuration safe by opening source port 1 to 65535?
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors