Qt World Summit: Submit your Presentation

pptp vpn for mobile

  • Hi everyone,

    Kindly help me with the following task. I need to connect to the remote server. The connection needs to be implemented by pptp and all traffic from device should go through this server.

    I read about QNetworkProxy.

    QNetworkProxy proxy;
    proxy.setHostName("some ip");

    If I use the following code, will only my application requests go through the proxy server?


    How can I do that all traffic from OS go thought the remote server?
    I'm stuck.

  • Lifetime Qt Champion


    AFAIK, that's something you would have to do at the OS level so it's outside of Qt's scope.

  • SGaist, thank you.

    How do you think that openvpn will help me?

  • Lifetime Qt Champion

    Not knowing what device you are running I can't say.

  • Banned

    This post is deleted!

Log in to reply