Port forward stopped working

Started by mow4cash, February 11, 2017, 11:52:06 PM

Previous topic - Next topic
February 11, 2017, 11:52:06 PM Last Edit: February 12, 2017, 12:07:08 AM by mow4cash
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

Please try running this command in shell/console as root:
sysctl net.pf.share_forward=0

And see if that makes any difference


February 13, 2017, 05:23:57 AM #3 Last Edit: February 13, 2017, 07:03:57 AM by mow4cash
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.

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.
DEC4240 – OPNsense Owner

What OPNsense version are you running?

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: