<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.sophos.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Upload Home License from CLI</title><link>https://community.sophos.com/utm-firewall/f/hardware-installation-up2date-licensing/131734/upload-home-license-from-cli</link><description>Hi, 
 Is it possible to upload a home license from the CLI? 
 For family members, I built and admin a few Sophos UTM boxes (custom hardware, home licenses) - like, my parents and sister. I usually have IPSec tunnels up. I missed a license expiration for</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Upload Home License from CLI</title><link>https://community.sophos.com/thread/484574?ContentTypeID=1</link><pubDate>Thu, 16 Dec 2021 00:27:30 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:05b6f4ab-35cd-483e-8999-29f1d25e80c2</guid><dc:creator>garpace</dc:creator><description>&lt;p&gt;Thanks Bob.&amp;nbsp; I didn&amp;#39;t have the SSL VPN set up (just sites to site), but I was able to add &amp;quot;Any&amp;quot; temporarily to webadmin allowed_networks, pop in, upload the license file, bring back the site to sites, and get rid of &amp;quot;any&amp;quot;.&amp;nbsp; Thank for all your guidance on this and other posts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Upload Home License from CLI</title><link>https://community.sophos.com/thread/484568?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 22:46:51 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:f467c654-ace3-4263-a8d8-118d5793422b</guid><dc:creator>Alan Brand</dc:creator><description>[quote userid="31862" url="~/utm-firewall/f/hardware-installation-up2date-licensing/131734/upload-home-license-from-cli"](I have SSH access).&amp;nbsp; The Webadmin is not exposed to the internet, only the LAN and other networks via IPSec tunnels (which are down)[/quote]
&lt;p&gt;One thing that comes to mind is using a ssl port forwarding (aka tunnel) like&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;ssh -L 4444:127.0.0.1:4444 user@remote&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;So you can throw https://localhost:4444 into your browser on the local machine which will be forwarded to port 4444 on the UTM box.&lt;/p&gt;
&lt;p&gt;Depending on your configuration and firewall settings you might need to replace 127.0.0.1 with the internal (LAN) IP of the UTM,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Upload Home License from CLI</title><link>https://community.sophos.com/thread/484563?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 21:11:46 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:10cf903f-5273-4901-92ea-1fc23032d840</guid><dc:creator>BAlfson</dc:creator><description>&lt;p&gt;One of the things I always include in Allowed Networks is &amp;quot;BAlfson(User Network)&amp;quot; so that I can connect via remote access from anywhere to access WebAdmin at the IP of the UTM&amp;#39;s VPN server - https://10.242.12.1:4444/ for the SSL VPN.&amp;nbsp; You can add this at the command line with:&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;cc set webadmin allowed_networks &amp;#39;REF_NetAaaBalfsUserNetwo&amp;#39;&lt;/p&gt;
&lt;p&gt;Just substitute the first 5 letters of your username for mine.&amp;nbsp; First letter must be upper case in the REF_ like&amp;nbsp;&lt;span&gt;&amp;#39;&lt;/span&gt;&lt;span&gt;REF_NetAaaGarpaUserNetwo&amp;#39; for user garpace.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I know a command to upload the license at the command line, but I&amp;#39;ve never tried it even in my lab.&lt;/p&gt;
&lt;p&gt;Cheers - Bob&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Upload Home License from CLI</title><link>https://community.sophos.com/thread/484476?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 03:22:27 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:c3a53db2-7db0-4602-8021-765db0b2fba8</guid><dc:creator>Amodin</dc:creator><description>&lt;p&gt;If you can access WebAdmin, you can upload the license file.&amp;nbsp; I&amp;#39;ve never known a way to install a license via CLI, but I am not all that great with the CLI for Sophos anyways.&amp;nbsp; ;)&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you had a SUM up and running to manage your UTMs, you could have done it that way.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Upload Home License from CLI</title><link>https://community.sophos.com/thread/484475?ContentTypeID=1</link><pubDate>Wed, 15 Dec 2021 03:03:57 GMT</pubDate><guid isPermaLink="false">4be5eb7d-caa4-4ff5-8e60-8f9463545a35:ad70248d-fa5b-411f-99ea-0e4ec1085abe</guid><dc:creator>garpace</dc:creator><description>&lt;p&gt;I was researching some more...maybe I can do this (except make webadmin exposed to the WAN interface)?&amp;nbsp;&amp;nbsp;&lt;a href="/utm-firewall/f/management-networking-logging-and-reporting/34841/web-admin-no-longer-accessible/119190"&gt;Web admin no longer accessible - Management, Networking, Logging and Reporting - UTM Firewall - Sophos Community&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>