{"id":1215,"date":"2018-05-21T16:05:50","date_gmt":"2018-05-21T14:05:50","guid":{"rendered":"http:\/\/dan.thoeisen.dk\/hjem\/?p=1215"},"modified":"2020-04-04T02:00:24","modified_gmt":"2020-04-04T00:00:24","slug":"waoo-tv-med-en-usg-unifi-security-gateway","status":"publish","type":"post","link":"https:\/\/dan.thoeisen.dk\/hjem\/waoo-tv-med-en-usg-unifi-security-gateway\/","title":{"rendered":"Waoo TV med en USG (Unifi Security Gateway)"},"content":{"rendered":"<p>Jeg flyttede i hus med k\u00e6resten og fik os en 300\/300 Mbit\/s forbindelse ved EnergiMidt, som i dag hedder Eniig.<\/p>\n<p>Dertil skulle vi selvf\u00f8lgelig ogs\u00e5 have os noget TV igennem denne hurtige forbindelse, og da alt udstyr ankom, og jeg satte alt til, opdagede jeg at deres TV boks (Airties 7410x) ikke virkede med min USG.<\/p>\n<p>Man kunne fint se programoversigten, men ellers var der bare sort sk\u00e6rm.<\/p>\n<h1>Ops\u00e6tning<\/h1>\n<p>FiberModem (Den standart fra Eniig) -&gt; USG -&gt; Switch -&gt; Airties 7410x<\/p>\n<p>Den switch jeg har, er bare en billig 1G D-Link Switch (Det er dog vigtigt at den underst\u00f8tter multicast, men det g\u00f8r de fleste)<\/p>\n<div id=\"thoei-211440004\" style=\"margin-left: auto;margin-right: auto;text-align: center;\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7651931595402325\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-7651931595402325\" \ndata-ad-slot=\"2374378449\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n<h1>USG Ops\u00e6tning<\/h1>\n<p>F\u00f8rst og fremmest skal du vide disse ting:<\/p>\n<ol>\n<li>Hvilken IP adresse din USG har (min hedder 192.168.2.1)<\/li>\n<li>Hvad hedder dine interfaces (eth0, eth1 &#8230;) og hvad de bliver brugt til.\n<ol>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">Hos mig hedder de eth0 (internet) og eth1 (lokal)<\/span><\/span><\/span> &#8211; alts\u00e5 er eth0 sat til modem, og eth1 sat til switch<\/li>\n<\/ol>\n<\/li>\n<li>Hvilken controller du bruger &#8211; jeg bruger bare min station\u00e6r med Unifis eget software<\/li>\n<li>Hvilken IP Adresse din TV boks har f\u00e5et (min hedder 192.168.2.30)<\/li>\n<\/ol>\n<h3>IGMP (<span class=\"ILfuVd yZ8quc\">Internet Group Management Protocol<\/span>) Proxy (Dette er det sv\u00e6re trin)<\/h3>\n<p>Vi skal have sat en IGMP Proxy op p\u00e5 USGen &#8211; dette g\u00f8r at dine &#8220;dimser&#8221; m\u00e5 tilmelde sig en multicast gruppe p\u00e5 nettet.<\/p>\n<p>Ops\u00e6tningen skal udf\u00f8res s\u00e5ledes:<\/p>\n<ol>\n<li>Opret en fil p\u00e5 din controller (Jeg bruger windows her &#8211; men s\u00f8g p\u00e5 Ubiquitis side, om hvordan man opretter denne fil p\u00e5 andre controllere)<br \/>\n<span class=\"UFICommentActorAndBody\"><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">C:\\Users\\BRUGERNAVN\\Ubiquiti UniFi\\data\\sites\\default<\/span><\/span><\/span><\/span>Filen skal hedde &#8220;config.gateway.json&#8221; og indeholde nedenst\u00e5ende json.<\/li>\n<\/ol>\n<blockquote>\n<div class=\"de1\">{<\/div>\n<div class=\"de1\">&#8220;protocols&#8221;: {<\/div>\n<div class=\"de1\">&#8220;igmp-proxy&#8221;: {<\/div>\n<div class=\"de1\">&#8220;interface&#8221;: {<\/div>\n<div class=\"de2\">&#8220;eth0&#8221;: {<\/div>\n<div class=\"de1\">&#8220;alt-subnet&#8221;: [ &#8220;0.0.0.0\/0&#8221; ],<\/div>\n<div class=\"de1\">&#8220;role&#8221;: &#8220;upstream&#8221;,<\/div>\n<div class=\"de1\">&#8220;threshold&#8221;: &#8220;1&#8221;<\/div>\n<div class=\"de1\">},<\/div>\n<div class=\"de2\">&#8220;eth1&#8221;: {<\/div>\n<div class=\"de1\">&#8220;alt-subnet&#8221;: [ &#8220;0.0.0.0\/0&#8221; ],<\/div>\n<div class=\"de1\">&#8220;role&#8221;: &#8220;downstream&#8221;,<\/div>\n<div class=\"de1\">&#8220;threshold&#8221;: &#8220;1&#8221;<\/div>\n<div class=\"de1\">}<\/div>\n<div class=\"de2\">}<\/div>\n<div class=\"de1\">}<\/div>\n<div class=\"de1\">}<\/div>\n<p>}<\/p><\/blockquote>\n<p>Her er det vigtigt at du \u00e6ndre dine interfaces til hvad der passer til din USG, alts\u00e5 eth0 var forbundet til internettet, og eth1 er til lokal switch.<\/p>\n<p>N\u00e5r du har gjort dette, gemmer du filen og genstarter USG&#8217;en.<\/p>\n<div id=\"thoei-4018148010\" style=\"margin-left: auto;margin-right: auto;text-align: center;\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7651931595402325\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-7651931595402325\" \ndata-ad-slot=\"2374378449\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n<h2>Firewall regler<\/h2>\n<p><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">S\u00e5 skal vi have sat firewall regler op:<\/span><\/span><\/span><br \/>\n<span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\"><br \/>\n<a href=\"http:\/\/dan.thoeisen.dk\/hjem\/waoo-tv-med-en-usg-unifi-security-gateway\/group-usg\/\" rel=\"attachment wp-att-1217\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1217 size-large\" src=\"http:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/group-usg-1024x623.jpg\" alt=\"\" width=\"648\" height=\"394\" srcset=\"https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/group-usg-1024x623.jpg 1024w, https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/group-usg-300x183.jpg 300w, https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/group-usg-768x468.jpg 768w, https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/group-usg.jpg 1214w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><\/a><\/span><\/span><\/span><\/p>\n<ol>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">Lav en ny gruppe under Firewall -&gt; Grupper -&gt; Opret ny gruppe<\/span><\/span><\/span><\/li>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">Skriv et navn (dette er lige meget)<\/span><\/span><\/span><\/li>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">Tilf\u00f8j adresserne: 88.83.72.0\/24 og 88.83.68.0\/24<\/span><\/span><\/span><\/li>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">Gem<\/span><\/span><\/span><\/li>\n<\/ol>\n<h4>Opret firewall regel<\/h4>\n<p><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">Under regler:<\/span><\/span><\/span><\/p>\n<p><a href=\"http:\/\/dan.thoeisen.dk\/hjem\/waoo-tv-med-en-usg-unifi-security-gateway\/firewall-usg-rule-overview\/\" rel=\"attachment wp-att-1219\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1219\" src=\"http:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/firewall-usg-rule-overview-1024x582.jpg\" alt=\"\" width=\"648\" height=\"368\" srcset=\"https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/firewall-usg-rule-overview-1024x582.jpg 1024w, https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/firewall-usg-rule-overview-300x170.jpg 300w, https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/firewall-usg-rule-overview-768x436.jpg 768w, https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/firewall-usg-rule-overview.jpg 1105w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><\/a><\/p>\n<p><a href=\"http:\/\/dan.thoeisen.dk\/hjem\/waoo-tv-med-en-usg-unifi-security-gateway\/firewall-usg-rule\/\" rel=\"attachment wp-att-1218\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1218\" src=\"http:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/firewall-usg-rule-1024x920.jpg\" alt=\"\" width=\"648\" height=\"582\" srcset=\"https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/firewall-usg-rule-1024x920.jpg 1024w, https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/firewall-usg-rule-300x270.jpg 300w, https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/firewall-usg-rule-768x690.jpg 768w, https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/firewall-usg-rule.jpg 1045w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><\/a><\/p>\n<ol>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">WAN IND: Opret ny regl:<\/span><\/span><\/span><\/li>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">navn: allow multicast in<\/span><\/span><\/span><\/li>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">Godkend<\/span><\/span><\/span><\/li>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">UDP<\/span><\/span><\/span><\/li>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">KILDE: (Din nye gruppe)<\/span><\/span><\/span><\/li>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">Destination: (Ingenting)<\/span><\/span><\/span><\/li>\n<\/ol>\n<p><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\"><a href=\"http:\/\/dan.thoeisen.dk\/hjem\/waoo-tv-med-en-usg-unifi-security-gateway\/firewall-usg-rule-overview-wan-local\/\" rel=\"attachment wp-att-1220\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1220\" src=\"http:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/firewall-usg-rule-overview-wan-local-1024x552.jpg\" alt=\"\" width=\"648\" height=\"349\" srcset=\"https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/firewall-usg-rule-overview-wan-local-1024x552.jpg 1024w, https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/firewall-usg-rule-overview-wan-local-300x162.jpg 300w, https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/firewall-usg-rule-overview-wan-local-768x414.jpg 768w, https:\/\/dan.thoeisen.dk\/hjem\/wp-content\/uploads\/firewall-usg-rule-overview-wan-local.jpg 1153w\" sizes=\"auto, (max-width: 648px) 100vw, 648px\" \/><\/a><\/span><\/span><\/span><\/p>\n<ol>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">WAN LOKAL: Opret ny regel:<\/span><\/span><\/span><\/li>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">navn: allow IGMP<\/span><\/span><\/span><\/li>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">Godkend<\/span><\/span><\/span><\/li>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">v\u00e6lg protokol efter navn: IGMP<\/span><\/span><\/span><\/li>\n<li><span class=\"UFICommentActorAndBody\"><span data-ft=\"{\"><span class=\"UFICommentBody _1n4g\">Intet andet &#8211; lad resten st\u00e5<\/span><\/span><\/span><\/li>\n<\/ol>\n<p><strong>Nu kan du se TV via din Waoo TV boks!!<\/strong><\/p>\n<p>Tjek her om det er muligt at se TV p\u00e5 din Airties boks &#8211; Hvis ikke s\u00e5 smid gerne en linje i kommentarfeltet, eller gennemg\u00e5 guiden igen.<\/p>\n<h4>Nu skal vi have pause og start forfra til at virke<\/h4>\n<ol>\n<li>Opret en SSH forbindelse til din USG\n<ol style=\"list-style-type: lower-alpha;\">\n<li>Hvis du ved hvordan man opretter en SSH forbindelse &#8211; hop til punkt 7<\/li>\n<\/ol>\n<\/li>\n<li>Download Putty <a href=\"https:\/\/the.earth.li\/~sgtatham\/putty\/latest\/w64\/putty.exe\">her<\/a><\/li>\n<li>Skriv din routers IP adresse (min var 192.168.2.1)<\/li>\n<li>Tryk &#8220;Open&#8221;<\/li>\n<li>login as: admin<\/li>\n<li>password: (Dette er en adgangskode du selv har valgt &#8211; det er samme adgangskode du skal bruge til USG&#8217;ens WebInterface, alts\u00e5 http:\/\/192.168.2.1)<\/li>\n<li>Skriv: sudo modprobe nf_nat_rtsp<\/li>\n<li>Unders\u00f8g om det lykkedes: lsmod | grep rtsp<\/li>\n<\/ol>\n<p>Linje 7 installerer en driver p\u00e5 din USG, og linje 8 viser at det lykkedes.<\/p>\n<h4>Nu skal vi have pause og start forfra til at virke &#8211; ogs\u00e5 efter reboot<\/h4>\n<ol>\n<li>Opret en SSH forbindelse til din USG\n<ol>\n<li>Hvis du ved eller allerede har oprettet en SSH forbindelse &#8211; hop til punkt 7<\/li>\n<\/ol>\n<\/li>\n<li>Download Putty <a href=\"https:\/\/the.earth.li\/~sgtatham\/putty\/latest\/w64\/putty.exe\">her<\/a><\/li>\n<li>Skriv din routers IP adresse (min var 192.168.2.1)<\/li>\n<li>Tryk &#8220;Open&#8221;<\/li>\n<li>login as: admin<\/li>\n<li>password: (Dette er en adgangskode du selv har valgt &#8211; det er samme adgangskode du skal bruge til USG&#8217;ens WebInterface, alts\u00e5 http:\/\/192.168.2.1)<\/li>\n<li>Skriv f\u00f8lgende:<\/li>\n<\/ol>\n<blockquote><p>sudo su # S\u00e5 du bliver Super User<\/p>\n<p>mkdir \/config\/scripts\/pre-config.d #Opret en mappe<\/p>\n<p>vi \/config\/scripts\/pre-config.d\/load_nat_rtsp_module.sh #Opret og rediger filen load_nat_rtsp_module.sh<\/p>\n<p>(Tryk &#8220;i&#8221; for at kunne skrive)<\/p>\n<p>modprobe nf_nat_rtsp #Skriv dette i filen<\/p>\n<p>(Tryk ESC, skriv: &#8220;:wq&#8221;) &#8211; W = write, Q = quit<\/p>\n<p>chmod +x \/config\/scripts\/pre-config.d\/load_nat_rtsp_module.sh<\/p>\n<p>reboot #Tryk &#8220;y&#8221; n\u00e5r den sp\u00f8rger om du er sikker<\/p><\/blockquote>\n<p>N\u00e5r den s\u00e5 er bootet op igen, lav en SSH forbindelse til den og skriv: lsmod | grep nf_nat_rtsp (F\u00e5r du et output, har det virket)<\/p>\n<p>Skriv endelig en kommentar om den ovenst\u00e5ende guide virker &#8211; jeg pr\u00f8vede mig bare frem, og s\u00f8gte p\u00e5 nettet her og der indtil jeg fandt ud af hvordan ops\u00e6tningen skulle v\u00e6re.<\/p>\n<p>Det er ogs\u00e5 derfor jeg skriver denne guide, da der ikke er ret meget hj\u00e6lp, hverken ved Eniig\/Waoo eller p\u00e5 deres support sider.<\/p>\n<div id=\"thoei-3076230264\" style=\"margin-left: auto;margin-right: auto;text-align: center;\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-7651931595402325\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-7651931595402325\" \ndata-ad-slot=\"2374378449\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n<p>Mange tak til Morten, og resten af <a href=\"https:\/\/www.facebook.com\/groups\/ubiquiti.danmark\/\">Ubiquiti Facebook Gruppe<\/a> som har v\u00e6ret meget behj\u00e6lpelige med at debugge dette problem.<br \/>\nLad os f\u00e5 <strong>alle<\/strong> USG&#8217;er derude til at virke med IPTV fra Waoo!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Jeg flyttede i hus med k\u00e6resten og fik os en 300\/300 Mbit\/s forbindelse ved EnergiMidt, som i dag hedder Eniig. Dertil skulle vi selvf\u00f8lgelig ogs\u00e5 have os noget TV igennem denne hurtige forbindelse, og da alt udstyr ankom, og jeg satte alt til, opdagede jeg at deres TV boks (Airties 7410x) ikke virkede med min [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[63,65,64,66,60,61,62],"class_list":["post-1215","post","type-post","status-publish","format-standard","hentry","category-diverse","tag-eniig","tag-igmp","tag-iptv","tag-multicast","tag-ubiquiti","tag-usg","tag-waoo-tv"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pSQsk-jB","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dan.thoeisen.dk\/hjem\/wp-json\/wp\/v2\/posts\/1215","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dan.thoeisen.dk\/hjem\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dan.thoeisen.dk\/hjem\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dan.thoeisen.dk\/hjem\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dan.thoeisen.dk\/hjem\/wp-json\/wp\/v2\/comments?post=1215"}],"version-history":[{"count":13,"href":"https:\/\/dan.thoeisen.dk\/hjem\/wp-json\/wp\/v2\/posts\/1215\/revisions"}],"predecessor-version":[{"id":1367,"href":"https:\/\/dan.thoeisen.dk\/hjem\/wp-json\/wp\/v2\/posts\/1215\/revisions\/1367"}],"wp:attachment":[{"href":"https:\/\/dan.thoeisen.dk\/hjem\/wp-json\/wp\/v2\/media?parent=1215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dan.thoeisen.dk\/hjem\/wp-json\/wp\/v2\/categories?post=1215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dan.thoeisen.dk\/hjem\/wp-json\/wp\/v2\/tags?post=1215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}