Navigation

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

    How to modify the login page?

    Captive Portal
    5
    9
    7629
    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.
    • B
      Bassam last edited by

      Dear All,
      I am new to the amaizing pfsense, and I would like to say my specail thanks to all the people that worked hand in hand to come out with this great open source product.

      However, I am trying to setup one pfsense on my simple network, and I would like to modify the logon page "index.php" file by adding some logos, and instructions without hosting an external page.

      In order to access the PFSense file system, I need to use FTP client. Unfortunately, I am not able to get FTP connected successfully. It fails. I tried to play around but I couldn't come with a positive result.

      So my question is how can I access the pfsense file system using any FTP client like "WS_FTP" in order to get my modification get it done?

      Your help is much appreciated.

      Regards
      Bassam

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

        your login page should be in html format

        just copy the code from the pfsense captive portal page and paste in into your personalized web page

        you don't need any FTP client

        for logos, you should call files in your html page : captiveportal-logo.gif for example
        and then upload your files using the pfsense webinterface : captive portal / files

        note that you can also use php in your captive portal page

        Chady

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

          hi,

          if u do manage how to create a login page could you please send it to me, i need to change my login page, the sentece showing makes me look funny to use it to my clients.

          hadi57

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

            @hadi57:

            hi,

            if u do manage how to create a login page could you please send it to me, i need to change my login page, the sentece showing makes me look funny to use it to my clients.

            hadi57

            Where is the problem? Just try to logon. When you see the logonpage view the sourcecode and save it on your local machine. Edit it until it fits your needs and upload it again. It's simple like that.

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

              hi

              it worked fine thanks hoba

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

                Great  :)

                1 Reply Last reply Reply Quote 0
                • B
                  Bassam last edited by

                  Ok I have done it too, I used SFTP client with the root/ <guilogin password="">to access the pfsense file system and do the required customization.

                  But my question now is how to fix the root password after we change it? I used the comand "passwd root" to change it successfully, but whenever I reboot the system, the password changes back to the web gui login password.

                  keep the same password is considered a security threating and anyone could easly login to the file system and play with my costomization.

                  So, is there any solution for this problem?

                  Regards
                  Bassam</guilogin>

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

                    canse the pasword true the webgui
                    then its written to config.xml
                    and set back to that when you reboot

                    and never give some one youre root/gui pasword !!!

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

                      Why did you do it that complicated? You can upload the custum cp elements via the webgui? Also the rtoot password can be changed at system>general (root has the password of the webgui admin user).

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post