PiVPN - possible to connect, but no internet Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
User avatar
Joulinar
Posts: 2277
Joined: Sat Nov 16, 2019 12:49 am

Re: PiVPN - possible to connect, but no internet

Post by Joulinar »

well using a 2nd device could be an option. You would need to configure it with static IP pointing to your internet router as gateway. On this 2nd device you could have running NoIP as well as Nextcloud.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
JohnDoeFR
Posts: 29
Joined: Tue Sep 22, 2020 6:04 pm

Re: PiVPN - possible to connect, but no internet

Post by JohnDoeFR »

Yeah ok I see, easy option vs tricky one.
But I need to buy a new raspberry so it's quit stupid too
If someone has an idea on how to deroute from the VPN the nextcloud package I'll be glade to hear :)

Thanks for the help as always, will continue my learning
User avatar
Joulinar
Posts: 2277
Joined: Sat Nov 16, 2019 12:49 am

Re: PiVPN - possible to connect, but no internet

Post by Joulinar »

Not sure if that make sense but what about running NextCloud within Docker? I guess it should be possible to exclude docker user from VPN traffic. There are Docker images available for NextCloud, NoIP DDNS client as well as Nginx Proxy Manager to manage SSL plus Revers Proxy connections.

But I needed to say, I'm lacking some knowledge on Docker usage. So probably not the best idea :roll:
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
JohnDoeFR
Posts: 29
Joined: Tue Sep 22, 2020 6:04 pm

Re: PiVPN - possible to connect, but no internet

Post by JohnDoeFR »

Hi,

Thanks, I will look at it, I've already used Docker on my ex Synology :D
User avatar
Joulinar
Posts: 2277
Joined: Sat Nov 16, 2019 12:49 am

Re: PiVPN - possible to connect, but no internet

Post by Joulinar »

Just out of interest, I played around with docker and got everything up and running. Last challenge would be to exclude docker stuff from VPN

picture.PNG
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
JohnDoeFR
Posts: 29
Joined: Tue Sep 22, 2020 6:04 pm

Re: PiVPN - possible to connect, but no internet

Post by JohnDoeFR »

Yes, the main trick is here, I need to exclude it anyway, like the other member said, with IPTable is the only solution if i'm right
Post Reply