Results 1 to 7 of 7

Thread: Force Open VPN connection for Chromium and Qbittorrent

  1. #1
    Join Date
    Jul 2008
    Location
    Melbourne, Australia
    Posts
    64

    Question Force Open VPN connection for Chromium and Qbittorrent

    Hello,
    I am wanting to force my pc to only connect via Open VPN connection. I have noticed that at times the VPN drops out, and I am then unprotected.

    Question - How do I force my pc to only connect to the internet via an Open VPN connection?
    I am a beginner linux dude! Step by step would be good.

    In particular I have two programs that I would like to protect 1) Chromium 2) Qbittorrent

    If you have any ideas I'd really like to hear from you. Thanks

    Opensuse 12.3
    XFCE and lovin it!

  2. #2
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,856
    Blog Entries
    2

    Default Re: Force Open VPN connection for Chromium and Qbittorrent

    You start with describing exactly what you have setup now.
    For example, I've seen many ways to setup OpenVPN, from the oss repos, from a commercial VPN provider.

    Then for each way you might have installed packages, you can invoke your VPN a number of ways... From a console, from Network Manager (or similar).

    And, of course you'll have to describe what you're connecting to... your own VPN server, a company VPN Server, a VPN service, etc.

    You might also try to capture the reason for your VPN drops, eg immediately after noticing,
    Code:
    tail /var/log/messages
    HTH,
    TSU

  3. #3
    Join Date
    Jul 2008
    Location
    Melbourne, Australia
    Posts
    64

    Default Re: Force Open VPN connection for Chromium and Qbittorrent

    Hi,

    I set up via the OpenVPN oss repos, and am using the network manager for the connection.

    Also am connecting to a VPN service provider. (Ibvpn)

    If your able to suggest how to invoke VPN via the Network Manager that would be grand!
    Thanks TSU

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    22,226
    Blog Entries
    1

    Default Re: Force Open VPN connection for Chromium and Qbittorrent

    Quote Originally Posted by adstaryoung View Post
    Hi,

    I set up via the OpenVPN oss repos, and am using the network manager for the connection.

    Also am connecting to a VPN service provider. (Ibvpn)

    If your able to suggest how to invoke VPN via the Network Manager that would be grand!
    Thanks TSU
    Have you read this guide?

    https://forums.opensuse.org/english/...ittorrent.html

    (Specifically sections 25.3 and 25.6)

    I have a VPN configured for work-related connectivity (albeit using PPTP). Configuring via Network Manager is not difficult.

  5. #5
    Join Date
    Jul 2008
    Location
    Melbourne, Australia
    Posts
    64

    Default Re: Force Open VPN connection for Chromium and Qbittorrent

    Hi TSU,


    Could you check that link you sent TSU? It doesn't work.

    It does sound like what I'm after.

    Could you resend the link/address of the guide please?

    Thanks,

    Ad

  6. #6
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    22,226
    Blog Entries
    1

    Default Re: Force Open VPN connection for Chromium and Qbittorrent

    Sorry, linked to this thread by mistake. You want this:

    openSUSE 12.3: Chapter 25. Using NetworkManager

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,856
    Blog Entries
    2

    Default Re: Force Open VPN connection for Chromium and Qbittorrent

    Quote Originally Posted by adstaryoung View Post
    Hi,

    I set up via the OpenVPN oss repos, and am using the network manager (?) for the connection.

    Also am connecting to a VPN service provider. (Ibvpn)

    If your able to suggest how to invoke VPN via the Network Manager that would be grand!
    Thanks TSU
    Although I'm not running XFCE at the moment, IIRC Network Manager runs nearly the same on every Desktop.
    After opening Network Manager, you should see a VPN tab. Click on that, and create a new VPN configuration, selecting OpenVPN as the VPN technology, specifying the certificate to be used, the VPN service URL and providing your credentials. After that, you should have a connection which can be invoked at any time by clicking on it.

    Although it's unlikely that any VPN provider would implement OpenVPN is some non-standard way, does your VPN provider provide documentation how they recommend connecting?

    Although creating a Network Manager VPN connection should be fairly straightforward, am curious where you may have gotten libvpn and exactly how you think you may be using it... AFAIK it's not part of the main openSUSE repos in any way (even source). is this something provided by your VPN provider?

    TSU

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •