0

I would like to patch LineageOS on my phone so it

  • opens Wireguard tunnel through the 4G network to the home network
  • routes all traffic from Android applications through a Wireguard tunnel or through the home network

I am really not sure which layer of Android should I patch. I was thinking about changing ip rule and ip route, but I am not sure if it is the best possible.

Can you imagine anything more faster than this? Thanks.

2
  • What is wrong with the Always-On VPN function? – Robert Apr 27 '20 at 20:00
  • @Robert I don't know how to automatically deactivate it, when I come to my home network. VPN server is in other building and I don't want ping pong traffic across my network. – Přemysl Šťastný Apr 27 '20 at 20:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.