• Captive Portal Question

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    J
    make sure that the client is using youre pfsense box as default router
  • Captive portal: original file

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    T
    Found it /var/etc/captiveportal.html
  • Redirection by time

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    S
    Yes that complicates it a lot more.  After CP Auth a firewall rule is installed and at this point all normal CP checks are completely ignored and then a periodic cleanup script is run to cleanup sessions, etc.
  • + + + PROBLEM WTIH CAPTIVE PORTAL + + +

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    J
    Hello, I have discovered is that if indicate him I to my computer where this the page of my captive portal: Http: // 192.168.2.1:8000 It leaves me to accede to it and I can Authentication, then when I it my wireless net works perfectly. This way that the problem this one in which when a machine detects the wifi, it connects for DHCP is it tries to open any web … it me does not work because the web page of the captive portal is not opened in browserof the machine in question the page of beginning of the captive portal. Can you help me?¿?? I need taht my computer acces to captive portal! Thanks P.D.: SORRY FOR MY ENGLISH
  • Multiple WAN select freature in the Captive Portal

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    J
    I am thinking about using the following : table <wan1loggedusers>{ } table <wan2loggedusers>{ } ... As much as there are wans table <wannloggedusers>{ } pass in on <laninterface>from <wan1loggedusers>to any route-to { <wan1interface><wan1gateway>} keep state pass in on <laninterface>from <wan2loggedusers>to any route-to { <wan2interface><wan2gateway>} keep state ... As much as there are wans pass in on <laninterface>from <wannloggedusers>to any route-to { <wanninterface><wanngateway>} keep state</wanngateway></wanninterface></wannloggedusers></laninterface></wan2gateway></wan2interface></wan2loggedusers></laninterface></wan1gateway></wan1interface></wan1loggedusers></laninterface></wannloggedusers></wan2loggedusers></wan1loggedusers> does pf accept a table as "from" parameter ? The idea is to have a combobox in the captive portal with the following options : Choose for me Wan1 - <wan service="" provider="" name="" and="" bandwidth="">Wan2 - <wan service="" provider="" name="" and="" bandwidth="">… as much as there are wans WanN - <wan service="" provider="" name="" and="" bandwidth="">Then two things can happen : if the user selects "Choose for me" the captive portal code selects one based on current number of users and the weight associated to this wan. if the user selects a specific wan he his routed to the wan he selected. the wan information will be another section in the xml config file and the current wan number of users is stored in a temporary file in the ram disk or the harddisk... What you think about this ? I had to print and read the whole pf faq and study some other literature to come up with this solution. Edit : I have almost ready code (a pascal test-drive code) to check if this can work. the code is able to : Add an loggin user to the pf tables of an wan (binding his traffic to a WAN) Give to the user an ammount of bandwidth in this WAN (dinamic) based on a table (If the wan is overloaded, split bandwidth evenly between users) [This uses dummynet, so, i dont know if works on pfsense] if this code works (Can be compiled to freebsd) we can do two things : Convert it to PHP or use it as is. the code will be released under the same licence as pfSense (Whatever this means). Edit2: The code compiles and works, the binary uses the following parameters routemein <userlogin>-login <wan>to log an user into a wan routemein <userlogin>-logout to logout an user from a wan the following files are needed : /tmp/routemein/users.table format : <id><active><login><ratedown><rateup><currentwan><ip>/tmp/routemein/wans.table format : <device><alias><ratedown><rateup><weight>in those files any line starting with a # followed by space will be discarded as comment theres auxiliary files, /tmp/routemein/lock wich prevents two instances from colliding (needs a more complex lock mechanism, i will pursue it later), and the file /tmp/routemein/current-users.<device>.table (one for each wan) that is used to store info about the users bound to wich wan. im trying now to allow the dummynet feature to be disable (leaving only the pf code) or vice-versa (only the dummynet code). I think this will allow this thing to run on both pfsense and monowall. But i dont know if the dev´s really thinks my code is usefull…</device></weight></rateup></ratedown></alias></device></ip></currentwan></rateup></ratedown></login></active></id></userlogin></wan></userlogin></wan></wan></wan>
  • CP and bandwidth conf per username (or IP or MAC)

    Locked
    15
    0 Votes
    15 Posts
    8k Views
    C
    @doush: I dont know about pf but in m0n0 there is an option which u can set  a UL and DL rate for all the users in the CP. But everyone gets the same band (it also has problems about unsymetrical bandwidth asignements like 150 DL 128 UL, systems halts after a period of time and GUI doesnt respond ). So basically pf team is not considering anything like it ? (we are using DHCP so not possbile to queue per IP) If not, is there any freeradius server GUI where you can assign band per user from the GUI ? Thanks What version of m0n0 is that? I switch to PF because I found that it was easy to limit bandwidth on the wifi segment. If I can do that on m0n0wall, i'd love to know where but I've searched and never seen it. Josh EDIT found it. thnx
  • CP images not showing up

    Locked
    7
    0 Votes
    7 Posts
    5k Views
    S
    I have that issue to, seems like a widespread issue for the Beta release for 1.2-BETA-1.  But after copying those files works great :).  Thanks.
  • CP + Radius : Password Problem

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    J
    If you have encryption setup, I would guess it isn't decrypting right, that is where I would start.
  • CP stops work after upgrade to 1.2BETA-1-2007-05-11

    Locked
    7
    0 Votes
    7 Posts
    4k Views
    A
    I just installed todays snapshot May-25-2007 and i see that CP is broken: File manager does not upload images (I placed images mannualy to CP main dir and they work ==> something wrong with upload procedure) Redirect page does not redirect for some reason Thats it for now, I hope this gonna be fixed soon UPDATE [May 29]: All fine on todays snap, also curently installed 1.2beta and all good there
  • Captive Portal Space limit

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Session-TimeOut still broken?

    Locked
    15
    0 Votes
    15 Posts
    7k Views
    A
    there is no change to the code. I just manually put <radiussession_timeout>1</radiussession_timeout> under <captiveportal>in /cf/conf/conf.xml. in m0n0wall there is a option (checkbox) in captive portal configuration. Not remember the exact word, but it something like 'use session_timeout returned by radius'. The checkbox option was taken out in pfsense last time coz the feature not working. hope this help..</captiveportal>
  • Suggestion : New user manager menu

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    H
    Yes it is just for local users
  • My CP configuration

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    H
    Make sure you are using the latest snapshot, there has been some changes to CP when using multiwans.
  • Update: Random account generator for captiveportal.

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    J
    his scripts are for a freeradius version that uses a mysql database the pfsense freeradius version uses files for its user database and the pfsense php don't have mysql suport thats is why you get those errors
  • Can't make captive portal work

    Locked
    7
    0 Votes
    7 Posts
    4k Views
    S
    It's possible but was not a design goal for 1.2.
  • Bandwidth throttling per-user on the captive portal.

    Locked
    11
    0 Votes
    11 Posts
    9k Views
    P
    I am running pfSense as a multi WAN load balacing router with no firewall or any other feature. Will this speed limiting per IP address work in this situation? Just a note.  I had to run decent hardware to keep up with the stress of load balancing: Athlon XP 2400+ 512 MB DDR 333Mhz 4 x 100MBit NICs 40GB HD (just cus)
  • Captive portal stops working

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    C
    You using 1.2b1? If not, try it.
  • CP login page re-appears, instead of forwarding to IE home page

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Radius Accountng

    Locked
    17
    0 Votes
    17 Posts
    8k Views
    A
    thanks bro
  • Doman Names Instead of IPs

    Locked
    9
    0 Votes
    9 Posts
    5k Views
    A
    U need to email Jonathan DeGruve or Lee Sharp (Sorry is name spelled incorectly) Just use the mono-dev list I spoke to them before but they told me that DNS can be spoofed hacked etc, there fore it is not secure :-( I like DNS for radius though
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.