Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
190 views

I'm a student developer working on an Android application that acts as a SOCKS5 proxy server. What I've Implemented: A SOCKS5 server on Android that handles the protocol's handshake, request, and ...
조휘원's user avatar
0 votes
1 answer
155 views

I've just finished building my first application for Android with React Native and Expo. The app is configured to access a specific server IP address via a VPN. Currently, the domain name is not in ...
Bob's user avatar
  • 1
3 votes
1 answer
325 views

Let me preface this by saying that I'm definitely out of my depth here in terms of knowledge. I'm trying to implement a VpnService that users of my app can enable in order for any traffic not going ...
Stelios Papamichail's user avatar
0 votes
0 answers
150 views

Is there a way to implement domain-based split tunneling in Android without parsing DNS queries? Hey fellow Android devs, I'm working on implementing domain-based split tunneling in an Android VPN ...
dummy's user avatar
  • 1
0 votes
0 answers
47 views

When I call the establish method, I get the following error: java.lang.IllegalStateException: Cannot set address or java.lang.IllegalStateException: Cannot bind com.sdp.etrust.sdk.logic....
user29897456's user avatar
0 votes
2 answers
529 views

I am trying to make proxy settings via a fake vpn in my react native android application. I am giving proxy settings into builder thanks to VpnService with android.net.ProxyInfo package. But the proxy ...
muazzez's user avatar
  • 108
3 votes
2 answers
1k views

I am trying to implement split tunneling in an Android VPN application. Specifically, I want all traffic to go through the VPN by default, but certain IPs should bypass the VPN and use the regular ...
Katarina Zivkovic's user avatar
0 votes
0 answers
146 views

Goal The purpose of this work is to find a way to make a transparent proxy that will log the packets. Things that are happening - I can capture the packet log it. Able to send the packet to dns ...
Kivuos's user avatar
  • 13
0 votes
1 answer
882 views

I have the second: My company bought VPN servers with iOS app for managing VPN connection to that servers. I need to write the same App for Android devices. I never worked with VPN connection on ...
Denis Gusev's user avatar
1 vote
1 answer
1k views

I'm working on an Android application that requires creating a local VPN to route all device network traffic for content filtering purposes. Instead of using a remote VPN server, my goal is to develop ...
Raj Tripathi's user avatar
2 votes
1 answer
180 views

I'm working on a Kotlin app in Android Studio that requires the user's web browsing to be monitored. I tried to use the android VPN API for this, and wrote the two functions below. The script compiles ...
Powplowdevs's user avatar
1 vote
0 answers
140 views

I'm working on a pet VPN project for Android. Now I need to develop an application that would send all packets from the device to a remote server and receive a response from it (without authorization ...
Yalkap Gurbanow's user avatar
1 vote
0 answers
116 views

I want to develop an application with Flutter and the app must access the VPN profile of the device and list of the available VPNs. Also I want the app to automatically turn on or off the VPNs. Is ...
alissonasadi's user avatar
1 vote
0 answers
554 views

I have a voip app and it is almost complete, I added VPN service to current app because it was a requirement to secure the audio phone calls, and whenever app launches it should connect to vpn first ...
Adnan Quraishi's user avatar
2 votes
0 answers
86 views

I want to create a self vpn to block nsfw photos using nsfw js I tried to write a simple empty vpn unsuccessfully When I open a website the loading take forever. and I don't know how to block the ...
Newbee's user avatar
  • 21
0 votes
1 answer
130 views

I open a socket and track network calls in the Android application. Currently, I can view the hostname and IP address of the coming network traffic using the DatagramPacket class. Is it possible to ...
FaaiqKhan's user avatar
  • 143
1 vote
0 answers
146 views

My Android app uses the VpnService API. The app makes some connections, starts a VpnService and shuttles data to-and-fro. Fairly normal. While the VpnService is active, under particular circumstances ...
Mark Smith's user avatar
0 votes
1 answer
368 views

