- Configure static IP/mask/gateway/dns to the hosts you want to go through vpn
- Disable DHCP server on ISP router and run on Pihole or any other potential server. There you can define the gateway.
- Use RPi as intermediate router.
Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
There is DHCP Option 3, which is the default gateway. However if the router is provided by your ISP or is not very customizable I highly doubt it will be there. So your options are:
Yep using Pihole as DHCP server is the most easiest way. There you can configure all DHCP options needed.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team