OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Port forward stopped working
« previous next »
  • Print
Pages: [1]

Author Topic: Port forward stopped working  (Read 4648 times)

mow4cash

  • Newbie
  • *
  • Posts: 37
  • Karma: 2
    • View Profile
Port forward stopped working
« on: February 11, 2017, 11:52:06 pm »
What would cause all of my port forwards to stop working? I was making some changes to my vpn connection. For some reason all my traffic was being sent through the vpn and not respecting the firewall rules. I'm not sure what I did to get it work correctly but now all of my port forwarding is not working?

Edit: Port forwarding on the vpn works but not on the wan
« Last Edit: February 12, 2017, 12:07:08 am by mow4cash »
Logged

djGrrr

  • Full Member
  • ***
  • Posts: 112
  • Karma: 22
    • View Profile
Re: Port forward stopped working
« Reply #1 on: February 12, 2017, 07:05:47 pm »
Please try running this command in shell/console as root:
sysctl net.pf.share_forward=0

And see if that makes any difference
Logged

mow4cash

  • Newbie
  • *
  • Posts: 37
  • Karma: 2
    • View Profile
Re: Port forward stopped working
« Reply #2 on: February 13, 2017, 02:31:19 am »
It did not help.
Logged

mow4cash

  • Newbie
  • *
  • Posts: 37
  • Karma: 2
    • View Profile
Re: Port forward stopped working
« Reply #3 on: February 13, 2017, 05:23:57 am »
Solved. My LAN firewall Default allow LAN to any rule source was set to any instead of LAN net.

EDIT: Spoke too soon. It's still not working, I have no clue what is going on. It's like it only wants to let me open ports on my Vpn or Wan but not both at the same time.

UPDATE: So I got port forwarding on the Wan to work by not pulling routes from the VPN. However having this enabled kills my port forwarding through my VPN. How can I have them both working? The VPN routes are strong enough to kill my Wan and force everything through the VPN.
« Last Edit: February 13, 2017, 07:03:57 am by mow4cash »
Logged

Julien

  • Hero Member
  • *****
  • Posts: 651
  • Karma: 32
    • View Profile
Re: Port forward stopped working
« Reply #4 on: February 13, 2017, 02:37:10 pm »
Quote from: mow4cash on February 13, 2017, 05:23:57 am
Solved. My LAN firewall Default allow LAN to any rule source was set to any instead of LAN net.

EDIT: Spoke too soon. It's still not working, I have no clue what is going on. It's like it only wants to let me open ports on my Vpn or Wan but not both at the same time.

UPDATE: So I got port forwarding on the Wan to work by not pulling routes from the VPN. However having this enabled kills my port forwarding through my VPN. How can I have them both working? The VPN routes are strong enough to kill my Wan and force everything through the VPN.
have you checked the firewall rules for your OPNVPN ?
I remember me having trouble with accessing the RDP over the RDP, after needed to create any to any rules on the VPN NIC.
Logged
An intelligent man is sometimes forced to be drunk to spend time with his fool.

djGrrr

  • Full Member
  • ***
  • Posts: 112
  • Karma: 22
    • View Profile
Re: Port forward stopped working
« Reply #5 on: February 13, 2017, 03:27:04 pm »
What OPNsense version are you running?
Logged

mow4cash

  • Newbie
  • *
  • Posts: 37
  • Karma: 2
    • View Profile
Re: Port forward stopped working
« Reply #6 on: February 13, 2017, 05:08:04 pm »
Quote from: djGrrr on February 13, 2017, 03:27:04 pm
What OPNsense version are you running?
17.1.1

[/quote]
Quote from: Julien on February 13, 2017, 02:37:10 pm
have you checked the firewall rules for your OPNVPN ?
I remember me having trouble with accessing the RDP over the RDP, after needed to create any to any rules on the VPN NIC.
Yes, the firewall rules work fine on the VPN and Wan just not at the same time.

Here are my fire wall rules:
Logged

mow4cash

  • Newbie
  • *
  • Posts: 37
  • Karma: 2
    • View Profile
Re: Port forward stopped working
« Reply #7 on: February 13, 2017, 05:17:01 pm »
Firewall rules:
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 17.1 Legacy Series »
  • Port forward stopped working
 

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