how to use vpn connection on nox in windows? - android

edit: I found my answer
I already know that if I would have a smartphone with an internet connection, I can share the connection through the Every Proxy app. This app allows to have an http proxy, and when you share your internet through usb cable, you can enter the proxy that the app has given, on windows. It's actually more helpful if you want to share your vpn connection.
I want to do the same, but in nox. I turn on my vpn and install Every Proxy on nox. The IP address the app give is 172.16.24.15. but trying this in windows; has no result.
I also used Fing to see my simulator IP address and it is 172.16.25.2 for the simulator router and 172.16.25.15 for the android itself.

in the system settings of nox > device > enable network bridge mode > DHCP, I get the IP address 192.168.1.3. now when I turn on Every Proxy, I set the IP address 192.168.1.3 instead of the previous 172.16.24.15. so I can use this new IP in windows settings and it works.

Related

Internet Connection lost when setting Charles proxy on Android

I am trying to set charles proxy on Android 8.0( S8 ). I have installed the root certificate-> Changed WIFI settings to charles proxy settings. But After connecting to proxy, Internet connection is lost. Tried multiple times. Is there any other security certificate I need to install for Android 8.0. Please suggest. Thanks
The sequence of steps is really important:
Connect the Android device and the computer that running Charles to the same LAN (WiFi) network
Start Charles
Then set the Charles machine LAN IP as manual proxy on your phone. Open the list of Wifi connections, then touch and hold the connected network, and select Modify network.
Proxy: Manual
Proxy hostname: Open the Help > Local IP Address menu in Charles and paste into it the address displayed
Proxy port: 8888 (This is the default value that can be changed in the Proxy > Proxy Settings menu.)
Open a browser on your phone and make some network traffic
After that you have to click into the Charles app window. You will see a confirmation dialog that asking you to allow network traffic from the mobile device, press Allow.
After all, open the https://chls.pro/ssl URL on your device and install the .pem file for VPN and apps (Use Chrome browser on Android, and Safari for iOS devices.)
Troubleshooting
When Charles is the background, the confirmation dialog will not be visible automatically, you have to activate (bring back to the foreground) the Charles application window to see it.
To check the device connection permission, go to Proxy > Access Control Settings. You should also see its LAN IP on the list.
To getting your Android phone LAN IP address open the Dialer and enter: *#*#4636#*#*, then select Wi-Fi information > WiFi status and refresh stats.
If anyone who is still looking for answer then try these steps. It worked for me ☺️
When you enter proxy, there will be one more option that is "Bypass for" in this field enter * as value, and thnx me later.

Charles Proxy Issue on Ubuntu

I am trying to do a debug session on my App (Android) by monitoring the outbound/inbound HTTP traffic.
I have followed these steps for the setup,
Made sure that my phone and laptop are in same network.
My laptop runs Ubuntu. So, I took my laptop's IP address from ifconfig. Let's say it was 172.x.x.x.
Configured this IP as the Proxy IP in my mobile, with port 8888.
Then, finally, having Charles Application running, I was hoping that my HTTP traffic would get routed via Charles Application on my laptop and I would be able to see the URLs referred.
Issues,
I cannot see my traffic in Charles Proxy application.
When I look into Help -> Local IP Address, I see that the IP is 127.0.0.1 and not 172.x.x.x.
But in my friend's laptop, who also has same setup, we see 172.x.x.x as the Local IP Address.
What am I doing wrong here? Does /etc/hosts affect this setup in anyway?
I have found couple of solutions for this. Both will work -
Note down your actual IP address from the IFConfig.
My actual IP here is 172.16.16.22.
In your mobile wifi's proxy connection, enter this above IP address and 8888 as port value. You will start seeing traffic in the charle's proxy application.
If you are in office WIFI, it is probable that VPN has some issue. In such cases, connect to the VPN from the VPN software provided to you by your office. This will follow same procedure as you would connect to your office network (VPN) from your Home WIFI.

why Fiddler is not capturing traffic when I turn my pc into a wi-fi server?

I've connected my Android device to my PC wi-fi using an application called Connectify , which make it easier to browse the internet using PC'S internet connection , when I did make connection to a web server using my android device , Fiddler didn't capture the traffic .
I am using windows 7
Routing my Android Wi-Fi connection to a proxy doesn't work , my router redirects all requests from local network to the Log in page to the router settings
To monitor the network traffic of an Android device using fiddler
Open Fiddler on your pc
Go to Tools >Fiddler Options >Connections. Make sure 'Allow remote computers to connect' is checked'.
In your android device, go to your wifi settings, long press on your current Wifi and click on 'Modify network'
Click 'Advanced Options' and set proxy to manual.
Under 'proxy hostname', enter the local IP of your computer.Under 'proxy port', type '8888' (this is the default port that fiddler listens on)
Now, you should be able to see the Android network traffic on your fiddler.
Hope this helps :)
First of all, do not use the Connectify. Uninstall it.
Follow the exact instructions on the fiddler documentation. It has screenshots for setting up the proxy and everything.
Make sure that your PC shares its internet connection when you first connect it to your wifi network.
Do not attempt this at a coffee shop or in an hotel, where wifi isolation is often practiced as a security measure.
It goes without saying, do not forget to turn off the mobile data of your android device.

charles proxy not working on private network 192.168.X.X

I am trying to intercept server requests from a mobile app using charles proxy. I have used charles proxy intensively , But for some reason I am not able to record the sessions on a local wifi. One thing which I noticed is selecting Help--> Local Ip address from the menu doesn't show up the local IP address. I am not able to figure out the issue.
You need to put the IP address of your computer that is running Charles into the Android device's Wifi Settings. Also ensure that both the device and your computer are on the same subnet.

use computer to proxy android network

I am developing an Android app, and testing that on a real device.
I have a localhost server set up on my computer, and I want to the device to make request via my computer so that can access to this localhost environment in my computer.
I'm wondering if there is any tool in the adb shell that could allow me to proxy all network activity of the device by my computer, so it can access my localhost service?
NOTE: I know it works on emulator, I am just asking if this is possible on a real device.
Thank you
Install Fiddler on your computer, then on your android device connect to WiFi, long press your wifi configuration and choose modify network, then choose show advanced options and set the proxy field to your PC's IP address

Categories

Resources