I am using a raspberry with the newest stretch version and facing a routing issue. My network:

  • LAN:
  • Subnet Mask
  • Default eth0 Gateway (this network is connected to the raspberry)

Second available VPN Network (not yes used in Raspberry):

  • Subnet Mask
  • Default eth0 Gateway

I want to access from all devices in my LAN to the raspberry (that already works perfectly).

If it comes to internet (running updates in the raspberry or any other traffic caused by my software in the raspberry) the internet traffic should be routed through the VPNLAN.

I think, therefore I have to add a route and have as the only gateway the address of the vpnlan (

Tried some setting with route adding, etc; nevertheless, it did not work.

Is it possible at all, and how?

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.