OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Port Forwarding Not Working All of the Time
« previous next »
  • Print
Pages: [1]

Author Topic: Port Forwarding Not Working All of the Time  (Read 4051 times)

amitis5

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
    • View Profile
Port Forwarding Not Working All of the Time
« on: May 27, 2019, 07:52:21 am »
Hi All,

Thanks in advance for the help/advice.  I'm newer to the system, coming over from Mikrotik.

I have setup several port forwards in the port forward section of NAT.  One rule works fine, my ssh rule.  I've set the others up exactly as the ssh rule, and they are not working. 

I'm trying to redirect port 6001 to port 80 on the internal ip of 16.16.16.100 and it doesn't seem to work.  I've attached a screenshot of my port forward rule for this.  In the firewall rules for the WAN it is automatically placed there, and exactly as the SSH rule that is working.  Where am I going wrong?

Thanks,

amitis5

Logged

putt1ck

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
    • View Profile
Re: Port Forwarding Not Working All of the Time
« Reply #1 on: May 27, 2019, 09:17:00 am »
Can you see if the initial port forward is received on target? We're seeing something similar here where the initial packet is received by the target but the ack never makes it back to the source.
Logged

amitis5

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
    • View Profile
Re: Port Forwarding Not Working All of the Time
« Reply #2 on: May 27, 2019, 07:04:47 pm »
I believe that is the case here as well.  I have multiple IPs from our ISP.  When I am on a different IP within out WAN network, port forward works fine, it's only not working when we are on say our LTE. 
Logged

putt1ck

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
    • View Profile
Re: Port Forwarding Not Working All of the Time
« Reply #3 on: May 30, 2019, 08:33:23 am »
Ours was a bug in the firewall related to whether or not the gateway for WAN is set to auto or not. We only have one gateway, but either way it is set can cause issues either incoming or outgoing.
Logged

amitis5

  • Newbie
  • *
  • Posts: 28
  • Karma: 0
    • View Profile
Re: Port Forwarding Not Working All of the Time
« Reply #4 on: May 30, 2019, 11:23:13 pm »
My gateway is not set to auto, and it still isn't working.
Logged

putt1ck

  • Newbie
  • *
  • Posts: 27
  • Karma: 0
    • View Profile
Re: Port Forwarding Not Working All of the Time
« Reply #5 on: May 31, 2019, 06:34:26 am »
As in the fix on the firewall we are having a similar issue on is switch gateway in WAN interface settings to auto, then back to manual. Though of course this might be a completely different issue to yours!
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Port Forwarding Not Working All of the Time
 

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