OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • Port Forwarding
« previous next »
  • Print
Pages: [1]

Author Topic: Port Forwarding  (Read 2397 times)

LorneMalvo

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Port Forwarding
« on: January 12, 2021, 08:55:14 pm »
Hello,
I'm trying to open a range of ports and I can't get it to work.
I've been following this tutorial without success: https://forum.opnsense.org/index.php?topic=8783.0

I'm testing opened ports through an external website. I hope this is fine.

See attached images for more info.
https://i.imgur.com/Tr9qBgZ.png
https://i.imgur.com/KH4gZZI.png

Any help?

Thanks.
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 1028
  • Karma: 72
    • View Profile
Re: Port Forwarding
« Reply #1 on: January 12, 2021, 10:19:40 pm »
Check that you have a corresponding firewall rule on the WAN interface to actually allow the inbound http traffic

This is usually created automatically for you when setting up the port forward, since “Add associated filter rule” is selected by default under Filter rule association. A rule will not have been created if you selected “None” when setting up the port forward (and traffic will be blocked), or if you selected “Pass” (which allows the traffic without a separate firewall rule)

Your screenshots don’t show your Filter rule association setting
Logged

LorneMalvo

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Port Forwarding
« Reply #2 on: January 15, 2021, 05:03:07 pm »
Hello,
Thanks for your answer.
This is the Wan rule: https://i.imgur.com/ucRDzX1.png
And here we can see correctly created: https://i.imgur.com/Kbkfsw7.png

Do I have something wrong?

Logged

muchacha_grande

  • Full Member
  • ***
  • Posts: 219
  • Karma: 19
    • View Profile
Re: Port Forwarding
« Reply #3 on: January 15, 2021, 06:47:43 pm »
Hi, may be your OPNSense box is already behind a routed ISP modem, so you may also need to open ports there.
Logged

Greelan

  • Hero Member
  • *****
  • Posts: 1028
  • Karma: 72
    • View Profile
Re: Port Forwarding
« Reply #4 on: January 15, 2021, 09:51:04 pm »
Or your ISP blocks port 80 inbound - many do. Ask them, and if they do, ask them to unblock it
Logged

LorneMalvo

  • Newbie
  • *
  • Posts: 6
  • Karma: 0
    • View Profile
Re: Port Forwarding
« Reply #5 on: January 22, 2021, 04:23:12 pm »
My ISP was using CG Nat a few months ago. I asked them and they gave me a public IP Address, and since then I've opened ports without any trouble using OpenWRT.

They changed some config because now i can't open ports neither in OpenWRT or OpnSense. I'll talk with my ISP because it's so rare.

Thank you all of you for your help.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 20.7 Legacy Series »
  • Port Forwarding
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2