View Single Post
Old 04-18-2010, 03:15 AM   #4
Malific
Junior Member
 
Join Date: Apr 2010
Posts: 1
Default Mac OS X Ventrilo 3.0.2 Setup

I was recently reading through the Vent Server 3.0.2 on Mac OSX 10.5.4 thread, and I thought I'd contribute by posting one of my own to help those of you who might still be confused.

Step 1: Even though you probably already done this, go to http://www.ventrilo.com/download.php and download the Mac OSX version under Server programs.

Step 2: Once the file has been downloaded unarchive it. That's just a matter of double clicking it and letting the Archiving Utility do its work. You will then have a file labeled ventsrv. Take this file and drag it into your applications folder.

Step 3: Now return to the ventsrv folder and open it. Right click on the file ventrilo_srv.ini and select open with Text Editor. I caution you now that this file controls the parameters upon which your server will run so by editing these options incorrectly, you may drastically affect the operation of your server. You can obtain more information about the .ini file by opening the ventrilo_srv.htm file, and I highly recommend doing so before you edit your .ini file.

Step 4: You should now see something like this.
Quote:
[Server]

Name=Server 1
Phonetic=Server 1
Auth=0
Duplicates=1
AdminPassword=
Password=
SendBuffer=0
RecvBuffer=0
Diag=0
LogonTimeout=5
CloseStd=1
TimeStamp=0
PingRate=10
ExtraBuffer=0
ChanWidth=0
ChanDepth=0
ChanClients=0
DisableQuit=0
VoiceCodec=0
VoiceFormat=1
SilentLobby=0
AutoKick=0
We'll take care of the easy stuff first.
  • Replace 'Server 1' in 'Name=' and 'Phonetic=' to the name you want your server to be called.
  • If you would like your server open to the world, leave 'Auth=0'. If you would like to have a password required to access your server, set 'Auth=1'.
  • Set Duplicates to 1, 'Duplicates=1'.
  • Choose your administrative password you would like to use and stick it in, 'AdminPassword=XXXXX'.
  • If you set 'Auth=1' you will now have to stick a password into the next value, 'Password=YYYYY'. I would suggest making this different than your admin password.
  • Skip down to 'VoiceCodec=' and set it to 3, 'VoiceCodec=3'
  • Set 'VoiceFormat=' to any number from 0-32. The higher the number the better the sound quality, but the better the quality the more bandwidth usage. So in turn, this setting determines the amount of internet usage in order to operate the VOIP service. By setting this value to high you may actually hurt the quality of your server. You can test this under Setup in the Ventrilo Client once the server is up and running in order to determine maximum efficiency.
Below is the list of codecs, their assigned values, and their estimated bandwidth usage. The first column of numbers being the 'Codec' and the second number being the 'Format'. Keep in mind that the Speex codec is the only codec compatible with Mac.
Quote:
Codec Format Description:
0 0 GSM 6.10 (8000 Hz, 16 bit) 1625 bytes/sec
0 1 GSM 6.10 (11025 Hz, 16 bit) 2210 bytes/sec
0 2 GSM 6.10 (22050 Hz, 16 bit) 4420 bytes/sec
0 3 GSM 6.10 (44100 Hz, 16 bit) 8905 bytes/sec
1 0 DSP Group TrueSpeech (8000 Hz, 16 bit) 1056 bytes/sec
2 0 Lernout & Hauspie (8000 Hz, 16 bit) 600 bytes/sec
3 0 Speex (8 KHz, 16 bit, 0 Qlty) 424 bytes/sec
3 1 Speex (8 KHz, 16 bit, 1 Qlty) 620 bytes/sec
3 2 Speex (8 KHz, 16 bit, 2 Qlty) 865 bytes/sec
3 3 Speex (8 KHz, 16 bit, 3 Qlty) 1110 bytes/sec
3 4 Speex (8 KHz, 16 bit, 4 Qlty) 1110 bytes/sec
3 5 Speex (8 KHz, 16 bit, 5 Qlty) 1502 bytes/sec
3 6 Speex (8 KHz, 16 bit, 6 Qlty) 1502 bytes/sec
3 7 Speex (8 KHz, 16 bit, 7 Qlty) 1922 bytes/sec
3 8 Speex (8 KHz, 16 bit, 8 Qlty) 1922 bytes/sec
3 9 Speex (8 KHz, 16 bit, 9 Qlty) 2384 bytes/sec
3 10 Speex (8 KHz, 16 bit, 10 Qlty) 3168 bytes/sec
3 11 Speex (16 KHz, 16 bit, 0 Qlty) 620 bytes/sec
3 12 Speex (16 KHz, 16 bit, 1 Qlty) 865 bytes/sec
3 13 Speex (16 KHz, 16 bit, 2 Qlty) 1110 bytes/sec
3 14 Speex (16 KHz, 16 bit, 3 Qlty) 1355 bytes/sec
3 15 Speex (16 KHz, 16 bit, 4 Qlty) 1698 bytes/sec
3 16 Speex (16 KHz, 16 bit, 5 Qlty) 2188 bytes/sec
3 17 Speex (16 KHz, 16 bit, 6 Qlty) 2678 bytes/sec
3 18 Speex (16 KHz, 16 bit, 7 Qlty) 3070 bytes/sec
3 19 Speex (16 KHz, 16 bit, 8 Qlty) 3560 bytes/sec
3 20 Speex (16 KHz, 16 bit, 9 Qlty) 4344 bytes/sec
3 21 Speex (16 KHz, 16 bit, 10 Qlty) 5324 bytes/sec
3 22 Speex (32 KHz, 16 bit, 0 Qlty) 669 bytes/sec
3 23 Speex (32 KHz, 16 bit, 1 Qlty) 1061 bytes/sec
3 24 Speex (32 KHz, 16 bit, 2 Qlty) 1306 bytes/sec
3 25 Speex (32 KHz, 16 bit, 3 Qlty) 1551 bytes/sec
3 26 Speex (32 KHz, 16 bit, 4 Qlty) 1943 bytes/sec
3 27 Speex (32 KHz, 16 bit, 5 Qlty) 2433 bytes/sec
3 28 Speex (32 KHz, 16 bit, 6 Qlty) 2874 bytes/sec
3 29 Speex (32 KHz, 16 bit, 7 Qlty) 3266 bytes/sec
3 30 Speex (32 KHz, 16 bit, 8 Qlty) 3756 bytes/sec
3 31 Speex (32 KHz, 16 bit, 9 Qlty) 4540 bytes/sec
3 32 Speex (32 KHz, 16 bit, 10 Qlty) 5520 bytes/sec
Congratulations! You are now done with the .ini file. You should now have something that looks like this.
Quote:
[Server]

