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

    Howto: TeamSpeak 3 server in pfSense 2.0

    Documentation
    9
    35
    27.2k
    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.
    • kevevK
      kevev
      last edited by

      Awsome Sander88! This would be great for people who are afraid to install the manual way.

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

        @HooKed:

        Yea I kinda figured that may be the case.

        Let me know when you get it to the testing faze, I would like to help test it out.

        The Teamspeak 3 package is available for testing purposes in my fork of the pfSense package GIT: https://github.com/sander1988/pfsense-packages . I made some last minute modifications to make it compatible with PFSense 2.1 and added the server upload form (as discussed earlier in this thread).

        HooKed and others please test it! ;) I'm looking forward to your feedback. Please include the PFSense version and architecture in your message when you are running into any issues. Just a little reminder: it's a first test release; so don't test it on your production box at this time as it might break things!

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

          Awesome! As soon as i get a little free time i'm going to check this out.

          I do have a test pfsense server to play with. :)

          1 Reply Last reply Reply Quote 0
          • C
            citroen
            last edited by

            Thanks for suggestion to make teamspeak available on pfsense. I did like op wrote. Everything is working, but there is one thing i don´t understand. Every time i restart the box, teamspeak won´t come up. I have to login (ssh) and start teamspeak manually. I can´t figure out what is going on. Would be nice if someone can help me. And how do i use the scripts from Sander88? Can u get me to the point?

            Thank you all…

            Regards

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

              I installed Cron package then added this

              
              minute 	hour 	mday 	month 	wday 	who 	command
              0  	*  	*  	*  	*  	root  	/usr/local/lib/teamspeak3-server_freebsd-x86/ts3server_startscript.sh start  
              

              Your install location may be different.

              There may be a better config but this works for me.

              It seems to take a few mins for the ts server to be active after reboot but it always starts up.

              1 Reply Last reply Reply Quote 0
              • C
                citroen
                last edited by

                So did i. When i start TS manually, i get this:

                ts3server.pid found, but no server running. Possibly your previously started server crashed
                Please view the logfile for details.
                Starting the TeamSpeak 3 server
                
                

                I took a look to /etc/, but did not find a startscript (rc.conf or similar). Think, thats why TS don´start at boot. OP provide a script to start Ts on boot with rc.conf, how does pfsense doing this?

                So i will test your suggestion.

                So also looks like a shutdown of the box don´t proper shutdown TS. Will see if after reboot TS is coming up…

                Just one question left, what does Sander88 script doing?

                Regards

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

                  @citroen:

                  So did i. When i start TS manually, i get this:

                  ts3server.pid found, but no server running. Possibly your previously started server crashed
                  Please view the logfile for details.
                  Starting the TeamSpeak 3 server
                  
                  

                  I took a look to /etc/, but did not find a startscript (rc.conf or similar). Think, thats why TS don´start at boot. OP provide a script to start Ts on boot with rc.conf, how does pfsense doing this?

                  So i will test your suggestion.

                  So also looks like a shutdown of the box don´t proper shutdown TS. Will see if after reboot TS is coming up…

                  Just one question left, what does Sander88 script doing?

                  Regards

                  Thanks for testing it.

                  The package installer should create a service file for Teamspeak: /usr/local/etc/rc.d/teamspeak3.sh . PFSense normally run all the service start scripts from this directory (/usr/local/etc/rc.d/). Could you please check if this file exists in your installation? And does it have the executable permission set?

                  1 Reply Last reply Reply Quote 0
                  • C
                    citroen
                    last edited by

                    Found a file named "teamspeak3-server.sh" with executable rights. So i think this is the one created by the OP. I didi not test the script, cause i dont know how to do this. Thats why a ask for. How do i execute this on pfsense and what does it do?

                    Thank you for your response.

                    1 Reply Last reply Reply Quote 0
                    • kevevK
                      kevev
                      last edited by

                      The best thing to do at this point is to wipe your pfsense box and either start with my instructions or do the easiest thing by installing the package.

                      1 Reply Last reply Reply Quote 0
                      • A
                        afakih
                        last edited by

                        Dear,
                        as i am new to pfsense can you give detailed description on howto install your package.
                        Thanks

                        1 Reply Last reply Reply Quote 0
                        • B
                          bryan.paradis
                          last edited by

                          If worried about attack vectors you could try making a jail first haven't tried this package yet but https://doc.pfsense.org/index.php/PfJailctl_package You could place it in a freebsd jail.

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

                            @afakih:

                            Dear,
                            as i am new to pfsense can you give detailed description on howto install your package.
                            Thanks

                            afakih, do you or someone else still need any help?

                            1 Reply Last reply Reply Quote 0
                            • O
                              opjohnny
                              last edited by

                              Any news on this?  I am interested in getting a TS3 server set up on my pfSense box and I'm not sure if these instructions/packages will work on the latest pfSense version.

                              ETA:  The instructions in the OP didn't work for me, or maybe I'm doing something wrong.  At the last step where I check the logs, the log directory didn't even exist so I "/usr/local/lib/teamspeak3-server_freebsd-x86/ts3server.sh start" from webGUI cmd and that produced tiny logs with barely any info in them every time I started the script.  What's an easy way to wipe everything I created with these instructions in order to avoid future issues?

                              pfSense Boxes-

                              Celeron C1037U MiniPC(HDD, current)
                              VIA C7 miniITX(HDD, retired)
                              Firebox x750e(CF, retired)
                              Dell PowerEdge 2950 w/ ESXi v5.5(Retired)
                              Dell PowerEdge 860 w/ ESXi v5.5(Retired)
                              Firebox x700(CF, for a coworker)

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

                                I put the source code on GitHub a year ago. That's also the version I have been using over the last year, no issues so far  :).

                                Below some steps you have to take to install the package. I will also request the PFSense maintaincers to pull my package, that would make it much easier for you to install it (just a single click).

                                What you should do is:
                                1. Setup a private packages server (a simple Apache server would be ok). Some docs are available on this: https://doc.pfsense.org/index.php/Creating_a_Custom_Package_Repository .
                                2. Git clone my GitHub repository (https://github.com/sander1988/pfsense-packages) instead of the offical one.
                                3. Install the TeamSpeak 3 package using the PFSense webinterface.
                                4. Follow the TeamSpeak 3 wizard to install the server binaries (the latest version is downloaded by the enduser from TeamSpeak, there are no binaries included in my package).
                                5. Configure and run the TeamSpeak 3 server using the webinterface. You can find the initial TS3 administrator token in the Teamspeak > Logs tab.
                                6. Disable the custom repository and don't install any other package from my repository! All other packages in my version are really outdated. I created a copy of the official repository more than a year ago.

                                1 Reply Last reply Reply Quote 0
                                • U
                                  unKn0wn
                                  last edited by

                                  Hello. Could you please write the more detailed instruction for package teamspeak3 instalation? I tried to install local XMLRPC server and to use teamspeak3 package locally, but there is a warning appeared at my screen - it says that there is no connection with my local server. I tried to solve this problem but i failed.
                                  I wanted to do it the way you described in your link https://doc.pfsense.org/index.php/Creating_a_Custom_Package_Repository  , but I can't install apache just because I do not know how to do it. I googled "how to install apache for freebsd" and tried to do it according to instruction but I can't do it at Pfsense

                                  1 Reply Last reply Reply Quote 0
                                  • O
                                    opjohnny
                                    last edited by

                                    Yeah I'm sticking it out until the OP instructions get updated or there is an easier way to load the package.  The web server thing looks a little complicated.

                                    pfSense Boxes-

                                    Celeron C1037U MiniPC(HDD, current)
                                    VIA C7 miniITX(HDD, retired)
                                    Firebox x750e(CF, retired)
                                    Dell PowerEdge 2950 w/ ESXi v5.5(Retired)
                                    Dell PowerEdge 860 w/ ESXi v5.5(Retired)
                                    Firebox x700(CF, for a coworker)

                                    1 Reply Last reply Reply Quote 0
                                    • kevevK
                                      kevev
                                      last edited by

                                      I am sorry for not updating as I promised. Have been super buy at work. I have another igel I can test my instructions on with the latest pfSense. I will set a reminder to try tonight.  ;)

                                      1 Reply Last reply Reply Quote 0
                                      • O
                                        opjohnny
                                        last edited by

                                        Awesome, thanks!  8)

                                        pfSense Boxes-

                                        Celeron C1037U MiniPC(HDD, current)
                                        VIA C7 miniITX(HDD, retired)
                                        Firebox x750e(CF, retired)
                                        Dell PowerEdge 2950 w/ ESXi v5.5(Retired)
                                        Dell PowerEdge 860 w/ ESXi v5.5(Retired)
                                        Firebox x700(CF, for a coworker)

                                        1 Reply Last reply Reply Quote 0
                                        • kevevK
                                          kevev
                                          last edited by

                                          I opened a new thread since this one is a mess. The new thread has install scripts!! Go get em!

                                          https://forum.pfsense.org/index.php?topic=86681.0

                                          Moderators: Please close this thread.

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