Dear Raspberry Org community,
I am using a raspberry with newest stretch version and facing a routing issue. My network:
LAN: 192.168.178.0/24
Subnet mAsk 255.255.255.0
Default eth0 Gateway 192.168.178.1
(this network is connected to the raspberry, LAN IP Adress: 192.168.178.35)
Second available VPN Network (not yes used in Raspberry) , connected through WAN Port
VPNLAN: 192.168.1.0/24
Subnet mAsk 255.255.255.0
Default Gateway 192.168.1.1
WAN Host 192.168.178.101
I want the setup like this: I want to access from all LAN devices to the raspberry (that already works perfect).
If it comes to internet (running updates in the raspberry or any other traffic caused my software in the raspberry) the (internet) traffic should be routed through the VPNLAN.
I think, therefore I have to add a routing and have as the only gateway the adress of the vpnlan (192.168.1.1).
I am not an expert , tried some setting with route adding etc..nevertehless it did not work.
Is it possible at all? and how?
Thank you very much for your great help.
Warm regards
Stefan