Howto: TeamSpeak 3 server in pfSense 2.x(Now with scripts x86/x64) v1.2



  • I am posting a new thread so that we don’t confuse the new easy script with the old difficult way of installing TeamSpeak on pfSense(reminder, this is a very bad idea if you worry about security).

    Please do no ask for help if you have already tried installing TeamSpeak another way and haven’t cleaned up first. Wipe your pf box, reload pfSense, try the script, then ask for help.

    (Current Versions)
    x86 v.1.2  https://drive.google.com/file/d/0B2M_XoBZxi1icVdkbFFrZm1xNEk/view?usp=sharing

    x64 v.1.2  https://drive.google.com/file/d/0B2M_XoBZxi1iS1VNMk5ET0QwYm8/view?usp=sharing

    1.) Depending on your architecture download the install scripts from above & teamspeak 3 FreeBSD archive from http://www.teamspeak.com

    2.) Upload install scripts & archive to /root

    3.)  chmod +x /root/pfsense-teamspeak-install*.sh

    4.)  Run the install script for your architecture

    ./pfsense-teamspeak-install_x86.sh

    or

    ./pfsense-teamspeak-install_amd64.sh

    6.) Check the output for errors. If no errors, Reboot your pfSense box(This is important)! 🙂

    7.) Open the appropriate network ports for local and remote access to the teamspeak server:

    WAN UDP 9987

    8.) After 5-10 minutes check the logs for your ServerAdmin privilege key(It takes a while for the key to be generated):

    /usr/local/lib/teamspeak3-server_freebsd-x86/logs

    or

    /usr/local/lib/teamspeak3-server_freebsd-amd64/logs

    Check the logs for your key. It is usually in the second log created. But not always.

    ex:
    ServerAdmin privilege key created, please use the line below
    token=v1H32gAavrEI8U718bK0WZssL9Cl39OxktQS2Q3Z

    9.) When connecting your Client enter this token in the “One-Time Privelege Key:” field.

    You are now the Admin of this TS server.



  • Upgrading:

    1.) Shutdown the teamspeak server:

    a.) /usr/local/etc/rc.d/teamspeak3-server.sh forcestop

    2.) cd /usr/local/lib/

    3.) Backup the teamspeak server:

    a.) tar -pczvf teamspeak3-server_freebsd-x86.tar.gz teamspeak3-server_freebsd-x86

    or

    a.) tar -pczvf teamspeak3-server_freebsd-amd64.tar.gz teamspeak3-server_freebsd-amd64

    4.) Verify the backup contains our server files:

    a.) tar -ztvf teamspeak3-server_freebsd-x86.tar.gz

    or

    a.) tar -ztvf teamspeak3-server_freebsd-amd64.tar.gz

    5.) Download teamspeak 3 FreeBSD x86 or amd64 archive from http://www.teamspeak.com

    6.) Upload arcive to /root

    7.) cd /root

    8.) Extract:

    a.) tar -xzvf teamspeak3-server_freebsd-x86-*.tar.gz -C /usr/local/lib

    or

    a.) tar -xzvf teamspeak3-server_freebsd-amd64-*tar.gz -C /usr/local/lib

    9.) Change Ownership:

    a.) chown -R teamspeak:teamspeak /usr/local/lib/teamspeak3-server_freebsd-x86

    or

    a.) chown -R teamspeak:teamspeak /usr/local/lib/teamspeak3-server_freebsd-amd64

    10.) Start the teamspeak server and verify everything works:

    a.) /usr/local/etc/rc.d/teamspeak3-server start

    11.) If you wish to, restart the router and verify the teamspeak server starts as expected.

    Migrating: https://forum.pfsense.org/index.php?topic=86681.msg481345#msg481345
    *Thank You Tong.  😉



  • Thanks kevev!  Will be giving this a try after work today.



  • My ts3 not started

    /root(6): /usr/local/etc/rc.d/teamspeak3-server onestart
    Starting teamspeak3.
    su: unknown login: teamspeak
    /usr/local/etc/rc.d/teamspeak3-server: WARNING: failed to start teamspeak3

    need creat new user? How to do it this?
    From old manual

    5.)  pw user add -n teamspeak -c "TeamSpeak User" -d /usr/local/lib/teamspeak3-server_freebsd-x86 -s /usr/sbin/nologin

    6.)  passwd teamspeak  (Set the user’s password for added security even though it will not be used because the shell is nologin`

    7.)  chown -R teamspeak:teamspeak /usr/local/lib/teamspeak3-server_freebsd-x86

    Shell i try it?

    Log Ts3:

    2015-01-13 20:12:13.017480|INFO    |ServerLibPriv |  | TeamSpeak 3 Server  (1970-01-01 00:00:00)
    2015-01-13 20:12:13.018583|INFO    |ServerLibPriv |  | SystemInformation: FreeBSD 8.3-RELEASE-p16 FreeBSD 8.3-RELEASE-p16 #0: Mon Aug 25 08:25:41 EDT 2014    root@pf2_1_1_i386.pfsense.org:/usr/obj.i386/usr/pfSensesrc/src/sys/pfSense_SMP.8 i386 Binary: 32bit
    2015-01-13 20:12:13.033088|INFO    |DatabaseQuery |  | dbPlugin name:    SQLite3 plugin, Version 2, ©TeamSpeak Systems GmbH
    2015-01-13 20:12:13.033553|INFO    |DatabaseQuery |  | dbPlugin version: 3.6.21
    2015-01-13 20:12:13.037913|INFO    |DatabaseQuery |  | checking database integrity (may take a while)
    2015-01-13 20:12:13.206552|INFO    |SQL          |  | db_CreateTables() tables created



  • New user, brand new and very green to this and anything outside of Windows but here’s what I got.

    Just picked up an apu device, installed pfsense on it (8g SD soon to be 30g msata). Followed these directions (first post so far), got #6 done with no errors, rebooted, configured #7 (both lan and wan), but when I got to #8, there was no log folder, tried connecting anyways but no success (thought maybe only after a connect would there be a log folder/file). I can watch the machine boot through serial console and I’ve seen it say starting team speak, but can’t connect and there’s no log file.

    Another question I had is, if we have a 64bit capable machine and are using a 64bit install of pfsense, can/should we install the freebsd64 bit version of team speak instead of the x86?

    Thanks a ton for doing this and trying to make it simple for beginners like me, it was your old thread instructions that finally convinced me to buy one of these and start this process of a serious net security device.



  • As I stated in the first post, I will only be supporting the script install method.

    In your situation I would try the Removal option of the script and then the Install option.

    If that does not work reload pfSense and try the script.

    @unKn0wn:

    Shell i try it?



  • Which version of pfSense did you install? I have not tested these instructions on the nano build. Only on the full build.

    Where there any errors in the output when running the Install option of the script?

    Check if teamspeak is running:  ps aux|grep team

    If it is not running try starting it manually and check the output:  /usr/local/etc/rc.d/teamspeak3-server onestart

    @tong:

    New user, brand new and very green to this and anything outside of Windows but here’s what I got.

    Just picked up an apu device, installed pfsense on it (8g SD soon to be 30g msata). Followed these directions (first post so far), got #6 done with no errors, rebooted, configured #7 (both lan and wan), but when I got to #8, there was no log folder, tried connecting anyways but no success (thought maybe only after a connect would there be a log folder/file). I can watch the machine boot through serial console and I’ve seen it say starting team speak, but can’t connect and there’s no log file.

    Another question I had is, if we have a 64bit capable machine and are using a 64bit install of pfsense, can/should we install the freebsd64 bit version of team speak instead of the x86?

    Thanks a ton for doing this and trying to make it simple for beginners like me, it was your old thread instructions that finally convinced me to buy one of these and start this process of a serious net security device.



  • @kevev:

    Which version of pfSense did you install? I have not tested these instructions on the nano build. Only on the full build.

    Where there any errors in the output when running the Install option of the script?

    Check if teamspeak is running:  ps aux|grep team

    If it is not running try starting it manually and check the output:  /usr/local/etc/rc.d/teamspeak3-server onestart

    Using 2.1.5 live CD with installer (off mem stick) 64 bit version.  There were no errors when running the script.  Will try your suggestion when I get home and report back.

    Thank you very much.



  • Log never spit out the privilege key.

    After rebooting 3 logs were produced.  They are…

    #1```
    2015-01-15 00:12:48.685304|INFO    |ServerLibPriv |  | TeamSpeak 3 Server  (1970-01-01 00:00:00)
    2015-01-15 00:12:48.686766|INFO    |ServerLibPriv |  | SystemInformation: FreeBSD 8.3-RELEASE-p16 FreeBSD 8.3-RELEASE-p16 #0: Mon Aug 25 08:25:41 EDT 2014    root@pf2_1_1_i386.pfsense.org:/usr/obj.i386/usr/pfSensesrc/src/sys/pfSense_SMP.8 i386 Binary: 32bit
    2015-01-15 00:12:48.696158|INFO    |DatabaseQuery |  | dbPlugin name:    SQLite3 plugin, Version 2, ©TeamSpeak Systems GmbH
    2015-01-15 00:12:48.696657|INFO    |DatabaseQuery |  | dbPlugin version: 3.6.21
    2015-01-15 00:12:48.733735|INFO    |DatabaseQuery |  | checking database integrity (may take a while)
    2015-01-15 00:12:49.043127|INFO    |SQL          |  | db_CreateTables() tables created

    
    #2```
    2015-01-15 00:14:38.024153|INFO    |ServerLibPriv |   | TeamSpeak 3 Server  (1970-01-01 00:00:00)
    2015-01-15 00:14:38.032010|INFO    |ServerLibPriv |   | SystemInformation: FreeBSD 8.3-RELEASE-p16 FreeBSD 8.3-RELEASE-p16 #0: Mon Aug 25 08:25:41 EDT 2014     root@pf2_1_1_i386.pfsense.org:/usr/obj.i386/usr/pfSensesrc/src/sys/pfSense_SMP.8 i386 Binary: 32bit
    2015-01-15 00:14:38.097830|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    2015-01-15 00:14:38.099106|INFO    |DatabaseQuery |   | dbPlugin version: 3.6.21
    2015-01-15 00:14:38.124190|INFO    |DatabaseQuery |   | checking database integrity (may take a while)
    2015-01-15 00:14:38.251693|CRITICAL|DatabaseQuery |   | setSQLfromFile( file:sql/update_1.sql) failed
    
    

    #3```
    2015-01-15 00:14:56.710614|INFO    |ServerLibPriv |  | TeamSpeak 3 Server  (1970-01-01 00:00:00)
    2015-01-15 00:14:56.711993|INFO    |ServerLibPriv |  | SystemInformation: FreeBSD 8.3-RELEASE-p16 FreeBSD 8.3-RELEASE-p16 #0: Mon Aug 25 08:25:41 EDT 2014    root@pf2_1_1_i386.pfsense.org:/usr/obj.i386/usr/pfSensesrc/src/sys/pfSense_SMP.8 i386 Binary: 32bit
    2015-01-15 00:14:56.744478|INFO    |DatabaseQuery |  | dbPlugin name:    SQLite3 plugin, Version 2, ©TeamSpeak Systems GmbH
    2015-01-15 00:14:56.744987|INFO    |DatabaseQuery |  | dbPlugin version: 3.6.21
    2015-01-15 00:14:56.746687|INFO    |DatabaseQuery |  | checking database integrity (may take a while)
    2015-01-15 00:14:56.922026|CRITICAL|DatabaseQuery |  | setSQLfromFile( file:sql/update_1.sql) failed

    
    I tried connecting from my main rig(behind pfSense) using the LAN IP of my pfSense box, and also the DNS have pointed to my external IP to make people's lives easier when they connect to my TS3 server.
    
    At this point I realized I needed to fix my TS port forwards because they were resolving to my main rig's LAN IP.  Changed that to my pfSense LAN IP.
    
    I figured since I did that, and since those 3 logs didn't produce they key, I might as well stop/start the TS server.  I tried `/usr/local/etc/rc.d/teamspeak3-server stop` which produced…
    
    

    $ /usr/local/etc/rc.d/teamspeak3-server stop
    /usr/local/etc/rc.d/teamspeak3-server: WARNING: $teamspeak3_enable is not set properly - see rc.conf(5).
    Cannot ‘stop’ teamspeak3. Set teamspeak3_enable to YES in /etc/rc.conf or use ‘onestop’ instead of ‘stop’.

    
    So I replaced "stop" with "onestop" which seems to have done the trick.  I then tried the start command and got a similar error, corrected it to onestart.  This produced a fourth log…
    
    #4```
    2015-01-15 00:21:22.625060|INFO    |ServerLibPriv |   | TeamSpeak 3 Server  (1970-01-01 00:00:00)
    2015-01-15 00:21:22.636595|INFO    |ServerLibPriv |   | SystemInformation: FreeBSD 8.3-RELEASE-p16 FreeBSD 8.3-RELEASE-p16 #0: Mon Aug 25 08:25:41 EDT 2014     root@pf2_1_1_i386.pfsense.org:/usr/obj.i386/usr/pfSensesrc/src/sys/pfSense_SMP.8 i386 Binary: 32bit
    2015-01-15 00:21:22.643734|INFO    |DatabaseQuery |   | dbPlugin name:    SQLite3 plugin, Version 2, (c)TeamSpeak Systems GmbH
    2015-01-15 00:21:22.644223|INFO    |DatabaseQuery |   | dbPlugin version: 3.6.21
    2015-01-15 00:21:22.647119|INFO    |DatabaseQuery |   | checking database integrity (may take a while)
    2015-01-15 00:21:22.778871|CRITICAL|DatabaseQuery |   | setSQLfromFile( file:sql/update_1.sql) failed
    
    

    Did I do something wrong?  Followed the guide step-by-step making sure I was typing in all commands correctly.  I did steps 1 through 4 via webGUI command, then switched over to puTTy/SSH because I had to perform that install command from /root/.  Then I rebooted.  This is on a full install, version details are…

    2.1.5-RELEASE (i386)
    built on Mon Aug 25 07:44:26 EDT 2014
    FreeBSD 8.3-RELEASE-p16
    
    

    And just for good measure, here is the install log…

    Checking for required files...
    All required files have been found in /root
    Archive Extracting...
    Extraction completed successfully!
    
    Moving pfsense to /usr/local/lib/ ...
    Move completed successfully!
    
    Creating "teamspeak" user...
    Created user successfully!
    
    Moving script "ts3server.sh" to /usr/local/lib/teamspeak3-server_freebsd-x86
    Moving completed successfully!
    
    Setting permissions on /usr/local/lib/teamspeak3-server_freebsd-x86
    Permissions successful!
    
    Setting permissions on /usr/local/lib/teamspeak3-server_freebsd-x86/ts3server.sh
    Permissions successful!
    
    Moving script "teamspeak3-server" to /usr/local/etc/rc.d/
    Moving completed successful!
    
    Setting permissions on /usr/local/etc/rc.d/teamspeak3-server
    Permissions successful!
    
    Moving script "run_teamspeak3-server.sh" to /usr/local/etc/rc.d/
    Moving completed successful!
    
    Setting permissions on /usr/local/etc/rc.d/run_teamspeak3-server.sh
    Permissions successful!
    
    Backing up original system file /etc/rc.reboot
    Backup successful!
    
    Editing /etc/rc./reboot
    Editing completed successfully!
    
    Backing up original system file /etc/rc.shutdown
    Backup successful!
    
    Editing /etc/rc./shutdown
    Editing completed successfully!
    
    After checking the output for errors remember to reboot!
    
    

    ETA:  One of your four files doesn’t have a file extension.  Is this intentional?  It’s the “teamspeak3-server” file.

    ETA1:  There’s also this in case you were wanting to see it…

    $ ps aux|grep team
    root   41709  0.0  0.3  3468  1280  ??  S     6:42PM   0:00.00 grep team
    
    

    ETA2:  The “start” and “stop” commands are working normally now.  No “add one-” errors.  Weird.  Logs are still spitting out the same, ending with that critical SQL error.



  • ps aux|grep team

    Gives this result:

    root  81623  0.0  0.0  9068  1468  u0  S+    6:39PM  0:00.00 grep team

    Still no log folder however. And I’m beating my head on the firewall rule… Not sure i have it 100% right!

    Btw, did this fresh on a new install, followed all the directions to a T.

    Might be just me and my inexperience so far.



  • @tong:

    ps aux|grep team

    Gives this result:

    root  81623  0.0  0.0  9068  1468  u0  S+    6:39PM  0:00.00 grep team

    Still no log folder however. And I’m beating my head on the firewall rule… Not sure i have it 100% right!

    Btw, did this fresh on a new install, followed all the directions to a T.

    Might be just me and my inexperience so far.

    Are you sure you’re checking the /usr/local/lib/teamspeak3-server_freebsd-x86/logs/ directory?

    In the webGUI go to Diagnostics > Edit File.  Click Browse to view folder list.  Single-left-click usr, then local, then lib, then teamspeak3-server_freebsd-x86, then logs.  Are you not seeing the /teamspeak3-server_freebsd-x86/ folder in /usr/local/lib/?



  • @opjohnny:

    Are you sure you’re checking the /usr/local/lib/teamspeak3-server_freebsd-x86/logs/ directory?

    In the webGUI go to Diagnostics > Edit File.  Click Browse to view folder list.  Single-left-click usr, then local, then lib, then teamspeak3-server_freebsd-x86, then logs.  Are you not seeing the /teamspeak3-server_freebsd-x86/ folder in /usr/local/lib/?

    Yup, no log folder exists. Directory structure stops at /teamspeak3-server_freebsd-x86/, inside I have 5 folders: doc, redist, serverquerydocs, sql, tsdns.  There’s 9 files also but no log folder.



  • @tong:

    Yup, no log folder exists. Directory structure stops at /teamspeak3-server_freebsd-x86/, inside I have 5 folders: doc, redist, serverquerydocs, sql, tsdns.  There’s 9 files also but no log folder.

    When you first run the command to install TS3 server it spits out a log via cmd prompt.  Did you check to see every step was successful?  Did you reboot pfSense after that?

    Beyond that I’m out of ideas.  I’m still trying to figure out why I’m getting that SQL error which I think is not only keeping it from spitting out my key, but also keeping the server from starting/running properly.  I think it has something to do with TS thinking there is an update when there isn’t one, according to a google search of that specific error.



  • @opjohnny:

    When you first run the command to install TS3 server it spits out a log via cmd prompt.  Did you check to see every step was successful?  Did you reboot pfSense after that?

    Beyond that I’m out of ideas.  I’m still trying to figure out why I’m getting that SQL error which I think is not only keeping it from spitting out my key, but also keeping the server from starting/running properly.  I think it has something to do with TS thinking there is an update when there isn’t one, according to a google search of that specific error.

    Remove or Install?
    Enter I/i for Install. R/r for Remove.i
    Install
    
    Checking for required files...
    All required files have been found in /root
    Archive Extracting...
    Extraction completed successfully!
    
    Moving pfsense to /usr/local/lib/ ...
    Move completed successfully!
    
    Creating "teamspeak" user...
    Created user successfully!
    
    Moving script "ts3server.sh" to /usr/local/lib/teamspeak3-server_freebsd-x86
    Moving completed successfully!
    
    Setting permissions on /usr/local/lib/teamspeak3-server_freebsd-x86
    Permissions successful!
    
    Setting permissions on /usr/local/lib/teamspeak3-server_freebsd-x86/ts3server.sh
    Permissions successful!
    
    Moving script "teamspeak3-server" to /usr/local/etc/rc.d/
    Moving completed successful!
    
    Setting permissions on /usr/local/etc/rc.d/teamspeak3-server
    Permissions successful!
    
    Moving script "run_teamspeak3-server.sh" to /usr/local/etc/rc.d/
    Moving completed successful!
    
    Setting permissions on /usr/local/etc/rc.d/run_teamspeak3-server.sh
    Permissions successful!
    
    Backing up original system file /etc/rc.reboot
    Backup successful!
    
    Editing /etc/rc./reboot
    Editing completed successfully!
    
    Backing up original system file /etc/rc.shutdown
    Backup successful!
    
    Editing /etc/rc./shutdown
    Editing completed successfully!
    
    After checking the output for errors remember to reboot!
    

    There you go, no Log folder



  • pfSense 2.1.5-RELEASE-pfSense (amd64)

    Does it matter if I’m using the 64bit ? Could that be my problem?



  • I fixed the issue in the old scripts.

    Be sure to uninstall the old version with the 1.0 script using the Removel option before uploading and installing from the new 1.1 scripts!

    Let me know if the new version works or has issues.  🙂



  • @kevev:

    I fixed the issue in the old scripts.

    Be sure to uninstall the old version with the 1.0 script using the Removel option before uploading and installing from the new 1.1 scripts!

    Let me know if the new version works or has issues.  🙂

    Thanks kevev, but I’m still at stuck at the same issue, no log folder.  Only thing i can think of is that I’m using the 64bit version of pfsense.

    Did it on a brand new fresh install just in case too. Still no dice.



  • That’s not good. Try it on a 32bit system or wait till I post the 64bit install scripts.

    @tong:

    @kevev:

    I fixed the issue in the old scripts.

    Be sure to uninstall the old version with the 1.0 script using the Removel option before uploading and installing from the new 1.1 scripts!

    Let me know if the new version works or has issues.  🙂

    Thanks kevev, but I’m still at stuck at the same issue, no log folder.  Only thing i can think of is that I’m using the 64bit version of pfsense.

    Did it on a brand new fresh install just in case too. Still no dice.



  • @kevev:

    That’s not good. Try it on a 32bit system or wait till I post the 64bit install scripts.

    I’ll wait, it will give me time to play with this box and learn stuff that i need to know on how to use it.



  • Just got home from work.  I’ll run the 1.0 script uninstall/1.1 script install and report back with my findings.



  • I ran the uninstall but still see the following in /root/….

    pfsense-teamspeak-install.sh
    
    run_teamspeak3-server.sh
    
    teamspeak3-server
    
    teamspeak3-server_freebsd-x86-3.0.11.2.tar.gz
    
    ts3server.sh
    

    Am I supposed to delete those before doing the new script install?

    Also, do I re-follow all steps in the first post for the new script install?



  • Deleted all those TS related files from /root/ except the official archive.  Uploaded script files to /root/.  Ran installer script via puTTy.  Output…

    Checking for required files...
    All required files have been found in /root
    Archive Extracting...
    Extraction completed successfully!
    
    Moving pfsense to /usr/local/lib/ ...
    Move completed successfully!
    
    Creating "teamspeak" user...
    Created user successfully!
    
    Setting permissions on /usr/local/lib/teamspeak3-server_freebsd-x86
    Permissions successful!
    
    Moving script "teamspeak3-server.sh" to /usr/local/etc/rc.d/
    Moving completed successful!
    
    Setting permissions on /usr/local/etc/rc.d/teamspeak3-server.sh
    Permissions successful!
    
    Moving script "rc.conf.local" to /etc/
    Moving completed successful!
    
    Setting permissions on /etc/rc.conf.local
    Permissions successful!
    

    No reboot reminder, not sure if that was intentional.

    Rebooted, changed port forwards to resolve to my pfsense IP instead of my rig’s IP.

    Checked logs, noticed log sizes I didn’t see before.  First log had a bunch of info, no issues that I could see.  Second log had…a token!  Logged in to my server via the LAN IP of my pfSense box and authenticated as admin.  Hooray!

    Kevev - You are extremely awesome for taking the time to do this.  You really saved my ass here, and now I can finally turn my main rig off / stop temporarily hosting my gaming community’s ts3.  😎



  • Awesome dude. Glad someone got it working. I will update the script to remind users to reboot.

    @opjohnny:

    Deleted all those TS related files from /root/ except the official archive.  Uploaded script files to /root/.  Ran installer script via puTTy.  Output…

    Checking for required files...
    All required files have been found in /root
    Archive Extracting...
    Extraction completed successfully!
    
    Moving pfsense to /usr/local/lib/ ...
    Move completed successfully!
    
    Creating "teamspeak" user...
    Created user successfully!
    
    Setting permissions on /usr/local/lib/teamspeak3-server_freebsd-x86
    Permissions successful!
    
    Moving script "teamspeak3-server.sh" to /usr/local/etc/rc.d/
    Moving completed successful!
    
    Setting permissions on /usr/local/etc/rc.d/teamspeak3-server.sh
    Permissions successful!
    
    Moving script "rc.conf.local" to /etc/
    Moving completed successful!
    
    Setting permissions on /etc/rc.conf.local
    Permissions successful!
    

    No reboot reminder, not sure if that was intentional.

    Rebooted, changed port forwards to resolve to my pfsense IP instead of my rig’s IP.

    Checked logs, noticed log sizes I didn’t see before.  First log had a bunch of info, no issues that I could see.  Second log had…a token!  Logged in to my server via the LAN IP of my pfSense box and authenticated as admin.  Hooray!

    Kevev - You are extremely awesome for taking the time to do this.  You really saved my ass here, and now I can finally turn my main rig off / stop temporarily hosting my gaming community’s ts3.  😎



  • I added a 64bit version.

    I also updated the x86 version to correct some spelling mistakes and added a reboot reminder.  😉

    Let me know if there are issues.



  • @kevev:

    I added a 64bit version.

    I also updated the x86 version to correct some spelling mistakes and added a reboot reminder.  😉

    Let me know if there are issues.

    Can’t wait to get home and try the 64bit out… Anything else you want me to try out while this box is still a virgin and not in “production” use?



  • I have a cups printing tutorial you can try out. 🙂

    I may write scripts for that one too if there is interest.

    @tong:

    Can’t wait to get home and try the 64bit out… Anything else you want me to try out while this box is still a virgin and not in “production” use?



  • @kevev:

    I have a cups printing tutorial you can try out. 🙂

    I may write scripts for that one too if there is interest.

    I can test out to see if it installs and that portion of it, I won’t be able to test out is use unfortunately…

    How about one for mumble (teamspeak alternative)? Might be a popular option for those that want more users but on the same type of VoIP thing?



  • @kevev:

    I added a 64bit version.

    I also updated the x86 version to correct some spelling mistakes and added a reboot reminder.  😉

    Let me know if there are issues.

    Complete success. Everything went smooth on 64bit as instructed.

    Kevev, can you change this:

    4.)  Run the install script for your architecture

    pfsense-teamspeak-install_x86.sh

    or

    pfsense-teamspeak-install_amd64.sh

    to this:

    4.)  Run the install script for your architecture

    ./pfsense-teamspeak-install_x86.sh

    or

    ./pfsense-teamspeak-install_amd64.sh

    I was beating myself over the head trying to remember the ./ for the install.  Like I said I’m a complete newb at this; but by following your directions, it’s installed, and running, sweet.

    Thank you very much, I hope this helps someone else too.



  • ./pfsense-teamspeak-install_x86.sh

    ./pfsense-teamspeak-install_amd64.sh

    Done.



  • Kevev - Since you had to fix the scripts, do the update instructions change at all?  Want to make sure I have those saved once the next update rolls out.



  • @opjohnny:

    Kevev - Since you had to fix the scripts, do the update instructions change at all?  Want to make sure I have those saved once the next update rolls out.

    Good catch on the upgrade instructions. I updated them. They should be correct now.



  • I will see what I can do on mumble. It requires compiling which may be a no go here. Unless someone can fine me a ports or binary install.

    @tong:

    I can test out to see if it installs and that portion of it, I won’t be able to test out is use unfortunately…

    How about one for mumble (teamspeak alternative)? Might be a popular option for those that want more users but on the same type of VoIP thing?



  • kevev: original instructions:

    3.)  chmod +x /root/pfsense-teamspeak-install.sh

    to

    3.)  chmod +x /root/pfsense-teamspeak-install.sh
    or
    3.)  chmod +x /root/pfsense-teamspeak-install_amd64.sh



  • setup, administered and running, machine is ow online with TS3… sweet… now to get snort to not ban everyone



  • Done. Good luck with snort. Very powerful product.

    @tong:

    kevev: original instructions:

    3.)  chmod +x /root/pfsense-teamspeak-install.sh

    to

    3.)  chmod +x /root/pfsense-teamspeak-install.sh
    or
    3.)  chmod +x /root/pfsense-teamspeak-install_amd64.sh



  • @kevev:

    Done. Good luck with snort. Very powerful product.

    How about a set of directions for changing hardware or machines, or even a fresh install upgrade?  Some way to carry over our install and current settings? I’m guessing it goes like the upgrade instructions for the first part of it.

    Thanks.



  • I am guessing you only need to bring over the sqlite* DB file. As this is outside of the scope of this thread maybe try the teamspeak website.

    @tong:

    @kevev:

    Done. Good luck with snort. Very powerful product.

    How about a set of directions for changing hardware or machines, or even a fresh install upgrade?  Some way to carry over our install and current settings? I’m guessing it goes like the upgrade instructions for the first part of it.

    Thanks.



  • Will updating to 2.2 break the TS server at all?



  • Try it and let us know. ::)

    @opjohnny:

    Will updating to 2.2 break the TS server at all?



  • @opjohnny:

    Will updating to 2.2 break the TS server at all?

    Nope works fine.

    To move your server to a new machine or if you wish to reformat/reinstall a fresh copy of pfsense:

    Do the backup part as Kevev as stated in post 2 for an upgrade (steps 1 through 4), then copy the backup to another computer/location.  From this backup all you technically need is ts3server.sqlitedb file.  Follow the instructions posted for the install from post 1, on reboot (@ step 8.) do the following:

    1. Verify the server is running, connect to it should ask you for the key as in original step 8, don’t bother we don’t need this.

    2. Shutdown the teamspeak server:

    a.) /usr/local/etc/rc.d/teamspeak3-server.sh forcestop

    3. Copy the original ts3server.sqlitedb file from your backup and override the new one to:

    /usr/local/lib/teamspeak3-server_freebsd-x86

    or

    /usr/local/lib/teamspeak3-server_freebsd-amd64

    4. Optional: Copy your log folder also and override the new one (I like to keep logs)

    5. Start the teamspeak server and verify everything works:

    a.) /usr/local/etc/rc.d/teamspeak3-server.sh start

    6. If you wish to, restart the router and verify the teamspeak server starts as expected.

    ***thanks to kevev for making this super easy for us, most of these instructions are just a copy of his.

    kevev, you can add this to your second post if you want so people don’t have to hunt for it.


 

© Copyright 2002 - 2018 Rubicon Communications, LLC | Privacy Policy