pptp vpn for mobile
Unsolved
Mobile and Embedded
-
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.setType(QNetworkProxy::Socks5Proxy); proxy.setHostName("some ip"); proxy.setPort(port); proxy.setUser("user"); proxy.setPassword("password");
If I use the following code, will only my application requests go through the proxy server?
QNetworkProxy::setApplicationProxy(proxy);
How can I do that all traffic from OS go thought the remote server?
I'm stuck. -
Hi,
AFAIK, that's something you would have to do at the OS level so it's outside of Qt's scope.
-
Not knowing what device you are running I can't say.