Zomboided / service.vpn.manager

VPN plugin for Kodi
GNU General Public License v2.0
305 stars 81 forks source link

how to whitelist a port or subnet #382

Closed peno64 closed 1 year ago

peno64 commented 1 year ago

I run kodi 19 via libreelec on a raspberry pi. I also use vpn manager to enable vpn via NordVPN. I also installed the docker addon from kodi and then in a shell I installed home assistant in a docker container. To access home assistant from any computer you use in a browser http://ip:8123 That all works fine. To be able to access home assistant also from the internet I created a route on my router that my internet ip:8123 redirects to the pi ip:8123 That also works as long as the vpn is not on on the pi. From the moment it is on it doesn't work anymore.

NordVPN says I have to whitelist subnet 192.168.0.0/16

My question now is, how can I do this? I guess I have to do this somewhere with openvpn but I have no idea how. Do you have a clue?

Thank you.

Zomboided commented 1 year ago

No idea, time to use google and read the openvpn documentation. It's likely you'll need to use the up/down scripts as the connection is made to make the white list happen, but that's pretty well documented on the wiki.

On Thu, Dec 22, 2022 at 10:38 PM peno64 @.***> wrote:

I run kodi 19 via libreelec on a raspberry pi. I also use vpn manager to enable vpn via NordVPN. I also installed the docker addon from kodi and then in a shell I installed home assistant in a docker container. To access home assistant from any computer you use in a browser http://ip:8123 That all works fine. To be able to access home assistant also from the internet I created a route on my router that my internet ip:8123 redirects to the pi ip:8123 That also works as long as the vpn is not on on the pi. From the moment it is on it doesn't work anymore.

NordVPN says I have to whitelist subnet 192.168.0.0/16

My question now is, how can I do this? I guess I have to do this somewhere with openvpn but I have no idea how. Do you have a clue?

Thank you.

— Reply to this email directly, view it on GitHub https://github.com/Zomboided/service.vpn.manager/issues/382, or unsubscribe https://github.com/notifications/unsubscribe-auth/AECJZZOJVBXEQVHMTRBENF3WOTJ43ANCNFSM6AAAAAATHFXQ3U . You are receiving this because you are subscribed to this thread.Message ID: @.***>