Update to RouterOS 7.5beta4
Remove userspace networking (tun device support)
Route tailscale network to LAN
This commit is contained in:
Frank Edwards 2022-07-30 13:47:27 +10:00
parent fe3dac3dc8
commit d42257f0ff
2 changed files with 4 additions and 4 deletions

View file

@ -28,7 +28,7 @@ The build script uses [Docker Buildx](https://docs.docker.com/buildx/working-wit
### Configure the Router
The router must be be running RouterOS v7.4rc2 or later with the container package loaded; this section follows the Mikrotik Container documentation with additional steps to route the LAN subnet via the tailscale container.
The router must be be running RouterOS v7.5beta4 or later with the container package loaded; this section follows the Mikrotik Container documentation with additional steps to route the LAN subnet via the tailscale container.
1. Upload the `tailscale.tar` file to your router. Below we will assume the image is located at `disk1/tailscale.tar`
@ -52,10 +52,10 @@ The router must be be running RouterOS v7.4rc2 or later with the container packa
/interface/bridge/port add bridge=dockers interface=veth1
```
5. Setup NAT for outgoing WAN traffic.
5. Enable routing from the LAN to the Tailscale Network
```
/ip/firewall/nat/add chain=srcnat action=masquerade src-address=172.17.0.0/16 out-interface=ether1
/ip/route/add dst-address=100.64.0.0/10 gateway=172.17.0.2
```
6. Create environment variables as per the list below.

View file

@ -14,7 +14,7 @@ for s in "${SUBNETS[@]}"; do
done
# Start tailscaled and bring tailscale up
/usr/local/bin/tailscaled --tun=userspace-networking &
/usr/local/bin/tailscaled &
until /usr/local/bin/tailscale up \
--authkey=${AUTH_KEY} \
--advertise-routes="${ADVERTISE_ROUTES}"