cancel
Showing results for 
Search instead for 
Did you mean: 

Web auth with packetfence EXOS 22.7

Web auth with packetfence EXOS 22.7

Simon1998
New Contributor

Hello,

As part of my study project I must set up a captive portal within my company, our entire network is based on x250 (15,6) and x440G2 (22.7) extreme switches. I come to you to find out if it is possible to set up a captive portal server like packetfence or another solutions. I did some tests on packetfence but for the moment I managed to make a start of redirection with packetfence and onePolicy I arrive until the connection window but after putting identify I get an error 502 bad gateway and i can't go on the internet. My packetfence has only one network card and I don't want to cut it (inline). Do you have a solution  ?

 

configure policy captive-portal web-redirect 1 server 1 url https://10.0.130.122/captive-portal enable
configure policy profile 1 name "guest" pvid-status "enable" pvid 0 cos-status "enable" cos 4 web-redirect 1
configure policy rule admin-profile port 2 mask 16 port-string 2 admin-pid 1
configure policy rule 1 udpsourceportIP 68 mask 16 forward
configure policy rule 1 udpdestportIP 53 mask 16 forward
configure policy rule 1 udpdestportIP 67 mask 16 forward
configure policy rule 1 tcpdestportIP 80 mask 16 forward
configure policy rule 1 tcpdestportIP 443 mask 16 forward
configure policy rule 1 tcpdestportIP 8080 mask 16 forward
configure policy rule 1 ether 0x0806 mask 16 forward
configure policy captive-portal listening 80
configure policy captive-portal listening 8080
configure policy captive-portal listening 443
enable policy

 

 

Thank you in advance for your reply.

0 REPLIES 0
GTM-P2G8KFN