I have a VPN established where I do split tunneling with "builder.addallowedapplication()". I would like bypass a few websites from VPN tun0 and rather use the wlan0 interface. I have tried ...
Mike's user avatar
  • 157
2 votes
0 answers
148 views

I'm struggling to find a way to determine the package name of the active VPN profile in Android. Is there an API for this that is supported at the API 33 level?
spartygw's user avatar
  • 3,532
5 votes
1 answer
1k views

I'm trying to set DNS to the Wifi and 4G data, So that i can use my Custom DNS server by which all my data will through my own server. By researching in internet i saw it's dificult to set for the ...
Md. Abdullah Al Rumy's user avatar
3 votes
2 answers
725 views

I have an android app which uses VpnService API to establish a connection to a proxy. My intention is to let DNS queries bypass the proxy (because it can only tunnel TCP, and not UDP, which is used by ...
Anton2319's user avatar
  • 170
6 votes
2 answers
931 views

Background I've noticed various firewall apps on the Play Store being able to let the user choose which apps are allowed to use Wi-Fi and/or mobile-network for Internet connection. These app use VPN ...
android developer's user avatar
0 votes
0 answers
492 views

I'm going to create an Android vpn application. I have extended a VpnService class. Below is my class: public class MyVpnService extends VpnService { private String TAG = "mjh"; ...
mohammad javad haji's user avatar
0 votes
0 answers
169 views

I have a VPN service that uses the [getConnectionOwnerUid()]1 function to get the user ID (UID) of the owner of a network connection. On Android, this function works well for all apps. However, when I ...
zvi's user avatar
  • 4,924
1 vote
0 answers
352 views

In my case I implemented CakeVpn (https://github.com/ashraf789/Cake-VPN) application as second module of project. In original version from google play there's no problem with removing from recent. And ...
Виталий Сорокин's user avatar
1 vote
0 answers
78 views

I am implementing VPN on my Android App. I"m using this method to exlude proccess i don't want to go trow my tunnel : builder.addDisallowedApplication(getPackageName()); builder....
Jesus Dimrix's user avatar
  • 4,578
1 vote
0 answers
258 views

For some reason I can't understand, when I'm parsing the buffer values, I almost never get the version as 4 (which would be the default for IPv4), and most of the time I get some random value like 10 ...
DiaDeTedio's user avatar
0 votes
3 answers
625 views

I created a VPN App and it is working correctly in Release and Debug APK files but when I upload it to Play Store, and then downloaded from Play Store it does not connect to the server and say "...
Rafiqullah Taibzada's user avatar
1 vote
0 answers
315 views

I have this ToyVpn sample project and I want to test it. and in order to connect to the vpn the ToyVPN needs: (Server IP, Server port, Shared Secret) but the proxy format that I have is different: (...
Davie105's user avatar
1 vote
0 answers
2k views

Hello Android Community! How can I setup a L2TP/IPSEC connection on android using this IPSEC/IKEV2 library ? I didn't found any documentation about it. Also I am only able to setup a VPN connection ...
MayankChoudhary's user avatar
1 vote
1 answer
2k views

I have read https://developer.android.com/guide/topics/connectivity/vpn but i have a few questions about it: am i creating a vpn client according to the code i have pasted below, if so, where is the ...
mittal_sahil's user avatar
0 votes
0 answers
170 views

Problem: By default, Android has only one active Network, so when you have your other device connected to your phone over Wi-Fi (IoT, Dashcam, whatever, obviously with no internet), your Android ...
punov's user avatar
  • 838
0 votes
1 answer
901 views

I am making a VPN application in Android and the following seems to work great: public class MyVpnService extends VpnService { private ParcelFileDescriptor lt; public int onStartCommand(...
user1772004's user avatar
0 votes
1 answer
609 views

I have seen in many apps that when VPN is connected you can get inside the app and if you are not connected you can't get in. How can I do this with Java programming?
Masud Reza's user avatar
1 vote
0 answers
260 views

I am coding an app with a native (C/C++) lib to create a tunnel interface and inspect read/write pkts prior to forwarding via the actual physical interface. I am interfacing via JNI to create and ...
nsim's user avatar
  • 11
0 votes
1 answer
311 views

I'm looking at trying to implement a VPNService on Android for packet filtering and reporting and I have initially been looking at this project: https://github.com/hexene/LocalVPN As well as this I ...
Rich Shepard's user avatar
0 votes
1 answer
678 views

I'm porting an Android device's VPN App to iOS (using NEPacketTunnelProvider). Android provides a mechanism to bypass VPN for some tcp/udp connections, using the following API: class VpnService { //...
Top-Master's user avatar
  • 9,045
0 votes
1 answer
189 views

builder.setSession("MyVPNService"); builder.addAddress(deviceIp, 24); builder.addDnsServer(dnsIp) .addDnsServer(dns2Ip) ...
jcooli's user avatar
  • 1
1 vote
0 answers
1k views

I am working on an Android app using Android Studio and what I am trying to do is building a simple VPN client that implements and L2TP protocols. I have googled and searched here in Stack Overflow ...
Noman Aziz's user avatar
1 vote
0 answers
253 views

Note: The app that I am trying to build will go into production. This is not for just practicing I am trying to develop an app that needs to retrieve the websites visited by the user on an android ...
premji012's user avatar
1 vote
1 answer
377 views

I am looking to replicate the Ookla Speedtest displaying of data usage per application via the Android VPN service. It appears they start a VPN service however they state that it is not routed through ...
Seb's user avatar
  • 31
0 votes
1 answer
1k views

When I create vpn app I am geting this type of error plz someone help me in this C:\Users\asus\Desktop\WorkBook\UltimateVpn\app\src\main\java\de\blinkt\openvpn\core\OpenVPNService.java:472: error: ...
Jay Prakash 's user avatar
1 vote
0 answers
106 views

i have setup a vpn service and then configure a vpn interface. private void setupVPN() { try { if (vpnInterface == null) { Builder builder = new Builder(); ...
mani k's user avatar
  • 11
1 vote
0 answers
644 views

When you want to start Vpn we can do : VpnService.prepare(activity) Then : override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) { super.onActivityResult(requestCode, ...
Jesus Dimrix's user avatar
  • 4,578
1 vote
0 answers
1k views

Is there a way to disconnect any VPN connection on the Android device? My app uses Wi-Fi Direct to establish a P2P connection with other devices. On some devices, Wi-Fi Direct does not work when the ...
Hussein Yaqoobi's user avatar
5 votes
1 answer
2k views

I'm going nuts here. I am trying to debug my app on a Samsung Galaxy Tab S5e. My application runs a VPNService and I am reasonably sure this is the root cause of the following issue: When debugging ...
pookie's user avatar
  • 4,173
1 vote
1 answer
2k views

I want to connect to an HTTP proxy like this 95.179.128.75:8080 and tunnel all phones like ultrasurf app. I try to make a Vpn Service with these codes: class MyVpnService : VpnService() { override ...
Marlen Schreiner's user avatar
3 votes
0 answers
172 views

I am working on a VPN app (uses VpnService) which has been working on Android devices. When I run it on a Chromebook, the VpnService appears to be started correctly based on the logs. Additionally, ...
jbr000's user avatar
  • 441
0 votes
1 answer
206 views

I have a application i know how to consume web services i am up with a challenge and lack of knowledge on network side, The Web Services are accessible through VPN on Web which is protected with ...
Saif M's user avatar
  • 586
2 votes
1 answer
680 views

So, I was going through the guide of connecting to a VPN using an applicaton from here guide . What I really want is to make my own VPN app by using free DNS available on the internet. Because I want ...
Ashutosh Soni's user avatar