good news, not much about ubuntu kvm/vibr0/lxc/lxdbr0 containers on the net in re: tailscale , so I found this info useful thanks for sharing. I installed tailscale on my juju controller /lxd container w/lxdbr0 nat’d 10.'s - for grins,
- juju status
ubuntu@vmi971095:~$ juju status
Model Controller Cloud/Region Version SLA Timestamp
controller localhost-localhost localhost/localhost 2.9.42 unsupported 02:02:45-05:00
Machine State Address Inst id Series AZ Message
0 started 100.95.144.17 juju-4f918e-0 focal Running
ubuntu@vmi971095:~$ lxc list
±--------------±--------±---------------------------±-----------------------------------------------------±----------±----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
±--------------±--------±---------------------------±-----------------------------------------------------±----------±----------+
| juju-4f918e-0 | RUNNING | 100.x.x.17 (tailscale0) | fd7a:115c:a1e0:ab12:4843:cd96:625f:9011 (tailscale0) | CONTAINER | 0 |
| | | 10.105.137.177 (eth0) | fd42:a4b5:77b7:d273:216:3eff:fe12:de65 (eth0) | | |
±--------------±--------±---------------------------±-----------------------------------------------------±----------±----------+
juju controllers primary IP defaulted to the tailscale IP… the 10.x is still present all is working well,
in addition I enabled DNS and sub routes… w/
tailscale up --accept-routes --accept-dns=true --advertise-routes=10.x.x.0/24 --snat-subnet-routes=true.
tested in baremetal and stndrd vps…
sharing is caring,cheers:)
– juju deploy ubuntu
– juju debug-log
this is interesting - after bootstrap tailscale was installed but the controller api/is showing on the talescale ip:port below.)
machine-1: 03:07:21 INFO juju.api connection established to “wss://100.95.144.17:17070/model/35e07502-ddf7-4f8e-8cea-89f9e34f918e/api”
machine-0: 03:07:21 INFO juju.apiserver.connection agent login: unit-tupac-0 for 35e07502-ddf7-4f8e-8cea-89f9e34f918e
machine-0: 03:07:21 INFO juju.apiserver.common setting password for “unit-tupac-0”
unit-tupac-0: 03:07:21 INFO juju Starting unit workers for “tupac/0”
unit-tupac-0: 03:07:21 INFO juju.worker.apicaller [35e075] “unit-tupac-0” successfully connected to “100.95.144.17:17070”
unit-tupac-0: 03:07:21 INFO juju.worker.apicaller [35e075] password changed for “unit-tupac-0”
unit-tupac-0: 03:07:21 INFO juju.worker.apicaller [35e075] “unit-tupac-0” successfully connected to “100.95.144.17:17070”
Sub-routes /10.x’s should be available in theory … via talescale
Model Controller Cloud/Region Version SLA Timestamp
controller localhost-localhost localhost/localhost 2.9.42 unsupported 03:14:42-05:00
App Version Status Scale Charm Channel Rev Exposed Message
tupac 20.04 active 1 ubuntu stable 22 no
Unit Workload Agent Machine Public address Ports Message
tupac/0* active idle 1 10.105.137.211
Machine State Address Inst id Series AZ Message
0 started 100.95.144.17 juju-4f918e-0 focal Running
1 started 10.105.137.211 juju-4f918e-1 focal Running
**NOTE the “wss://100.95.144.17:17070/model/35e… WSS web socket with TLS… pretty cool out of the box. ~ cheers!