At first: Great work! openVPN works fine on my droid. could connect to every server behind my vpn-gateway.
but:
how do i push a proxy to the android device?
droid --> vpngate --> proxy --> inet
NOT (!) droid --> proxy --> vpngate --> inet
"push dhcp-option PROXY_HTTP ip.of.pro.xy port" doesn't work.
i mean: kitkat is the first droid-based-os which supports proxies.
please help.
Using proxy BEHIND OpenVPN Server
-
- OpenVpn Newbie
- Posts: 1
- Joined: Mon Feb 24, 2014 7:59 pm
-
- OpenVpn Newbie
- Posts: 2
- Joined: Fri Feb 12, 2016 9:07 am
Re: Using proxy BEHIND OpenVPN Server
Hello,
i'm searching for an answer, too.
We use our own VPN. Connection is established but i can't add an additional proxy after the smartdevice is connected.
The dhcp-push option works fine with an ios device but not with an android device.
Android Version: 4.4.4
I don't want to use a root. Is anyone out here who can help me?
i'm searching for an answer, too.
We use our own VPN. Connection is established but i can't add an additional proxy after the smartdevice is connected.
The dhcp-push option works fine with an ios device but not with an android device.
Android Version: 4.4.4
I don't want to use a root. Is anyone out here who can help me?
-
- OpenVpn Newbie
- Posts: 2
- Joined: Fri Feb 12, 2016 9:07 am
Re: Using proxy BEHIND OpenVPN Server
Hello,
i'm searching for an answer, too. My device is not rooted with android 4.4.4
openVPN connection works fine. But i need a proxy for some apps.
the dhcp-push option seems just to work on ios devices. can somebody help me please?
i'm searching for an answer, too. My device is not rooted with android 4.4.4
openVPN connection works fine. But i need a proxy for some apps.
the dhcp-push option seems just to work on ios devices. can somebody help me please?
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu Mar 24, 2016 1:03 pm
Re: Using proxy BEHIND OpenVPN Server
I'd also like support for this, from the log my client shows:
Client is a unrooted Android 5.1 device running OpenVPN Connect 1.1.16 (build 74)
Code: Select all
Error setting dhcp-option for proxy:
tun_prop_dhcp_option_error: tun_builder_setproxy_http
-
- OpenVpn Newbie
- Posts: 1
- Joined: Fri Mar 25, 2016 8:30 am
Re: Using proxy BEHIND OpenVPN Server
Proxying HTTP(s) traffic from Android devices through Burp should be actually no magic. Nevertheless you'll have to take some important steps into consideration:
Install Burps CA cert on the device
I usually access Burp directly and download the cert file (cacert.crt)
If Burp is listening on 192.168.1.1:8080, just go to http://192.168.1.1:8080/cert to download the cert
Push this file to your device and install the certificate
Install ProxyDroid on Android
Set proxy setting globally or only for certain applications
In theory that's all! BUT: During recent mobile application pentest sessions, I've noticed that sometimes applications traffic is not being passed through the proxy, especially when the application does not connect to standard HTTP ports like 80 or 443. Besides that: What about SSDP and all other text-based protocols you would like to intercept in Burp? In most cases the proxy settings will simply be ignored and the traffic would be routed directly to the destination. In order to achieve my goal I'll be using iptables and some Burp settings most pentest aren't aware of. But first things first: The basics.
Install Burps CA cert on the device
I usually access Burp directly and download the cert file (cacert.crt)
If Burp is listening on 192.168.1.1:8080, just go to http://192.168.1.1:8080/cert to download the cert
Push this file to your device and install the certificate
Install ProxyDroid on Android
Set proxy setting globally or only for certain applications
In theory that's all! BUT: During recent mobile application pentest sessions, I've noticed that sometimes applications traffic is not being passed through the proxy, especially when the application does not connect to standard HTTP ports like 80 or 443. Besides that: What about SSDP and all other text-based protocols you would like to intercept in Burp? In most cases the proxy settings will simply be ignored and the traffic would be routed directly to the destination. In order to achieve my goal I'll be using iptables and some Burp settings most pentest aren't aware of. But first things first: The basics.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sun Aug 16, 2020 12:26 am
Re: Using proxy BEHIND OpenVPN Server
I know it's years after this post was made, but I found a solution that worked for me. You just configure a proxy on your phones APN, pretty much the same way you do on Windows.
Here's a little tutorial I made for it.
https://youtu.be/i7Q24BKJovo
Here's a little tutorial I made for it.
https://youtu.be/i7Q24BKJovo