Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
Multi WAN + Captive Portal not working
« previous
next »
Print
Pages:
1
[
2
]
Author
Topic: Multi WAN + Captive Portal not working (Read 14442 times)
srijan
Newbie
Posts: 27
Karma: 3
Re: Multi WAN + Captive Portal not working
«
Reply #15 on:
September 02, 2016, 04:19:36 pm »
Franco,
Superb..
This is exactly the issue.
error = (*ifp->if_output)(ifp, m0, sintosa(&dst), NULL);
Logged
-=Srijan Nandi
srijan
Newbie
Posts: 27
Karma: 3
Re: Multi WAN + Captive Portal not working
«
Reply #16 on:
September 03, 2016, 06:51:03 pm »
Hello Franco,
The comment on the piece of code says:
* If small enough for interface, or the interface will take
* care of the fragmentation for us, we can just send directly.
So, how does this effect our case.
When gateway is set to 'default', ipfw process the packet first and sends it to captive portal. After authentication, ipfw passes it to pf.
As soon as route-to is set in pf, the connection is made directly with pf and ipfw does not come into play at all. How come route-to which comes later into the picture make ipfw not process the traffic.
ipfw should alway come into play no matter what. Shouldn't this be the case.
Logged
-=Srijan Nandi
franco
Administrator
Hero Member
Posts: 17657
Karma: 1611
Re: Multi WAN + Captive Portal not working
«
Reply #17 on:
September 22, 2016, 06:07:04 pm »
So, let's do a little call for testing...
https://forum.opnsense.org/index.php?topic=3704.0
Logged
Print
Pages:
1
[
2
]
« previous
next »
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
Multi WAN + Captive Portal not working