[solved] OpenVPN VPNSecure connected but no network



  • Hi, I'm struggling to setup my VPN - tried Mullvad and VPNSecure, both are working fine on all my other devices.
    As I can switch them on after the initial setup and the button turns green I assume I didn't do everything the wrong way, but after connecting the VPN there is no more network connection - neither internet not home network.
    Surely I'm missing something that should be done but I tried everything I could imagine without success ...
    Many thanks for any help!



  • Hi! I'm interested in setting up VPN on UT. But no one else has tips for that... Could you post pictures of your installation? The GUI is not as simple as connecting to a VPN through the terminal ..
    Thanks ;)



  • Try to tune the setup with the app enclosed https://github.com/ubports/ubuntu-touch/issues/46

    look also in advanced setting



  • @ernest thanks, I already used this app to try different settings ...no success ...



  • I am also interested on this, specially because I use Mullvad as my vpn too!



  • Today I tried the terminal way - both VPN scripts are running and are ending with > Initialization Sequence Completed < but there is no working VPN tunnel as the ip is still the one from my provider ... - in addition the terminal is stuck on > Initialization Sequence Completed < only a reboot kills the process
    As said same behavior with two different VPN providers and two different approaches (mullvad is password and VPNS is with keys ...)
    All terminal outputs seem ok, no errors - but no VPN tunnel (but still working network though ;-) )

    any ideas? thx



  • did you try with sudo ?



  • @ernest yes



  • @elastic
    Can you try to activate verbose mode and share the logs (after removing sensitive data) ?



  • @ernest

    log deleted



  • Thanks,
    Next time you share log please use : https://paste.ubuntu.com/

    So it seems that the connection is set it up correctly and also it's normal that your browser doesn't get the VPN ip. My phone has the same behavior while connecting from phablet-shell.

    I guess the issue remains in your system setting config. Open the VPN editor app and took a screenshot of each page your vpn setting with personal data hidden.



  • @ernest sorry for the late response - had to work ...

    pics deleted



  • So, look in the header of your .ovpn file, all the info should be present in the client config.

    For instance are you sure about no additional TLS auth ?

    my header look like

    dev tun
    proto udp
    remote utouch.org 8080
    resolv-retry infinite
    nobind
    persist-key
    persist-tun
    key-direction 1
    remote-cert-tls server
    tls-version-min 1.2
    verify-x509-name server_retefdr434534erger34345 name
    cipher AES-256-CBC
    auth SHA256
    comp-lzo
    verb 1
    

    See below the config matching

    0_1517463171955_screenshot20180131_232529811.png

    0_1517463182140_screenshot20180131_232538893.png

    0_1517463194570_screenshot20180131_232547236.png

    0_1517463200973_screenshot20180131_232554252.png

    Ps don't forget to create/copy paste your key and ca correctly in a dedicated file.



  • @ernest
    thanks again, yes, I'm sure about the TLS auth it's not needed.

    anyway I got the VPNSecure to work - I have just no idea how because I changed nothing in my config ... - what I did was running the ovpn in terminal - reboot - opened the GUI VPN config and closed it again, rebooted and suddenly it worked ...

    After that I was able to configure several VPN servers at the same provider (different countries ...) but hat to reboot after every single setup to get it working - if I setup two servers without a reboot between only the latest was working ...

    Maybe I should note that it has been like this on SailfishOS before they fixed their VPN-setup-UI (after a year or so ...)

    sadly no success with Mullvad (work on Sailfish so the config is ok ...) but for now I'm happy with one working VPN


Log in to reply
 

Looks like your connection to UBports Forum was lost, please wait while we try to reconnect.