<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://blueirissoftware.com/forum/app.php/feed/topic/1033" />

	<title>Blue Iris</title>
	<subtitle>Blue Iris User Group</subtitle>
	<link href="https://blueirissoftware.com/forum/index.php" />
	<updated>2021-09-08T00:15:53+00:00</updated>

	<author><name><![CDATA[Blue Iris]]></name></author>
	<id>https://blueirissoftware.com/forum/app.php/feed/topic/1033</id>

		<entry>
		<author><name><![CDATA[bluie]]></name></author>
		<updated>2021-09-08T00:15:53+00:00</updated>

		<published>2021-09-08T00:15:53+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=10302#p10302</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=10302#p10302"/>
		<title type="html"><![CDATA[Re: NGROK Tutorial]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=10302#p10302"><![CDATA[
I did this, and it works great!  Thank you to everyone who contributed to this.<br><br>There are only 2 issues I have ran into, just wondering if anyone has any ideas on workarounds for these:<br><br>#1<br>Blue-Iris Auto-Ban.  When using ngrok, Blue-Iris sees ever connection as coming from its own IP address (which makes sense)... but if anyone gets banned, then everyone gets banned because everyone is seen as connecting from the recorder's IP address where ngrok is running.  Any ideas on how to ban based on username instead of IP address?  This would prevent innocent people from getting banned.<br><br>#2<br>When the nkrok url changes, it updates Blue-Iris properly (using the powershell script above).  However, the phone app does not automatically update the WAN address until you go into EDIT on the connection settings and manually click GET IPS again.  Then, it works.  Is there a way to make the app automatically pick up the new url without manually clicking GET IPS?<br><br>Thank you.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=4647">bluie</a> — Wed Sep 08, 2021 12:15 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thixotropic]]></name></author>
		<updated>2020-11-27T16:01:30+00:00</updated>

		<published>2020-11-27T16:01:30+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=7210#p7210</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=7210#p7210"/>
		<title type="html"><![CDATA[Re: NGROK Tutorial]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=7210#p7210"><![CDATA[
Awesome, thank you. I'm sure this will help some people who are also trying to puzzle this out.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=818">Thixotropic</a> — Fri Nov 27, 2020 4:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[montman2k]]></name></author>
		<updated>2020-11-26T14:51:14+00:00</updated>

		<published>2020-11-26T14:51:14+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=7204#p7204</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=7204#p7204"/>
		<title type="html"><![CDATA[Re: NGROK Tutorial]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=7204#p7204"><![CDATA[
So the Powershell Script is as follows since the forum wont let me post a zip ,just open powershell ise as admin and paste this in and modify as needed:<br><blockquote class="uncited"><div> #Set Your Ngrok Parameters Here#<br>$filepath = 'c:\ngrok\ngrok.exe'<br>$args = 'http 127.0.0.1:9880'<br><br>Start-Process $filepath $args<br>  <br>timeout 10<br>#jqwin-64 path needs to match#<br>cmd /c curl -s localhost:4040/api/tunnels | c:\ngrok\jq-win64 -r .tunnels[0].public_url &gt; C:\ngrok\NgrokURL.txt ##Adjust path as needed##<br>timeout 5<br>$filecontent = [IO.File]::ReadAllText("c:\ngrok\NgrokURL.txt")<br>$regkey = "HKLM:\Software\Perspective Software\Blue Iris\server"  #This is correct for version 5#<br>$regprop = "ip"<br>$NewString = $filecontent -replace ".*//"<br>$NewString = $NewString.Trim()<br>if(Test-Path ($registryPath + "\" + $regprop))<br>{<br>  New-ItemProperty -Path $regkey -Name $regprop -Value $NewString<br>}<br>else<br>{<br>  Set-ItemProperty -Path $regkey -Name $regprop -Value $Newstring<br>}<br>Restart-Service -Name BlueIris  #Optional if this process runs before blue  iris</div></blockquote><br>So essentially what this does is run the ngrok process with the parameters you specify in the $args field and then extracts the url from the ngrok api and transposes it to a text file, removes the trailing CRLF and then modifies the registry as well as restarts the service if its running to allow Blue iris to update.(Note this can also just be done opening console and closing it from powershell as well) Also this doesn't kill the ngrok process if its already running but it will still pull the existing tunnel info .<br><br>I did this very quickly so I know it isn't the best thought out / looking code but it works for what I need it for. If you already have a ngrok task, you could remove the items above and including start process to treat this as a seperate item.<br><br>you do need jq for windows available at <a href="https://stedolan.github.io/jq/" class="postlink">https://stedolan.github.io/jq/</a>   and this file placed in the path specified in the powershell.<br><br>For the scheduled task run as Admin, the following is what you need..obviously paths and names change  as needed:<br><br>Powershell.exe<br><br>Arguments -ExecutionPolicy Bypass -command "c:\ngrok\ngrokfree.ps1" <br><br>Also in Blue Iris uncheck the auto update checkbox under the wan field so it doesn't populate the ip automatically.<br><br>That's all there is to it.<br><br><br>If Anyone has any questions I'd be more than happy to help out.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=3179">montman2k</a> — Thu Nov 26, 2020 2:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thixotropic]]></name></author>
		<updated>2020-11-25T20:34:15+00:00</updated>

		<published>2020-11-25T20:34:15+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=7198#p7198</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=7198#p7198"/>
		<title type="html"><![CDATA[Re: NGROK Tutorial]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=7198#p7198"><![CDATA[
Yes, please do share what you have, I'm sure it'll help others looking for answers.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=818">Thixotropic</a> — Wed Nov 25, 2020 8:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[montman2k]]></name></author>
		<updated>2020-11-24T22:51:53+00:00</updated>

		<published>2020-11-24T22:51:53+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=7190#p7190</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=7190#p7190"/>
		<title type="html"><![CDATA[Re: NGROK Tutorial]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=7190#p7190"><![CDATA[
I was able to automate the process with powershell...I used Fiddler to see what what being sent to blue iris....I had to trim the string to remove the trailing CRLF.  I will share if anyone is interested along with somewhat of a tutorial. It works with the auto grab url option checked.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=3179">montman2k</a> — Tue Nov 24, 2020 10:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[montman2k]]></name></author>
		<updated>2020-11-24T18:36:55+00:00</updated>

		<published>2020-11-24T18:36:55+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=7186#p7186</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=7186#p7186"/>
		<title type="html"><![CDATA[Re: NGROK Tutorial]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=7186#p7186"><![CDATA[
<blockquote class="uncited"><div>It may be in the registry.</div></blockquote><br>I'm new here and have looked over your post as I don't want to pay the 99 dollar reg fee again<br><br>So you are correct it is in the registry ..the only issue I am having is if my app is set to auto grab it wont connect even though the proper url is in the wan field.<br><br>I made a powershell script to modify the entry on startup and it propagates to the app, but if the check on every login is set in the app it wont connect unless I go into blue iris and remove or change a character and click ok in the ui.<br><br>Not being able to have it auto pull every time on its own defeats the purpose...this may be an issue to bring up to support as it may just be a function they need to call on start of the blue iris service to make it work as if I clicked ok.<br><br><br>If I turn off auto check lookup key on login and manually do it, it works fine.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=3179">montman2k</a> — Tue Nov 24, 2020 6:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[darant1979]]></name></author>
		<updated>2020-10-01T09:58:58+00:00</updated>

		<published>2020-10-01T09:58:58+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=6578#p6578</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=6578#p6578"/>
		<title type="html"><![CDATA[Re: NGROK Tutorial]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=6578#p6578"><![CDATA[
I have been using NGROK for a while but the Android app will still not detect the alerts ... Unsure if that is the NGROK or the App.<br><br>When I run the BI remote wizard, the second from last step never connects.<br><br>I suspect this is the part that BI needs to sent the alerts to my phone.<br><br>The device is in, the Device tags are the same but it just will not send to the app.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=525">darant1979</a> — Thu Oct 01, 2020 9:58 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thixotropic]]></name></author>
		<updated>2020-09-18T20:06:15+00:00</updated>

		<published>2020-09-18T20:06:15+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=6490#p6490</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=6490#p6490"/>
		<title type="html"><![CDATA[Re: NGROK Tutorial]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=6490#p6490"><![CDATA[
It may be in the registry.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=818">Thixotropic</a> — Fri Sep 18, 2020 8:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[jbutterfill]]></name></author>
		<updated>2020-09-13T09:30:57+00:00</updated>

		<published>2020-09-13T09:30:57+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=6445#p6445</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=6445#p6445"/>
		<title type="html"><![CDATA[Re: NGROK Tutorial]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=6445#p6445"><![CDATA[
Great tutorial. I have it all working and have now used the curl command to copy the ngrok url in to a text file when the computer starts up. Is there a way to automatically copy the url to the wan address on the web server tab in blue iris? <br><br>I’ve been looking through the files and can’t find any config file to edit.. any help Greatly appreciated<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=2877">jbutterfill</a> — Sun Sep 13, 2020 9:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thixotropic]]></name></author>
		<updated>2020-04-18T15:29:27+00:00</updated>

		<published>2020-04-18T15:29:27+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=4487#p4487</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=4487#p4487"/>
		<title type="html"><![CDATA[Re: NGROK Tutorial]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=4487#p4487"><![CDATA[
<blockquote class="uncited"><div>It seems like, support for free registered user is non-existent.</div></blockquote>Yes, I also wrote them repeatedly and never got any response at all. Nothing, zero, zip, nada. <br><br><blockquote class="uncited"><div>I was wondering, if you are able to implement this:<div class="codebox"><p>Code: </p><pre><code>c:\ngrok\ngrok.exe http -auth= "admin:xyz123" 81</code></pre></div></div></blockquote>I haven't tried using a password. Maybe change 'http' to 'https', and also maybe try removing the quotes from around the username and password.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=818">Thixotropic</a> — Sat Apr 18, 2020 3:29 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[wepee]]></name></author>
		<updated>2020-04-19T04:56:34+00:00 </updated>

		<published>2020-04-17T14:13:54+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=4467#p4467</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=4467#p4467"/>
		<title type="html"><![CDATA[Re: NGROK Tutorial]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=4467#p4467"><![CDATA[
@Thixotropic, <br><br>It seems like, support for free registered user is non-existent.<br>I have been patiently waiting for a reply from ngrok support. <br>But so far no response yet. <br><br>I was wondering, if you are able to implement this:<div class="codebox"><p>Code: </p><pre><code>c:\ngrok\ngrok.exe http -auth= "admin:xyz123" 81</code></pre></div>I am trying to protect my tunnel by using password authentication method.<br>But I could get it working.<br><br><div class="inline-attachment"><dl class="file"><dt class="attach-image"><img src="https://blueirissoftware.com/forum/download/file.php?id=490" class="postimage" alt="2020-04-17_22-10-35.jpg" onclick="viewableArea(this);" /></dt></dl></div><p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=1972">wepee</a> — Fri Apr 17, 2020 2:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thixotropic]]></name></author>
		<updated>2020-04-13T20:53:56+00:00</updated>

		<published>2020-04-13T20:53:56+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=4404#p4404</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=4404#p4404"/>
		<title type="html"><![CDATA[Re: NGROK Tutorial]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=4404#p4404"><![CDATA[
<blockquote class="uncited"><div>Referring to the above, you mean is OS platform dependent? Rather than PC dependent.</div></blockquote>Since BI only runs on Windows I think it's a difference in the PC setup, path, or some other variable particular to the PC it's on.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=818">Thixotropic</a> — Mon Apr 13, 2020 8:53 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[wepee]]></name></author>
		<updated>2020-04-13T07:20:39+00:00</updated>

		<published>2020-04-13T07:20:39+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=4386#p4386</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=4386#p4386"/>
		<title type="html"><![CDATA[Re: NGROK Tutorial]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=4386#p4386"><![CDATA[
<blockquote class="uncited"><div>This command did not work either....(Default BI port is 81)<div class="codebox"><p>Code: </p><pre><code> ngrok.exe https 192.168.1.2:81</code></pre></div> </div></blockquote>This appears to be PC-dependent; some PCs require you to 'force' the IP assignment, some don't. I updated the tutorial to reflect this.<br>[/quote]<br><br>@Thixotropic,<br>Thank you for your reply.<br>Referring to the above, you mean is OS platform dependent? Rather than PC dependent.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=1972">wepee</a> — Mon Apr 13, 2020 7:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thixotropic]]></name></author>
		<updated>2020-04-12T17:36:29+00:00</updated>

		<published>2020-04-12T17:36:29+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=4374#p4374</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=4374#p4374"/>
		<title type="html"><![CDATA[Re: NGROK Tutorial]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=4374#p4374"><![CDATA[
<blockquote class="uncited"><div><div class="codebox"><p>Code: </p><pre><code> ./ngrok authtoken &lt;your authtoken&gt;</code></pre></div> <br>This command cannot run in Windows 10 command prompt, it complains: "." is not recognized as internal or external command</div></blockquote>The problem was a forward slash (/) instead of a backslash (\). I updated the tutorial. <br><br>-<br><blockquote class="uncited"><div>This command did not work either....(Default BI port is 81)<div class="codebox"><p>Code: </p><pre><code> ngrok.exe https 192.168.1.2:81</code></pre></div> </div></blockquote>This appears to be PC-dependent; some PCs require you to 'force' the IP assignment, some don't. I updated the tutorial to reflect this.<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=818">Thixotropic</a> — Sun Apr 12, 2020 5:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[wepee]]></name></author>
		<updated>2020-04-08T18:02:13+00:00</updated>

		<published>2020-04-08T18:02:13+00:00</published>
		<id>https://blueirissoftware.com/forum/viewtopic.php?p=4260#p4260</id>
		<link href="https://blueirissoftware.com/forum/viewtopic.php?p=4260#p4260"/>
		<title type="html"><![CDATA[Re: NGROK Tutorial]]></title>

		
		<content type="html" xml:base="https://blueirissoftware.com/forum/viewtopic.php?p=4260#p4260"><![CDATA[
Hi, <br><br>I went through the tutorial that @Thixotropic  wrote,<br><br>I found some problems.............<br><div class="codebox"><p>Code: </p><pre><code> ./ngrok authtoken &lt;your authtoken&gt;</code></pre></div> <br>This command cannot run in Windows 10 command prompt, it complains: "." is not recognized as internal or external command<br><div class="codebox"><p>Code: </p><pre><code> ngrok authtoken &lt;your authtoken&gt;</code></pre></div> <br>This command works fine. I just remove the<strong class="text-strong"> ./</strong> and run it.<br><div class="codebox"><p>Code: </p><pre><code>ngrok.exe https 192.168.1.2:81</code></pre></div> <br>This command did not work either....(Default BI port is 81)<br><div class="codebox"><p>Code: </p><pre><code>ngrok.exe http 81</code></pre></div>This command is working (Default BI port is 81)<p>Statistics: Posted by <a href="https://blueirissoftware.com/forum/memberlist.php?mode=viewprofile&amp;u=1972">wepee</a> — Wed Apr 08, 2020 6:02 pm</p><hr />
]]></content>
	</entry>
	</feed>
