OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: supabib on March 18, 2019, 08:25:26 pm

Title: tcp share_forward
Post by: supabib on March 18, 2019, 08:25:26 pm
Hello all,

Since OPNSense 17 or 18,  I have a bug (referenced here : https://opnsense.org/opnsense-17-1-1-released/ (https://opnsense.org/opnsense-17-1-1-released/)). I need to issue the following command all the time to make sure that port forward keeps working :
Code: [Select]
sysctl net.pf.share_forward=0I even added this command to a custom action that I have scheduled every minute.
Is there a definitive solution to this issue?

Thanks in advance,

Title: Re: tcp share_forward
Post by: franco on March 18, 2019, 08:28:37 pm
Hi there,

Explain the bug or unset Firewall: Settings: Advanced: Shared forwarding. :)

We haven't had a reported bug for shared forwarding in over a year now. Maybe it is setup-related or contrary to what you would expect (web proxy + captive portal + shaping combo).


Cheers,
Franco
Title: Re: tcp share_forward
Post by: supabib on March 19, 2019, 03:13:03 pm
Hello and thanks for your answer. You're right, I didn't explain my bug .... sorry for that. The issue is that the port forward doesn't work.

I tried what you proposed and it's working !! Thanks. What could be the consequences of disabling this ?
Title: Re: tcp share_forward
Post by: franco on March 20, 2019, 10:20:58 pm
Combinations of captive portal / traffic shapper with policy routing do not work. That's all, and that's the FreeBSD standard behaviour. ;)


Cheers,
Franco
Title: Re: tcp share_forward
Post by: mimugmail on May 06, 2019, 04:23:05 pm
Hello and thanks for your answer. You're right, I didn't explain my bug .... sorry for that. The issue is that the port forward doesn't work.

I tried what you proposed and it's working !! Thanks. What could be the consequences of disabling this ?


Can you exactly explain how to reproduce so I can work in this with franco?