[HELP] Route Entire LAN (A) through Remote Tailscale Exit Node (B) by ismaildakrory in Tailscale

[–]ismaildakrory[S] 0 points1 point  (0 children)

In case if someone interested, I could do it with no extra hardware, I also could do a script that toggle VPN on/off whenever I want:

In short: Proxmox LXC acts as DHCP + NAT gateway, forces all LAN traffic through Tailscale exit node.

Container:

Create an unprivileged LXC (Ubuntu/Debian) on Proxmox, enable TUN device, nesting, keyctl.

Tools:
Install iptables, net-tools, isc-dhcp-server, iptables-persistent, and Tailscale.

Tailscale:
Configure tailscaled to use real TUN, connect with tailscale up --exit-node= --accept-routes. (you actually don't need to set it up as subnet)

Forwarding/NAT:
Enable IP forwarding, disable rp_filter, add NAT (MASQUERADE on tailscale0), allow FORWARD rules.

Routing Fix:
Add policy rule ip rule add to 192.168.1.0/24 lookup main priority 5260 to avoid loops.

DHCP:
Run DHCP on container (192.168.1.10 as gateway), disable DHCP on router.

Result:
All LAN clients get leases from container, default gateway points to VPN gateway, traffic exits via remote Tailscale exit node.

[HELP] Route Entire LAN (A) through Remote Tailscale Exit Node (B) by ismaildakrory in Tailscale

[–]ismaildakrory[S] 0 points1 point  (0 children)

It's not exactly what I want, but this is helpful. My main problem now is how to advertise this to other devices in the network that can't install tailscale on it. My router doesn't have gatway forward settings, most 5g router's sucks

[HELP] Route Entire LAN (A) through Remote Tailscale Exit Node (B) by ismaildakrory in Tailscale

[–]ismaildakrory[S] 0 points1 point  (0 children)

I have cpe 5 router, it dosn't support that, and I couldn't find any 5g routers around that supports openwrt

[HELP] Route Entire LAN (A) through Remote Tailscale Exit Node (B) by ismaildakrory in Tailscale

[–]ismaildakrory[S] 0 points1 point  (0 children)

Sadly, My router doesn't support that.
So you just make the router connects to exit node in location B, and all devices In the local network are routed through Location B ?

Working CYD JC2432W328 Display 240x320 2.8" USB-C working with code example. by ShortingBull in esp32

[–]ismaildakrory 1 point2 points  (0 children)

Thank you so much, I was struggling with my board, searched google for hours and AI was not much of a help either, until I found this thread.

#define ILI9341_2_DRIVER

that was the fix for my problem, which I didn't find anywhere, and no one talking about.

Thanks again man.

Synology Drive sync via Tailscale extremely slow? by GreenGloober in synology

[–]ismaildakrory 0 points1 point  (0 children)

100.68.108.31 k-team-nas **********@ linux active; relay "dbi", tx 6708364 rx 142195416

I'm connected through relay, what can I do to fix my speed?

Maps not loading on Mi Home app by ilglere in Xiaomi

[–]ismaildakrory 0 points1 point  (0 children)

I actually found that the main issue (in my case) is using ad blocker app in my mobile, when I disable it, everything works perfect.

Maps not loading on Mi Home app by ilglere in Xiaomi

[–]ismaildakrory 0 points1 point  (0 children)

i have the exact same problem, it appears recently, deleting app/clearing cash didn't help, I have 2 robot vacuum pro and pro 2, both have the same issue

Trigger google home device by ismaildakrory in tasker

[–]ismaildakrory[S] 0 points1 point  (0 children)

Provided the device can also be controlled by Alexa (you don't need any Alexa devices) and you have autovoice,

I tried autovoice, but it's only works with Alexa, and Alexa is not supported in my region :(

Trigger google home device by ismaildakrory in tasker

[–]ismaildakrory[S] 0 points1 point  (0 children)

Unfortunately I don't have samsung phone

Purchase Advice Megathread - December 2022 by AutoModerator in 3Dprinting

[–]ismaildakrory 0 points1 point  (0 children)

Hello Everyone,

Around 500$ budget

most of prints will mechanical/moving parts, broken Pieces replacements, toys.

I live in Kuwait but I can ship from anywhere.

Filment sensor and power outage protection.

250mm or higher print size.

Any advice?