Name=Tutorial Server
Phonetic=Tutorial Server
Auth=0 (This is for no password to access server)
Duplicates=1
AdminPassword=XXXXX
Password=YYYYYY (This is done if Auth=1)
SendBuffer=0
RecvBuffer=0
Diag=0
LogonTimeout=5
CloseStd=1
TimeStamp=0
PingRate=10
ExtraBuffer=0
ChanWidth=0
ChanDepth=0
ChanClients=0
DisableQuit=0
VoiceCodec=3
VoiceFormat=16
SilentLobby=0
AutoKick=0
Do not include GREEN text in .ini file.

Step 5: Now we'll create our own application to start the server.
  • Open Script Editor.
  • Copy and paste this code into Script Editor.
    Code:
    set login to "./ventrilo_srv" as text
    tell application "Terminal" to do script "cd /Applications/ventsrv" in window 1
    tell application "Terminal" to do script login in window 1
    
    tell application "System Events"
    	set visible of process "Terminal" to false
    end tell
  • Click Compile in the toolbar.
  • Go to File->Save As.
  • Name the file 'Ventrilo Server'.
  • Save it to your applications folder.
  • Export it as and Application.
  • Click Save.

Step 6: Now we've got to let connections come into your computer.
  • Go to System Preferences.
  • Click Security.
  • Select the Firewall tab.
  • Now select 'Allow all incoming connections' if it isn't already selected. Otherwise, add 'ventrilo_srv' to your 'Safe List' by clicking the plus sign and selecting the 'ventrilo_srv' executable from the 'ventsvr' folder.
Caution: By doing this you may be allowing unwanted persons access to your computer. Do this at your own risk. I am not responsible for anything that may happen to you or your computer due to the enabling of this option.

Step 7: You'll now need to port forward your router if you have one. If not skip to step 8. Every router is different when it comes to port forwarding. If you don't know how, use this website to guide you through the port forwarding process of your specific router in conjunction with the information given in this quoted text.
Quote:
Port Forwarding: Vent requires port 3784 to be open for both TCP and UDP. If you are using a router, you need to manually forward this port to the computer running the server. You will need to know the LAN IP of the computer running the server. You can find this by going to Network Preferences, selecting the appropriate connection (Ethernet, Airport, etc) and write down the IP address listed.

Next, go into your router's setup. You need to find the port forwarding section. Most routers will let you enter a description for the forward (VentTCP and VentUDP for example), will ask which IP you want the port forwarded to, and will ask if you want TCP, UDP, or Both. Some users have had problems with Both, so I recommend setting up two separate port forwards, one for port 3784 TCP and one for port 3784 UDP. That should take care of the router setup.
Caution: By doing this you may be allowing unwanted persons access to your computer. Do this at your own risk. I am not responsible for anything that may happen to you or your computer due to the enabling of this option.

Step 8: Find out what your external (WAN) ip address is by clicking here. This will be the hostname to your server.

Step 9: Execute the 'Ventrilo Server' application we created earlier. Terminal should open and then immediately go into 'Hide' mode.

Step 10: Go to http://www.ventrilo.com/status.php and enter your WAN ip address and port 3784. If your server information comes up, CONGRATULATIONS!!! You have successfully set up your own private Ventrilo server. Use it wisely and for the good of man kind... or don't. I don't really care. :P haha
Malific is offline