Ok, trying to get this running site-to-site over OpenVPN between a Unifi UDM Pro and a Unifi USG. Managed to get OpenVPN running after what seemed to me to be a lot of work. And I think I figured out how to get it running on the USG and which interfaces. The UDM is different… I think I managed to get things working, but I’ve never used docker before so I can’t tell.
- I ran this on the UDM:
curl -fsL "https://raw.githubusercontent.com/unifi-utilities/unifios-utilities /HEAD/on-boot-script/remote_install.sh" | /bin/sh
and got this:
On boot script installation finished
You can now place your scripts in /mnt/data/on_boot.d
- I made
udp-proxy-2020.conf
and changed the interfaces tobr0
andtun1
(which i think is right after a bunch of poking around and ifconfig and watching port 9003) and moved it to/mnt/data/udp-proxy-2020
. - Then I moved
40-udp-proxy-2020.sh
to/mnt/data/on_boot.d/40-udp-proxy-2020.sh
and ran it.
The results were pretty quiet…
# /mnt/data/on_boot.d/40-udp-proxy-2020.sh
/mnt/data/on_boot.d/40-udp-proxy-2020.sh: line 1: s: not found
/mnt/data/on_boot.d/40-udp-proxy-2020.sh: /mnt/data/udp-proxy-2020/udp-proxy-2020.conf: line 2: te:: not found
Trying to pull docker.io/synfinatic/udp-proxy-2020:latest...
Getting image source signatures
Copying blob 9981e73032c8 done
Copying blob 442bc1c28dae done
Copying blob b97ce7cf2c96 done
Copying config 914d21726a done
Writing manifest to image destination
Storing signatures
a53721484c521b60eddacd0b1c2c67e0e4a7c3faba035f317184b04799278b67
And then back to the command prompt on the UDM.
Was this successful? How can I tell if it’s running and/or doing what it’s supposed to do? How can I tell if it is it resilient to restarts?
Thanks!