Behind vpn and dns. No connection - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting) +---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access) +---- Thread: Behind vpn and dns. No connection (/t-behind-vpn-and-dns-no-connection) |
RE: Behind vpn and dns. No connection - ThomasPGH - 2024-07-06 I believe there's some general confusion. In order to get a private VPN working you need a VPN server (or access server, as called by OpenVPN). This access server is built inside your router and you configured this correctly already. Devices that want to connect to your private VPN require a VPN client configured for your VPN access server (your router). When you connect with this client, it usually tells you whether it's connected or not. You don't need to test any router web interface or whatever, because anything that's inside the router is or can be reachable from the outside world (i.e. internet) without VPN too, and also without port forwarding but this heavily depends on the router's configuration. When a device is connected to your private VPN (the OpenVPN client has a nice switch that turns from orange to green when this is the case), this device is then part of your private network. In order to access Jellyfin (or any other services inside your private network) you need to connect to its private IP address, which is the address it has inside your network, for example something like 192.168.0.55:8096 or similar (check https://en.wikipedia.org/wiki/Reserved_IP_addresses). Certificates are on a completely different page and got nothing to do with VPN, dynamic DNS, or Jellyfin itself. RE: Behind vpn and dns. No connection - ThomasPGH - 2024-07-06 (2024-07-06, 11:45 AM)ThomasPGH Wrote: When a device is connected to your private VPN (the OpenVPN client has a nice switch that turns from orange to green when this is the case), this device is then part of your private network. In order to access Jellyfin (or any other services inside your private network) you need to connect to its private IP address, which is the address it has inside your network, for example something like 192.168.0.55:8096 or similar (check https://en.wikipedia.org/wiki/Reserved_IP_addresses).In your case Jellyfin's IP:port pair is 192.168.218:8096. Are you using OpenVPN or is it one of the other options available? There's a nice introduction to OpenVPN: https://openvpn.net/community-resources/how-to/ Don't forget that your VPN server seems to be built in the router. Also, the certificate mentioned on that page is the VPN's certificate and should not be confused with a certificate required for https://... websites, although it's the same principle. An https://... certificate for a website is something entirely different. RE: Behind vpn and dns. No connection - hedztrem - 2024-07-06 (2024-07-06, 12:03 PM)ThomasPGH Wrote:(2024-07-06, 11:45 AM)ThomasPGH Wrote: When a device is connected to your private VPN (the OpenVPN client has a nice switch that turns from orange to green when this is the case), this device is then part of your private network. In order to access Jellyfin (or any other services inside your private network) you need to connect to its private IP address, which is the address it has inside your network, for example something like 192.168.0.55:8096 or similar (check https://en.wikipedia.org/wiki/Reserved_IP_addresses).In your case Jellyfin's IP:port pair is 192.168.218:8096. As mentioned before i use openvpn on my asus with merlin. And there i have almost a monthperiod from ovpn thats ending. I can connect fine with jellyfin outside my home when i have disabled the vpn. But that's not what i want. You mention private vpn instead of bying. But then my streamingproblems wouldnt go away. And I i would be more exposed to internet? RE: Behind vpn and dns. No connection - ThomasPGH - 2024-07-06 (2024-07-06, 12:42 PM)hedztrem Wrote: I can connect fine with jellyfin outside my home when i have disabled the vpn. But that's not what i want.I believe this is one of your issues. Ther server's address in the Jellyfin client you use to connect from outside your network is not the server address you should use when your're connected via your VPN, which is 192.168.218:8096. Your outside server setting should in theory also work but I cannot figure out what you've configured and what you haven't. I also don't know what you got from this ovpn.com and what influence this has on your config but you certainly don't need it. Did you read the OpenVPN documentation at https://openvpn.net/community-resources/how-to/ ? The document tells you what you need to do to connect to other machines in your home network. If your OpenVPN server is on/inside your router, your Jellyfin server is an other machine. Check out the chapter about bridged and routed mode. Post screenshots of your router/VPN config. RE: Behind vpn and dns. No connection - hedztrem - 2024-07-06 (2024-07-06, 01:19 PM)ThomasPGH Wrote:(2024-07-06, 12:42 PM)hedztrem Wrote: I can connect fine with jellyfin outside my home when i have disabled the vpn. But that's not what i want.I believe this is one of your issues. Ther server's address in the Jellyfin client you use to connect from outside your network is not the server address you should use when your're connected via your VPN, which is 192.168.218:8096. Hmm. Maby im to noob, but it isnt "my vpn" the vpnclient i bought is trafficing me to there server in another city. thrue there specifik dns adresses and gives me a ip. So not my real isp wan ip or My new wan ip works to reach jellyfin. Thats why i tried to fix a ddns. Because my wan ip changes. Yeah i tried read it. But get lost in all information. Have uploaded a printscreen. So take a look RE: Behind vpn and dns. No connection - ThomasPGH - 2024-07-06 (2024-07-06, 05:59 PM)hedztrem Wrote: Hmm. Maby im to noob, but it isnt "my vpn" the vpnclient i bought is trafficing me to there server in another city. thrue there specifik dns adresses and gives me a ip.Hold on. You set up your own VPN server on your router and you're renting another VPN server. Is my understanding correct here? RE: Behind vpn and dns. No connection - ThomasPGH - 2024-07-06 (2024-07-06, 05:59 PM)hedztrem Wrote: Have uploaded a printscreen. So take a lookYour screenshot shows that your router works as a client, not server. This means the VPN you got/rent is a public VPN, just like most VPNs (Astrill, NordVPN, whatever) that help you stay hidden when you browse the internet. It is not for accessing your Jellyfin (or any other network resource) at home when you're away. RE: Behind vpn and dns. No connection - hedztrem - 2024-07-06 (2024-07-06, 07:15 PM)ThomasPGH Wrote:(2024-07-06, 05:59 PM)hedztrem Wrote: Have uploaded a printscreen. So take a lookYour screenshot shows that your router works as a client, not server. This means the VPN you got/rent is a public VPN, just like most VPNs (Astrill, NordVPN, whatever) that help you stay hidden when you browse the internet. Yes! Have tried to explain that ovpn is just like nordvpn and others. I haven't mentioned it was for acessing my jellyfin. The problems started when i got public vpn. With puplic vpn activated i cant connect to jellyfin on my computer when im outside. I Have tried to open port both in router and in public vpn homepage thats allowing port forwarding. Thats why i created a ddns but its not working either when vpn is actived. Instantly when disable vpn i can connect as usual thrue ip /:8096 or by my own ddns adress:8096 RE: Behind vpn and dns. No connection - ThomasPGH - 2024-07-06 That's the whole idea of having a public VPN in the first place. If you want to connect through your VPN's exit gateway you'll have to get in contact with your VPN provider and see what they can offer. |