mirror of
https://github.com/Fluent-networks/tailscale-mikrotik.git
synced 2025-07-23 20:25:51 +02:00
0.1.3
Update to RouterOS 7.5beta4 Remove userspace networking (tun device support) Route tailscale network to LAN
This commit is contained in:
parent
fe3dac3dc8
commit
d42257f0ff
2 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue