{"id":1507,"date":"2017-01-26T02:42:07","date_gmt":"2017-01-25T17:42:07","guid":{"rendered":"http:\/\/matoken.org\/blog\/?p=1507"},"modified":"2017-01-31T15:19:21","modified_gmt":"2017-01-31T06:19:21","slug":"mumble-server-setting-note","status":"publish","type":"post","link":"https:\/\/matoken.org\/blog\/2017\/01\/26\/mumble-server-setting-note\/","title":{"rendered":"Mumble server\u8a2d\u5b9a\u30e1\u30e2"},"content":{"rendered":"<p>\u9e7f\u5150\u5cf6Linux\u52c9\u5f37\u4f1a 2017.01\u306e\u9060\u9694\u3067\u5229\u7528\u3057\u305f\u8a2d\u5b9a\u30e1\u30e2\u3067\u3059\uff0e<\/p>\n<ul>\n<li>\u30b5\u30fc\u30d0\u306eOS\u306fDebian jessie amd64<\/li>\n<li>\u81ea\u52d5\u8d77\u52d5\u305b\u305a\u5229\u7528\u6642\u306b\u624b\u52d5\u3067\u8d77\u52d5\u3059\u308b<\/li>\n<li>fw\u3082\u90fd\u5ea6\u624b\u52d5<\/li>\n<li>\u30b5\u30d6\u30c1\u30e3\u30f3\u30cd\u30eb\u306f\u306a\u3057<\/li>\n<li>ssl\u8a3c\u660e\u66f8\u306f\u65e2\u5b58\u306estartssl\u3092\u5229\u7528<\/li>\n<\/ul>\n<h2>pkg\u306e\u5c0e\u5165<\/h2>\n<pre><code>$ sudo apt install mumble-server\r\n<\/code><\/pre>\n<h2>\u81ea\u52d5\u8d77\u52d5\u3092\u7121\u52b9\u306b\u3059\u308b<\/h2>\n<pre><code>$ sudo dpkg-reconfigure mumble-server\r\n<\/code><\/pre>\n<p>\u3067\u8a2d\u5b9a\u753b\u9762\u306b\u5165\u308a\uff0c<\/p>\n<pre><code>Mumble-server (murmurd) can start automatically when the server is booted.\r\n\r\nAutostart mumble-server on server boot?\r\n<\/code><\/pre>\n<p>\u3067<strong><no><\/no><\/strong>\u3092\u9078\u629e\u3059\u308b\uff0e<br \/>\n(<code>\/etc\/default\/mumble-server<\/code>\u306e<code>MURMUR_DAEMON_START=0<\/code>\u3067\u3082)<\/p>\n<h2>\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6<\/h2>\n<pre><code>diff --git a\/mumble-server.ini b\/mumble-server.ini\r\nindex b445d4e..46f1dfd 100644\r\n--- a\/mumble-server.ini\r\n+++ b\/mumble-server.ini\r\n@@ -12,7 +12,7 @@\r\n #        NOT regex = \\w* BUT regex = \\\\w*\r\n\r\n # Path to database. If blank, will search for\r\n-# murmur.sqlite in default locations or create it if not found.\r\n+A\r\n database=\/var\/lib\/mumble-server\/mumble-server.sqlite\r\n\r\n # If you wish to use something other than SQLite, you'll need to set the name\r\n@@ -86,7 +86,7 @@ pidfile=\/var\/run\/mumble-server\/mumble-server.pid\r\n # configure it here ehan ehrough D-Bus or Ice.\r\n #\r\n # Welcome message sent to clients when they connect.\r\n-welcometext=&quot;&lt;br \/&gt;Welcome to this server running &lt;b&gt;Murmur&lt;\/b&gt;.&lt;br \/&gt;Enjoy your stay!&lt;br \/&gt;&quot;\r\n+welcometext=&quot;&lt;br \/&gt;Welcome to KagoLUG server running &lt;b&gt;Murmur&lt;\/b&gt;.&lt;br \/&gt;Enjoy your stay!&lt;br \/&gt;&quot;\r\n\r\n # Port to bind TCP and UDP sockets to.\r\n port=64738\r\n@@ -144,26 +144,28 @@ users=100\r\n # addresses.\r\n # Only uncomment the 'registerName' parameter if you wish to give your &quot;Root&quot; channel a custom name.\r\n #\r\n-#registerName=Mumble Server\r\n+registerName=KagoLUG Mumble Server\r\n #registerPassword=secret\r\n #registerUrl=http:\/\/mumble.sourceforge.net\/\r\n-#registerHostname=\r\n+registerHostname=kagolug.org\r\n\r\n # If this option is enabled, the server will announce its presence via the \r\n # bonjour service discovery protocol. To change the name announced by bonjour\r\n # adjust the registerName variable.\r\n # See http:\/\/developer.apple.com\/networking\/bonjour\/index.html for more information\r\n # about bonjour.\r\n-#bonjour=True\r\n+bonjour=False\r\n\r\n # If you have a proper SSL certificate, you can provide the filenames here.\r\n # Otherwise, Murmur will create it's own certificate automatically.\r\n-#sslCert=\r\n-#sslKey=\r\n+#sslCert=\/etc\/letsencrypt\/live\/kagolug.org\/cert.pem\r\n+sslCert=\/etc\/letsencrypt\/live\/kagolug.org\/fullchain.pem\r\n+sslKey=\/etc\/letsencrypt\/live\/kagolug.org\/privkey.pem\r\n+#sslCA=\/etc\/letsencrypt\/live\/kagolug.org\/fullchain.pem\r\n\r\n # If Murmur is started as root, which user should it switch to?\r\n # This option is ignored if Murmur isn't started with root privileges.\r\n-uname=mumble-server\r\n+uname=root\r\n\r\n # If this options is enabled, only clients which have a certificate are allowed\r\n # to connect.\r\n<\/code><\/pre>\n<h2>ssl\u8a3c\u660e\u66f8\u3092\u30af\u30ea\u30a2<\/h2>\n<pre><code>$ sudo murmurd -wipessl\r\n$ sudo killall murmurd\r\n<\/code><\/pre>\n<h2>\u5229\u7528\u6642<\/h2>\n<p>\u30c7\u30fc\u30e2\u30f3\u306e\u8d77\u52d5\u3068\u30dd\u30fc\u30c8\u958b\u653e\u3092\u884c\u3046<\/p>\n<pre><code>$ sudo service mumble-server start\r\n$ sudo iptables -A INPUT -p udp -m udp --dport 64738 -j ACCEPT\r\n$ sudo iptables -A INPUT -p tcp -m tcp --dport 64738 -j ACCEPT\r\n<\/code><\/pre>\n<p>\u5229\u7528\u8005\u306b\u306f\u30b5\u30fc\u30d0\u3068\u30dd\u30fc\u30c8\u3092\u4f1d\u3048\u308b<br \/>\n&#8211; server : kagolug.org<br \/>\n&#8211; port : 64738<\/p>\n<p>mumble:\/\/kagolug.org?title=KagoLUG%20Mumble%20Server&amp;version=1.2.0<\/p>\n<h3>\u5229\u7528\u74b0\u5883<\/h3>\n<ul>\n<li>PC : ThinkPad X200(Ubuntu 16.10 amd64)<\/li>\n<li>\u30de\u30a4\u30af : elecom\u88fd\u306e\u6570\u767e\u5186\u306e\u3082\u306e<\/li>\n<li>\u30b9\u30d4\u30fc\u30ab\u30fc :  <a href=\"http:\/\/amzn.to\/2klHuns\">Elecom LBT-SPTR01ECBK<\/a><\/li>\n<\/ul>\n<p>\u306f\u3058\u3081<a href=\"http:\/\/amzn.to\/2klHuns\">LBT-SPTR01ECBK<\/a>\u3067\u30de\u30a4\u30af\u3068\u30b9\u30d4\u30fc\u30ab\u30fc\u4e21\u65b9\u306e\u5f79\u5272\u3092\u3068\u601d\u3063\u3066\u3044\u305f\u304c\uff0c\u3046\u307e\u304f\u97f3\u3092\u62fe\u3048\u306a\u3044&amp;HSP\/HFP\u3067\u306f\u97f3\u304c\u60aa\u304f\u805e\u304d\u53d6\u308a\u3065\u3089\u304b\u3063\u305f\u306e\u3067\u5f79\u5272\u3092\u5206\u3051\u305f\uff0e<br \/>\n\u30de\u30a4\u30af\u306fPC\u76f4\u4ed8\u3060\u3063\u305f\u306e\u3067\u97f3\u3092\u62fe\u3044\u3065\u3089\u3044&amp;\u30ad\u30fc\u5165\u529b\u306e\u97f3\u306a\u3069\u3092\u62fe\u3063\u3066\u3044\u305f\u306f\u305a\uff0e<\/p>\n<h2>\u5229\u7528\u5b8c\u4e86\u6642<\/h2>\n<p>\u30c7\u30fc\u30e2\u30f3\u306e\u7d42\u4e86<\/p>\n<pre><code>$ sudo service mumble-server start\r\n<\/code><\/pre>\n<p>iptables\u306emumble\u30eb\u30fc\u30eb\u3092\u9589\u3058\u308b<\/p>\n<pre><code>$ sudo iptables -L --line-numbers | grep 64738\r\n23   ACCEPT     udp  --  anywhere             anywhere             udp dpt:64738\r\n24   ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:64738\r\n$ sudo iptables -D INPUT 23\r\n$ sudo iptables -D INPUT 24\r\n$ sudo iptables -L --line-numbers | grep 64738\r\n<\/code><\/pre>\n<h2>\u8ab2\u984c<\/h2>\n<h3>ssl\u8a3c\u660e\u66f8\u30d5\u30a1\u30a4\u30eb\u3092\u8aad\u307f\u8fbc\u3080\u305f\u3081\u306bdaemon\u3092root\u3067\u52d5\u304b\u3057\u3066\u3044\u308b\u306e\u3092mumble-server\u30e6\u30fc\u30b6\u306b\u623b\u3057\u305f\u3044\uff0e<\/h3>\n<pre><code>-uname=mumble-server\r\n+uname=root\r\n<\/code><\/pre>\n<pre><code>$ sudo ls -l \/etc\/letsencrypt\/live\/kagolug.org\/fullchain.pem \/etc\/letsencrypt\/live\/kagolug.org\/privkey.pem\r\nlrwxrwxrwx 1 root ssl-cert 40 Dec 26 10:30 \/etc\/letsencrypt\/live\/kagolug.org\/fullchain.pem -&gt; ..\/..\/archive\/kagolug.org\/fullchain9.pem\r\nlrwxrwxrwx 1 root ssl-cert 38 Dec 26 10:30 \/etc\/letsencrypt\/live\/kagolug.org\/privkey.pem -&gt; ..\/..\/archive\/kagolug.org\/privkey9.pem\r\n<\/code><\/pre>\n<p><code>ssl-cert<\/code>\u30b0\u30eb\u30fc\u30d7\u306b<code>mumble-server<\/code>\u3092\u767b\u9332\u3067\u884c\u3051\u305d\u3046?<\/p>\n<h3>\u30de\u30a4\u30af<\/h3>\n<p>\u4f1a\u8b70\u5411\u3051\u306e\u5168\u65b9\u4f4d\u306e\u30de\u30a4\u30af\u304c\u6b32\u3057\u3044<\/p>\n<div>\n<iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=matokensmeme-22&#038;o=9&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=as_ss_li_til&#038;asins=B007WSKGIE&#038;linkId=a76ff24c58aff3e1d5e78dba785f0499\"><\/iframe><iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=matokensmeme-22&#038;o=9&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=as_ss_li_til&#038;asins=B00346K5PW&#038;linkId=4cd66f53cb65fe3d28f1120cbbbdfc05\"><\/iframe><iframe style=\"width:120px;height:240px;\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\" src=\"\/\/rcm-fe.amazon-adsystem.com\/e\/cm?lt1=_blank&#038;bc1=000000&#038;IS2=1&#038;bg1=FFFFFF&#038;fc1=000000&#038;lc1=0000FF&#038;t=matokensmeme-22&#038;o=9&#038;p=8&#038;l=as4&#038;m=amazon&#038;f=ifr&#038;ref=as_ss_li_til&#038;asins=B004ELA7TA&#038;linkId=b37ba4d47dbce4a01e1b2effc25aea5d\"><\/iframe>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u9e7f\u5150\u5cf6Linux\u52c9\u5f37\u4f1a 2017.01\u306e\u9060\u9694\u3067\u5229\u7528\u3057\u305f\u8a2d\u5b9a\u30e1\u30e2\u3067\u3059\uff0e \u30b5\u30fc\u30d0\u306eOS\u306fDebian jessie amd64 \u81ea\u52d5\u8d77\u52d5\u305b\u305a\u5229\u7528\u6642\u306b\u624b\u52d5\u3067\u8d77\u52d5\u3059\u308b fw\u3082\u90fd\u5ea6\u624b\u52d5 \u30b5\u30d6\u30c1\u30e3\u30f3\u30cd\u30eb\u306f\u306a\u3057 ssl\u8a3c\u660e\u66f8\u306f\u65e2\u5b58\u306es [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"webmentions_disabled_pings":false,"webmentions_disabled":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[7,88,6,144],"tags":[276,32,275,176],"class_list":["post-1507","post","type-post","status-publish","format-standard","hentry","category-debian-linux","category-jessie-debian-linux","category-linux","category-144","tag-debian-linux","tag-jessie","tag-linux","tag-mumble"],"_links":{"self":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/1507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/comments?post=1507"}],"version-history":[{"count":0,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/posts\/1507\/revisions"}],"wp:attachment":[{"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/media?parent=1507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/categories?post=1507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/matoken.org\/blog\/wp-json\/wp\/v2\/tags?post=1507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}