Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Captive Portal» bug ?? - Not Redirecting to the Login Page - HTTPS Pages
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: bug ?? - Not Redirecting to the Login Page - HTTPS Pages  (Read 1955 times)
0 Members and 1 Guest are viewing this topic.
fvaz
Newbie
*
Offline Offline

Posts: 5


View Profile
« on: December 02, 2009, 07:39:57 am »

Hi

The Captive Portal works wonderful unless the homepage of the PC start with https (Homepage on the Browser) ,

If start with https the DNS resolve the IP, and the PC try to open the page, without be redirect to the portal, unless we change the page (without the https) the pc will trying to open, and does not make the redirect to the login page. 

I thing is a problem in the internal Firewall that redirect all the trafic off the Unauthenticated User to the Login Page but only the port 80, and not the https (port 443 or other port)

Have any ideia to solve this problem?

I´m using pfsense 1.2.3 RC.

Thanks
Logged
fvaz
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #1 on: December 11, 2009, 12:23:25 pm »

ok...

I Find and fix the problem..

I would like to change to....

Go to etc\inc there are the file captiveportal.inc...

Edit the file, go to line 423 and put the rule

"
# redirect non-authenticated clients to captive portal
add 19904 set 1 fwd 127.0.0.1,8001 tcp from any to any 443 in
# let the responses from the captive portal web server back out
add 19905 set 1 pass tcp from any 443 to any out
"

Works, if you have https on the captive portal,

put port 8000 if you have http on the login portal

Hope... Help...

(lost many days to find this issue )



Logged
cpliu903
Newbie
*
Offline Offline

Posts: 16


View Profile
« Reply #2 on: January 26, 2010, 02:44:14 am »

ok...

I Find and fix the problem..

I would like to change to....

Go to etc\inc there are the file captiveportal.inc...

Edit the file, go to line 423 and put the rule

"
# redirect non-authenticated clients to captive portal
add 19904 set 1 fwd 127.0.0.1,8001 tcp from any to any 443 in
# let the responses from the captive portal web server back out
add 19905 set 1 pass tcp from any 443 to any out
"

Works, if you have https on the captive portal,

put port 8000 if you have http on the login portal

Hope... Help...

(lost many days to find this issue )






no work
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.027 seconds with 20 queries.