Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    FreeRadius: PPTP - RADIUS and client IP address

    Scheduled Pinned Locked Moved pfSense Packages
    68 Posts 14 Posters 66.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jeroen234
      last edited by

      here are my diff's for freeradius.xml and freeradius.inc

      on the weekend i will add counter atrr. to freeradius.xml and freeradius.inc
      the counters are already eneabled in radiusd.conf

      freeradius.inc.diff.txt
      freeradius.xml.dif.txt

      1 Reply Last reply Reply Quote 0
      • S
        sbyoon
        last edited by

        I have a problem. I don't know how to make the diffs file.

        Pls adv me how to make the diffs file so that I can make diffs for vpn_pptp.php and vpn.inc.

        1 Reply Last reply Reply Quote 0
        • H
          hoba
          last edited by

          http://forum.pfsense.org/index.php/topic,2972.0.html

          1 Reply Last reply Reply Quote 0
          • S
            sbyoon
            last edited by

            Here are the diffs for vpn.inc and vpn_pptp.php.
            I used vpn.inc version 1.12 and vpn_pptp.php version 1.38.

            vpn.inc.diff.txt
            vpn_pptp.php.diff.txt

            1 Reply Last reply Reply Quote 0
            • S
              sbyoon
              last edited by

              Dear Jeroen,

              Could you add the description column for freeradius users? I think it is needed for users contact number, email address or his real name.

              Thank you.

              1 Reply Last reply Reply Quote 0
              • J
                jeroen234
                last edited by

                oke than i will add it in frond of the username
                there are comming 4 more colom's in the weekend
                and suport for 3 more in the future ( upload en download speed settings and wisp redirect url)

                1 Reply Last reply Reply Quote 0
                • M
                  monideth
                  last edited by

                  Hi All,

                  I haven;t checked the forums for a while since I posted this initial thread.

                  However, I am pleasantly surpised that some work has been done on the freeradius package  :)

                  Just wanted to ask whether the new freeradius package is now available. I checked the package version and the latest one was 1.1.2 - so I installed this. However, I did not get any changes to the interface to allow config of the IP address in the account configuration.

                  Is the 1.1.2 version meant to include this feature - or is this feature still needs to be patched in and released?

                  Thanks for all your hard work.

                  Regards,

                  Mon

                  1 Reply Last reply Reply Quote 0
                  • D
                    databeestje
                    last edited by

                    Have the radius extensions made it into CVS yet?

                    1 Reply Last reply Reply Quote 0
                    • J
                      jeroen234
                      last edited by

                      the last time i looked they were not yett in

                      1 Reply Last reply Reply Quote 0
                      • M
                        monideth
                        last edited by

                        Any updates on when these new features will be available?

                        1 Reply Last reply Reply Quote 0
                        • S
                          sbyoon
                          last edited by

                          Now I'm using it and it works great. PPTP users are now given the ip address from freeradius.

                          I tried 1.0.1-SNAPSHOT-01-13-2007 today but I found that this feature does not added on this snapshot.

                          Is there some problem to add this function into future pfsense version???

                          1 Reply Last reply Reply Quote 0
                          • S
                            sullrich
                            last edited by

                            Not sure what you mean?  Can you send a patch?

                            1 Reply Last reply Reply Quote 0
                            • S
                              sbyoon
                              last edited by

                              Jeroen and I already attached the diffs files for this functions on this thread. Pls read previous posts.@sbyoon:

                              Here are the diffs for vpn.inc and vpn_pptp.php.
                              I used vpn.inc version 1.12 and vpn_pptp.php version 1.38.

                              1 Reply Last reply Reply Quote 0
                              • S
                                sullrich
                                last edited by

                                That is not the proper sequence for sending patches.  Please read:

                                http://wiki.pfsense.com/wikka.php?wakka=SubmittingPatches

                                1 Reply Last reply Reply Quote 0
                                • S
                                  sbyoon
                                  last edited by

                                  Sorry, if the sequece was wrong. I checked the link but it does not meantion how to make patch. Could adv me how to make the patch?

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    databeestje
                                    last edited by

                                    from the console.

                                    pkg_add -r diffutils
                                    rehash
                                    gdiff -urN <original file=""><new file="">And to put it into a file

                                    gdiff -urN <original file=""><new file="">> patch.txt

                                    Then you can download or fetch the file from the diagnostics menu.</new></original></new></original>

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      sbyoon
                                      last edited by

                                      I'm confused. What is the difference between 'diff' and 'patch'?
                                      I've made the diff files with "diff -rub oldfile newfile > file.diff" and attached it this thread as requested by Hoba.

                                      I made the diff files as instructed in below link.
                                      http://forum.pfsense.org/index.php/topic,2972.0.html
                                      And I used the latest files from pfsense cvs and made the diff file with it.

                                      I think your instruction is also for just making diff files. Then, are diff and patch same thing?

                                      Now I attached the diff files again and am sending them to coreteam@pfsense.com as well.

                                      vpn.inc.diff.txt
                                      vpn_pptp.php.diff.txt
                                      freeradius.inc.diff.txt
                                      freeradius.xml.dif.txt

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        sbyoon
                                        last edited by

                                        I sent the diff files for freeradius.inc and freeradius.xml that were made by jeroen before. But I think he has updated one which have more fuctions.

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          Glasswalker
                                          last edited by

                                          Hey, I was following this thread hoping it would help with our current issues.

                                          I currently have pfsense using pptp and authenticating against our PDC (Win2k3 using microsoft internet authentication service) I know it's microsoft, but our entire company is AD driven and we need to integrate to a single directory service for centralization.

                                          anyway this works fine for authentication, but what we would really like is the ability to have granular firewall control to VPN users.

                                          So basically I am just checking, since microsoft's method also supports assigning static IPs to users, will this new code follow that, and actually assign the ip that radius tells it to? and if so, when will this feature be available to users?

                                          We are hoping to impliment some kind of granular VPN setup very soon, so if there is a way we can apply it (if I just need to apply diffs to the above mentioned code or what) let me know.

                                          Thanks!

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            sullrich
                                            last edited by

                                            I have probed other devs and they are interested.

                                            Please email me a final patch set to sullrich@gmail.com

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.