mirror of
https://github.com/Mo3he/Axis_Cam_Tailscale.git
synced 2026-10-01 03:55:40 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9b90bd6fc2 | ||
|
|
73d7b7df16 | ||
|
|
2b373227d2 | ||
|
|
fa4e6edde1 | ||
|
|
c26643adf0 | ||
|
|
39bc29e1ab | ||
|
|
af3813135a | ||
|
|
5fe5a01f59 | ||
|
|
080b3bb90e | ||
|
|
41b9bd04b5 | ||
|
|
86d902d289 | ||
|
|
f4b64b7f3a | ||
|
|
d00a45effb | ||
|
|
74af48b024 | ||
|
|
0e89c01546 | ||
|
|
87de22b8a1 | ||
|
|
0ddd3c1ee2 | ||
|
|
0e6227149f | ||
|
|
7943176695 | ||
|
|
ad5e52aff3 | ||
|
|
70e4e8d49d | ||
|
|
b2aec2cbf8 | ||
|
|
343fe09e1f | ||
|
|
852a7546b8 | ||
|
|
5ab1a3e063 | ||
|
|
e283930aaf | ||
|
|
1062a63513 | ||
|
|
0d2e5da139 |
+2
-1
@@ -1 +1,2 @@
|
||||
.DS_Store
|
||||
**/.DS_Store
|
||||
**/build
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
@Mo3he
|
||||
@pandosme
|
||||
@johanssonfrans
|
||||
@@ -6,6 +6,7 @@ All types of contributions are encouraged and valued. See the [Table of contents
|
||||
> - Tweet about it
|
||||
> - Refer this project in your project's readme
|
||||
> - Mention the project at local meetups and tell your friends/colleagues
|
||||
> - A sponsorship of any amount is always appreciated
|
||||
|
||||
<!-- omit in toc -->
|
||||
## Table of contents
|
||||
|
||||
@@ -2,7 +2,21 @@
|
||||
|
||||
This ACAP packages the scripts and files required to install the Tailscale VPN client on Axis Cameras.
|
||||
|
||||
Current version 1.34.0
|
||||
Current version 1.60.0,
|
||||
There is also now a version called "Auto Update" that will automatically keep tailscale up to date.
|
||||
|
||||
https://tailscale.com/changelog/
|
||||
|
||||
## Warning
|
||||
Unfortunately Axis is making changes to its firmware that will prevent the use of a lot of ACAPs including my own and as of today there is no way to ready my ACAPs for these changes.
|
||||
|
||||
You can read more here
|
||||
|
||||
https://help.axis.com/en-us/axis-os#upcoming-breaking-changes
|
||||
|
||||
If you have a use case where certain functionality used by an ACAP application currently requires root-user permissions or have a question about ACAP application signing, please contact Axis at acap-privileges@axis.com
|
||||
|
||||
Thank you for your continued support.
|
||||
|
||||
## Purpose
|
||||
|
||||
@@ -37,9 +51,6 @@ note that you need to enclose your password with quotes (`'`) if it contains spe
|
||||
|
||||
The recommended way to install this ACAP is to use the pre built eap file.
|
||||
Go to "Apps" on the camera and click "Add app".
|
||||
Once installed it will look like below.
|
||||
|
||||

|
||||
|
||||
|
||||
## Using the Tailscale ACAP
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
ARG ARCH=aarch64
|
||||
ARG VERSION=1.3
|
||||
ARG UBUNTU_VERSION=22.04
|
||||
ARG REPO=axisecp
|
||||
ARG SDK=acap-native-sdk
|
||||
|
||||
FROM ${REPO}/${SDK}:${VERSION}-${ARCH}-ubuntu${UBUNTU_VERSION}
|
||||
|
||||
# Building the ACAP application
|
||||
COPY ./app /opt/app/
|
||||
WORKDIR /opt/app
|
||||
RUN . /opt/axis/acapsdk/environment-setup* && acap-build ./
|
||||
@@ -0,0 +1,5 @@
|
||||
To build, from main directory
|
||||
|
||||
docker build --tag aarch64 .
|
||||
|
||||
docker cp $(docker create aarch64):/opt/app ./build
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Starting Service"
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN_Auto_Update/lib/tailscale
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN_Auto_Update/lib/tailscaled
|
||||
/usr/local/packages/Tailscale_VPN_Auto_Update/lib/tailscaled &
|
||||
echo "Service Started"
|
||||
echo "Scroll to Bottom for link"
|
||||
/usr/local/packages/Tailscale_VPN_Auto_Update/lib/tailscale up
|
||||
/usr/local/packages/Tailscale_VPN_Auto_Update/lib/tailscale set --auto-update
|
||||
wait
|
||||
@@ -12,7 +12,7 @@
|
||||
</script>
|
||||
</head>
|
||||
<body onload="refreshIFrame()">
|
||||
<iframe id="*Your_iframe_id*" src= "/axis-cgi/admin/systemlog.cgi?appname=Tailscale_VPN" style="height:600px;width:100%;border: none;" ></iframe>
|
||||
<iframe id="*Your_iframe_id*" src= "/axis-cgi/admin/systemlog.cgi?appname=Tailscale_VPN_Auto_Update" style="height:600px;width:100%;border: none;" ></iframe>
|
||||
</body>
|
||||
|
||||
</body>
|
||||
@@ -2,10 +2,9 @@
|
||||
"schemaVersion": "1.3",
|
||||
"acapPackageConf": {
|
||||
"setup": {
|
||||
"architecture": "aarch64",
|
||||
"appName": "Tailscale_VPN",
|
||||
"friendlyName": "Tailscale VPN",
|
||||
"vendor": "Tailscale - Packaged by Axis Labs",
|
||||
"appName": "Tailscale_VPN_Auto_Update",
|
||||
"friendlyName": "Tailscale VPN Auto Update",
|
||||
"vendor": "Tailscale - Packaged by Mo3he",
|
||||
"embeddedSdkVersion": "3.0",
|
||||
"user": {
|
||||
"group": "root",
|
||||
@@ -13,11 +12,10 @@
|
||||
},
|
||||
"vendorUrl": "https://www.tailscale.com",
|
||||
"runMode": "once",
|
||||
"version": "1.38.4"
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"configuration": {
|
||||
"settingPage": "index.html"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -2,10 +2,9 @@
|
||||
"schemaVersion": "1.3",
|
||||
"acapPackageConf": {
|
||||
"setup": {
|
||||
"architecture": "aarch64",
|
||||
"appName": "Tailscale_VPN",
|
||||
"friendlyName": "Tailscale VPN",
|
||||
"vendor": "Tailscale - Packaged by Axis Labs",
|
||||
"vendor": "Tailscale - Packaged by Mo3he",
|
||||
"embeddedSdkVersion": "3.0",
|
||||
"user": {
|
||||
"group": "root",
|
||||
@@ -13,11 +12,10 @@
|
||||
},
|
||||
"vendorUrl": "https://www.tailscale.com",
|
||||
"runMode": "once",
|
||||
"version": "1.38.4"
|
||||
"version": "1.62.0"
|
||||
},
|
||||
"configuration": {
|
||||
"settingPage": "index.html"
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Starting Service"
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN/lib/tailscale
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN/lib/tailscaled
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscaled &
|
||||
echo "Service Started"
|
||||
echo "Scroll to Bottom for link"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
wait
|
||||
@@ -1,29 +0,0 @@
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2020 Tailscale & AUTHORS.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,22 +0,0 @@
|
||||
PACKAGENAME="Tailscale VPN"
|
||||
APPTYPE="aarch64"
|
||||
APPNAME="Tailscale_VPN"
|
||||
APPID=""
|
||||
LICENSENAME="Available"
|
||||
LICENSEPAGE="none"
|
||||
VENDOR="Tailscale - Packaged by Axis Labs"
|
||||
REQEMBDEVVERSION="3.0"
|
||||
APPMAJORVERSION="1"
|
||||
APPMINORVERSION="38"
|
||||
APPMICROVERSION="4"
|
||||
APPGRP="root"
|
||||
APPUSR="root"
|
||||
APPOPTS=""
|
||||
OTHERFILES=""
|
||||
SETTINGSPAGEFILE="index.html"
|
||||
SETTINGSPAGETEXT=""
|
||||
VENDORHOMEPAGELINK='<a href="https://www.tailscale.com" target="_blank">www.tailscale.com</a>'
|
||||
PREUPGRADESCRIPT=""
|
||||
POSTINSTALLSCRIPT=""
|
||||
STARTMODE="once"
|
||||
HTTPCGIPATHS=""
|
||||
@@ -1,13 +0,0 @@
|
||||
APPTYPE="aarch64"
|
||||
APPNAME="Tailscale_VPN"
|
||||
PACKAGENAME="Tailscale VPN"
|
||||
VENDOR="Tailscale - Packaged by Axis Labs"
|
||||
REQEMBDEVVERSION="3.0"
|
||||
APPGRP="root"
|
||||
APPUSR="root"
|
||||
VENDORHOMEPAGELINK='<a href="https://www.tailscale.com" target="_blank">www.tailscale.com</a>'
|
||||
STARTMODE="once"
|
||||
APPMAJORVERSION="1"
|
||||
APPMINORVERSION="38"
|
||||
APPMICROVERSION="4"
|
||||
SETTINGSPAGEFILE="index.html"
|
||||
@@ -0,0 +1,12 @@
|
||||
ARG ARCH=armv7hf
|
||||
ARG VERSION=1.3
|
||||
ARG UBUNTU_VERSION=22.04
|
||||
ARG REPO=axisecp
|
||||
ARG SDK=acap-native-sdk
|
||||
|
||||
FROM ${REPO}/${SDK}:${VERSION}-${ARCH}-ubuntu${UBUNTU_VERSION}
|
||||
|
||||
# Building the ACAP application
|
||||
COPY ./app /opt/app/
|
||||
WORKDIR /opt/app
|
||||
RUN . /opt/axis/acapsdk/environment-setup* && acap-build ./
|
||||
@@ -0,0 +1,5 @@
|
||||
To build from main directory
|
||||
|
||||
docker build --tag arm .
|
||||
|
||||
docker cp $(docker create arm):/opt/app ./build
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Starting Service"
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN_Auto_Update/lib/tailscale
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN_Auto_Update/lib/tailscaled
|
||||
/usr/local/packages/Tailscale_VPN_Auto_Update/lib/tailscaled &
|
||||
echo "Service Started"
|
||||
echo "Scroll to Bottom for link"
|
||||
/usr/local/packages/Tailscale_VPN_Auto_Update/lib/tailscale up
|
||||
/usr/local/packages/Tailscale_VPN_Auto_Update/lib/tailscale set --auto-update
|
||||
wait
|
||||
@@ -12,7 +12,7 @@
|
||||
</script>
|
||||
</head>
|
||||
<body onload="refreshIFrame()">
|
||||
<iframe id="*Your_iframe_id*" src= "/axis-cgi/admin/systemlog.cgi?appname=Tailscale_VPN" style="height:600px;width:100%;border: none;" ></iframe>
|
||||
<iframe id="*Your_iframe_id*" src= "/axis-cgi/admin/systemlog.cgi?appname=Tailscale_VPN_Auto_Update" style="height:600px;width:100%;border: none;" ></iframe>
|
||||
</body>
|
||||
|
||||
</body>
|
||||
@@ -2,10 +2,9 @@
|
||||
"schemaVersion": "1.3",
|
||||
"acapPackageConf": {
|
||||
"setup": {
|
||||
"architecture": "armv7hf",
|
||||
"appName": "Tailscale_VPN",
|
||||
"friendlyName": "Tailscale VPN",
|
||||
"vendor": "Tailscale - Packaged by Axis Axis Labs",
|
||||
"appName": "Tailscale_VPN_Auto_Update",
|
||||
"friendlyName": "Tailscale VPN Auto Update",
|
||||
"vendor": "Tailscale - Packaged by Mo3he",
|
||||
"embeddedSdkVersion": "3.0",
|
||||
"user": {
|
||||
"group": "root",
|
||||
@@ -13,11 +12,10 @@
|
||||
},
|
||||
"vendorUrl": "https://www.tailscale.com",
|
||||
"runMode": "once",
|
||||
"version": "1.38.4"
|
||||
},
|
||||
"configuration": {
|
||||
"settingPage": "index.html"
|
||||
}
|
||||
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"configuration": {
|
||||
"settingPage": "index.html"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2,10 +2,9 @@
|
||||
"schemaVersion": "1.3",
|
||||
"acapPackageConf": {
|
||||
"setup": {
|
||||
"architecture": "armv7hf",
|
||||
"appName": "Tailscale_VPN",
|
||||
"friendlyName": "Tailscale VPN",
|
||||
"vendor": "Tailscale - Packaged by Axis Axis Labs",
|
||||
"vendor": "Tailscale - Packaged by Mo3he",
|
||||
"embeddedSdkVersion": "3.0",
|
||||
"user": {
|
||||
"group": "root",
|
||||
@@ -13,11 +12,10 @@
|
||||
},
|
||||
"vendorUrl": "https://www.tailscale.com",
|
||||
"runMode": "once",
|
||||
"version": "1.38.4"
|
||||
},
|
||||
"configuration": {
|
||||
"settingPage": "index.html"
|
||||
}
|
||||
|
||||
"version": "1.62.0"
|
||||
},
|
||||
"configuration": {
|
||||
"settingPage": "index.html"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "Starting Service"
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN/lib/tailscale
|
||||
chmod 777 /usr/local/packages/Tailscale_VPN/lib/tailscaled
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscaled &
|
||||
echo "Service Started"
|
||||
echo "Scroll to Bottom for link"
|
||||
/usr/local/packages/Tailscale_VPN/lib/tailscale up
|
||||
wait
|
||||
@@ -1,29 +0,0 @@
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2020 Tailscale & AUTHORS.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,22 +0,0 @@
|
||||
PACKAGENAME="Tailscale VPN"
|
||||
APPTYPE="armv7hf"
|
||||
APPNAME="Tailscale_VPN"
|
||||
APPID=""
|
||||
LICENSENAME="Available"
|
||||
LICENSEPAGE="none"
|
||||
VENDOR="Tailscale - Packaged by Axis Axis Labs"
|
||||
REQEMBDEVVERSION="3.0"
|
||||
APPMAJORVERSION="1"
|
||||
APPMINORVERSION="38"
|
||||
APPMICROVERSION="4"
|
||||
APPGRP="root"
|
||||
APPUSR="root"
|
||||
APPOPTS=""
|
||||
OTHERFILES=""
|
||||
SETTINGSPAGEFILE="index.html"
|
||||
SETTINGSPAGETEXT=""
|
||||
VENDORHOMEPAGELINK='<a href="https://www.tailscale.com" target="_blank">www.tailscale.com</a>'
|
||||
PREUPGRADESCRIPT=""
|
||||
POSTINSTALLSCRIPT=""
|
||||
STARTMODE="once"
|
||||
HTTPCGIPATHS=""
|
||||
@@ -1,13 +0,0 @@
|
||||
APPTYPE="armv7hf"
|
||||
APPNAME="Tailscale_VPN"
|
||||
PACKAGENAME="Tailscale VPN"
|
||||
VENDOR="Tailscale - Packaged by Axis Axis Labs"
|
||||
REQEMBDEVVERSION="3.0"
|
||||
APPGRP="root"
|
||||
APPUSR="root"
|
||||
VENDORHOMEPAGELINK='<a href="https://www.tailscale.com" target="_blank">www.tailscale.com</a>'
|
||||
STARTMODE="once"
|
||||
APPMAJORVERSION="1"
|
||||
APPMINORVERSION="38"
|
||||
APPMICROVERSION="4"
|
||||
SETTINGSPAGEFILE="index.html"
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 41 KiB |
@@ -1 +0,0 @@
|
||||
|
||||
Reference in New Issue
Block a user