OPNsense Forum
Archive => 17.1 Legacy Series => Topic started by: mow4cash 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
-
Please try running this command in shell/console as root:
sysctl net.pf.share_forward=0
And see if that makes any difference
-
It did not help.
-
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.
-
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.
-
What OPNsense version are you running?
-
What OPNsense version are you running?
17.1.1
[/quote]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:
-
Firewall rules: