VPN Manager for OpenVPN

  • duckdns address. Local traffic shouldn’t be going through the VPN. It should come into the router (which isn’t using the VPN) and be forwarded over your local network to your Pi. It’s exactly how I run mine, albeit with a different dynamic DNS service

    That's what I understand. And I have no problem connecting to Libreelec from my local network when the VPN is activated. The problem occurs only when trying to connect to Librelec from outside. I can only reach my router, but not my Raspberry hosting Librelec. Port forwarding should'nt be an issue as everything work fine when VPN is deactivated, am I right? I'm running out of ideas, it seems pretty simple but doesn't work, should I try a different VPN service provider?


    Thanks

  • That's what I understand. And I have no problem connecting to Libreelec from my local network when the VPN is activated. The problem occurs only when trying to connect to Librelec from outside. I can only reach my router, but not my Raspberry hosting Librelec. Port forwarding should'nt be an issue as everything work fine when VPN is deactivated, am I right? I'm running out of ideas, it seems pretty simple but doesn't work, should I try a different VPN service provider?


    Thanks

    How do you try to connect from outside? I even don't have a clue to do that, tanks! I just want to be able to connect from my phone to see photos and documents from an HDD connected to the Rpi, when i'm outside home.

  • Hi,


    Still trying to connect frmo oustide when CG VPN is activated. Reading the logs, I can see this:


    Quote

    [...]

    2020-06-29 14:28:35.080 T:2580542320 NOTICE: proto udp

    2020-06-29 14:28:35.081 T:2580542320 NOTICE: remote 87-1-gb.cg-dialup.net 443

    [...]


    Is it normal to use port 443 here. I would've expected port 1194 when I chose UDP, where am I wrong? I didn't change anything in VPN Manager settings. Logs copied on pastebin, after UDP and TCP connection tests.


    Note that I have Nextcloud running on port 443, that could matter if this port has to be used as well for the VPN.

    I'm also wondering about the ipv6 warning you can see in the logs:


    Quote


    2020-06-29 14:35:18.224 T:2672530288 NOTICE: Mon Jun 29 14:34:43 2020 WARNING: OpenVPN was configured to add an IPv6 route over tun0. However, no IPv6 has been configured for this interface, therefore the route installation may fail or may not work as expected.


    Thanks.

  • Is it normal to use port 443 here. I would've expected port 1194 when I chose UDP, where am I wrong? I didn't change anything in VPN Manager settings. Logs copied on pastebin, after UDP and TCP connection tests.

    Different providers use different ports. Some providers allow connections on multiple ports. If you switch off 'Use VPN provider default UDP port' on the VPN Config tab in settings, then you can choose the port you use. It won't work unless your VPN provider allows it though.

  • OK. Does someone know which port is used by default by CG with OpenVPN? I'm having hard time finding it and I'm still waiting for an answer from CG support...

  • Different providers use different ports. Some providers allow connections on multiple ports. If you switch off 'Use VPN provider default UDP port' on the VPN Config tab in settings, then you can choose the port you use. It won't work unless your VPN provider allows it though.

    And what about the ipv6 warning? Should I worry about it?

  • It's an openvpn warning. I don't see it on my installs. You should go and research it in the openvpn documentation/forums or (less so) your VPN provider support team.

  • No, use the user defined wizard

    I've used that and there's a problem with dns. Ive checked on doileak.com and it fails on dns. Is there any guide on how to use the alternative up ans down scripts? What do I need to put and where in the scripts?