[Q] Proxy support without ASproxy or transproxy - G Tablet General

Does any one know of another way to provide permanent proxy support (that is enabled automatically after reboot) without using ASproxy or transproxy?
ASproxy is having major issues with the Market licensing (keeps dropping out) and transproxy beta 3.08 requires a manual start after a reboot.
I really need a permanent proxy app/fix to enable proxies on the gtab. I'm using Vegan 5.1 beta with clemsyn v9 kernel.
Thanks!

Related

[Q] Proxy Support

I'm stumped and am trying to find a way to connect to our work network using my Gtab... problem is most corporate networks use proxy's. I don't have an option in the browser nor networking settings to assign a proxy. Has anyone did this already? How?
Supposedly pressing menu from the wifi menu brings up advanced which should have proxy on it. My advanced menu doens't show it - I am using VegaN-tab beta 5 and the Clemsyn Kernel.
I too need to get this working. I tried TransProxy and AnyCut to access the proxy settings. AnyCut gave me a short cut that doesn't appear to work.
TransProxy always fails with the message "Failed to start redirect.sh (FIX ME! implement getprotobyname() bionic/libs/bionic/stubs.c:378 iptables v1.3.7: can't initialize iptables table `nat': iptables who? (do you need to insmod?) Perhaps iptables or your kernel needs to be upgraded.
There is more but it goes out of the message box.
I found a link at comments.gmane.org/gmane.comp.handhelds.android.kernel/1082 which seems to indicate the kernel needs to be rebuilt with CONFIG_NETFILTER. There might be a manual way too but it requires a bunch of .ko files I don't have.
Should we move this thread to G Tablet Android Development in an effort to actually get it resolved? This is something I really need to figure out. I don't know enough about Android development to make this my first project to tackle.
gksmith said:
Should we move this thread to G Tablet Android Development in an effort to actually get it resolved? This is something I really need to figure out. I don't know enough about Android development to make this my first project to tackle.
Click to expand...
Click to collapse
I have the kernel ready for this. What build (TNT, VEGAN, ZPAD) do you want me to make for this kernel? LMK.
I wanted to post an update to this. Clemsyn's kernel work's great. However, you still need a way to enable the proxy.
I ended up using two programs. TransparentProxy and ASProxy. TransparentProxy is ideal if you have one proxy and always want it on. I also use it specifically when connecting via the docking station LAN at work.
However, if you are more mobile and move between WiFiconnections, you want ASProxy. It lets you configure proxies based on the SSID of the WiFi connection. This is what I use at work when I'm roaming. It's also great because I don't have to do anything special to disable Proxy when I leave the corporate network.
I plan to send an email to the ASProxy developers to see if they'd add eth0 support too. This way I could just use one program instead of two.
Also, I'd like the see the WiFi advanced network settings get the proxy UI. This isn't a big deal - just usefull.
clemsyn said:
I have the kernel ready for this. What build (TNT, VEGAN, ZPAD) do you want me to make for this kernel? LMK.
Click to expand...
Click to collapse
Kool, thanks man, any chance of a link please ?
Both programs should be on the market.
*Update - I couldn't find transparent proxy in the market. I post a link later. The Asproxy dev is already working on the wired lan issue.
Sent from my G-Tablet running Vega-Nb5.1
Great work, can you post a link for the kernal for a VEGAn 5.1 build? Thanks in advance, really need proxy support!
Here you go - this is Clemsyn's Kerenl - http://forum.xda-developers.com/showthread.php?t=895825
@clemsyn
Hi is there any chance you could provide a little more infor on proxy support from within your kernel? I've installed your latest kernel on a Vegan b5.1 (it shows up correctly on sys info) but I cant seem to find how you connect via the proxy (or enter any proxy info)
Maybe I'm missing an obvious step...?
Thanks in advance...
You need AnyCut or TransProxy3.08Beta, or ASProxy - basically, any piece of software that lets you enter the proxy settings. Several of the roms I tried didn't have the WiFi advanced menu options so I needed one of these 3 programs.
TransProxy I found via Google and AnyCut and ASProxy are available via the Market.
thanks, much appreciated. I've got TransProxy running and it seems to work fine, even authentication whcih is great. Unfortunately it requires a manualy start each time the tablet boots, I can't seem to find a way to get it to default to enabled after a reboot. Any thoughts on how to achive this..? The tablets are going to be used in an environment where users will have limited abilities and having them enable the proxy first is not really an option. Thanks
ASProxy will auto start and you can have per SSID proxies.
Sent from my G-Tablet running Vega-Nb5.1

[Q] L2TP VPN TnT Lite 4.2.2 + stock kernel

Folks,
Quick question and I apologize if this has already been answered elsewhere in this forum but a search didn't reveal anything. I'd like to configure VPN on my g-tab so I can get into work from home. Does the default kernel support VPN? If not, is there currently a compiled kernel that I can dl that'll support L2TP. If I install this kernel, can I access/configure the VPN with my currently installed ROM which is TnT Lite 4.2.2 or do I need to switch to another rom?
thanks!
Id like to know this as well if anyone can answer please.
Thanks, Rob
I've been struggling with this ever since I bought my tablet back in early DEC. I couldn't use my juniper VPN because it required a java client, but I've been trying numerous different combos of kernels and loads to see what would work for my Cisco L2TP VPN (with a shared secret). The winning combo that worked for me was:
VEGAn-TAB GingerEdition - Experimentals: verison 03082011.
Kernel - pershoot 2.6.32.31-cyanogenmod.
The VPN setting does not show up in the network settings, so I downloaded "5 VPN" from the android market. When you click "connect", it takes you to the VPN settings of the device. I created my LTP connection and BAMMMM! It works!

[Q] SSL VPN

Guys, what are you using to connect to VPN? I'm looking for a good client that I can use to connect to my job...
For argument's sake I'll assume you've rooted your TF (a requirement for using the TUN module which I think SSL VPNs need). [EDIT]: Didn't see your sig before, now I know you've rooted your TF . My VPN provider supports SSL connections via OpenVPN which I've used before on my phone without issues, but so far I've not been able to get it working on my TF with the PRIME! v1.5 ROM. Give it a try if your TF is rooted and see what happens.
See: http://forum.xda-developers.com/showthread.php?t=1125996
OpenVPN is SSL, it just be default uses a different port. 1193 from memory.
I can configure SSL VPN on my firewall and use OpenVPN to connect to it.
Requires that you have a working set of OpenVPN config files of course.

[APP] ProxyDroid - http(s), socks proxy for android [2.6.3 - Nov. 18 2012]

ProxyDroid is an app that can help you to set the proxy (http / socks4 / socks5) on your android devices.
PLEASE ROOT YOUR DEVICES FIRST AND MAKE SURE YOUR KERNEL SUPPORT IPTABLES (NAT)
TIPS: Press MENU button to find a "Recover" option that would help you to recover / reset the proxy settings when you get something wrong.
** FEATURES **
1. Support HTTP / HTTPS / SOCKS4 / SOCKS5 proxy
2. Support basic / NTLM / NTLMv2 authentication methods
3. Individual proxy for only one or several apps
4. Multiple profiles support
5. Bind configuration to WIFI's SSID / Mobile Network (2G / 3G)
6. Widgets for quickly switching on/off proxy
7. Low battery and memory consumption (written in C and compiled as native binary)
8. Bypass custom IP address
9. DNS proxy for guys behind the firewall that disallows to resolve external addresses
10. PAC file support (only basic support, thanks to Rhino)
ProxyDroid is an open source software and distributed with many other open source projects, here is a list of them:
* cntlm - Authentication Proxy: http://cntlm.sourceforge.net/
* redsocks - transparent socks redirector: http://darkk.net.ru/redsocks/
* netfilter/iptables - http://www.netfilter.org/
* transproxy - transparently proxy for HTTP requests: http://sourceforge.net/projects/transproxy/
* stunnel - multiplatform SSL tunneling proxy: http://www.stunnel.org/
You can check out all source codes from our project site: https://github.com/madeye/proxydroid
Also Available on Android Market: https://market.android.com/details?id=org.proxydroid
BTW, I decide to post this app on XDA because I have found some similar apps are violating GPL here.
What's new:
2.6.3
1. FIX: Android 4.2 compatibility issues
2.6.2 r2
1. FIX: a FC on JB
2.6.2
1. UPDATE: add HTTP-Tunnel mode, users from Iran with proxifier working on their PC can try this mode.
2.6.1
1. FIX: some UI bugs
2.6.0
1. UPDATE: new DNS cache module
2. UPDATE: enhanced UI for ICS
3. FIX: problems with auto connecting function
2.5.2
1. UPDATE: enhanced bypass function
2.5.1
1. UPDATE: enhancement in auto connecting function
2.5.0
1. FIX: some bugs fixed
2.4.5
1. UPDATE: A new option for bypassing selected apps instead of proxying them
2.4.4
1. FIX: try to fix a issue reported by Andrea
2.4.3
1. UPDATE: new stunnel binary
1. FIX: some UI bugs
2.4.2
1. FIX: some bugs introduced in the last two versions.
2.4.1
1. UPDATE: HTTPS proxy support (still only for testing now)
2.4.0 (Only for testing, need several updates to become stable)
1. UPDATE: PAC file support
2.3.2
1. UPDATE: the latest cntlm binary
2.3.1
1. FIX: bugs in the individual proxy mode
2.3.0
1. HOTFIX: NTLM related issues in 2.2.2
2. UPDATE: Optimized DNS Proxy (patch from gaeproxy)
3. FIX: Some known issues on ICS
2.2.2 (Thanks to Bob)
1. UPDATE: Russian translations
2. FIX: some spell and grammar mistakes (Sorry for my poor english )
2.2.1
1. FIX: password issue reported by Leonardo
2.2.0
1. UPDATE: custom bypass addresses
2. FIX: some bugs with multiple profiles
2.1.0
1. UPDATE: new root permission and iptables detection method
2. UPDATE: latest redsocks built with libevent2
2.0.6
1. FIX: FC problems in App Chooser
2. UPDATE: A new troubleshooting option in MENU (use system's iptables)
2.0.5
1. Some bug fixes
2. Optimize for app manager
2.0.0
UPDATES (Thanks to @kafkasmaze's patch)
1. Rewrite profile function
2. Multi WIFI bind
FIXES:
1. Problems when converting profiles
1.9.1
FIXES:
1. Update old profile structure automatically
2. Avoid error intranet addr format
Many thanks for their generous donation:
Du Duong([email protected])
2.2.0
1. UPDATE: custom bypass addresses
How to fill in custom bypass addresses?
for ex. if I want to by pass local 127.0.0.1 but the entry format x.x.x.x/x
what should I fill with the latest entry /x ?
best proxy app. THanks it really help me dealing with proxy in my job.
dony71 said:
2.2.0
1. UPDATE: custom bypass addresses
How to fill in custom bypass addresses?
for ex. if I want to by pass local 127.0.0.1 but the entry format x.x.x.x/x
what should I fill with the latest entry /x ?
Click to expand...
Click to collapse
You can input addresses with or without netmask. So, 127.0.0.1/8 and 127.0.0.1 are both acceptable.
Best app!
Is support of PAC file is planned?
ValeraVi said:
Best app!
Is support of PAC file is planned?
Click to expand...
Click to collapse
It is almost impossible to implement a full PAC file support with transparent proxy and iptables. So, I have to suggest you to get proxy info from PAC files manually.
But still I will try to add some very basic support for PAC file in the future edition.
看到了“上海”,所以决定用中文回复
最近试了gae,不是很好,试试这个怎么样。
谢谢!
Hi!
I've been using this app for a few days and I like it, this is the best proxy app I've tried.
But I noticed a excessive battery drain during the same time. After inspecting what was happening I discovered that now the wifi sleep policy is always set to never, even if I change it to another option. It just changes to never sleep.
Is this app the culprit? If so, can it be fixed?
Thanks in advance.
Kierrok said:
Hi!
I've been using this app for a few days and I like it, this is the best proxy app I've tried.
But I noticed a excessive battery drain during the same time. After inspecting what was happening I discovered that now the wifi sleep policy is always set to never, even if I change it to another option. It just changes to never sleep.
Is this app the culprit? If so, can it be fixed?
Thanks in advance.
Click to expand...
Click to collapse
We don't change anything about WIFI sleep policy. Since it's a open source software, you can check it in our codes
BTW, I guess it's something wrong with your ROM or other apps you installed.
cmadeye said:
We don't change anything about WIFI sleep policy. Since it's a open source software, you can check it in our codes
BTW, I guess it's something wrong with your ROM or other apps you installed.
Click to expand...
Click to collapse
I didn't install any other new app around the time I noticed the battery drain, just this one.
But I did update some and I found the culprit, it was Winamp. It's frozen until the developers fix it.
Sorry about nagging and thanks for this very useful app. Keep up the good work!
Use this app for a while. Love the new icon design instead of the single P.
cmadeye, is it possible to add configurable ports to redirect?
Looking at the sources it just redirects connections to ports 80, 443 and 5228.
But like Market (5228) many other apps use non-standard ports to connect to HTTP or HTTPS servers. If we could add those ports and choose HTTP or HTTPS type it would be great.
Kierrok said:
cmadeye, is it possible to add configurable ports to redirect?
Looking at the sources it just redirects connections to ports 80, 443 and 5228.
But like Market (5228) many other apps use non-standard ports to connect to HTTP or HTTPS servers. If we could add those ports and choose HTTP or HTTPS type it would be great.
Click to expand...
Click to collapse
About months ago, we had considered to add this feature. But then, we began to realize that most users (99%) just cannot figure out what exactly ports they should configure, especially for some apps using special ports.
So, we have to suggest you add custom port forwarding manually to the source codes and build your own app.
Anyway, thanks for your feedback very much!
cmadeye said:
About months ago, we had considered to add this feature. But then, we began to realize that most users (99%) just cannot figure out what exactly ports they should configure, especially for some apps using special ports.
So, we have to suggest you add custom port forwarding manually to the source codes and build your own app.
Anyway, thanks for your feedback very much!
Click to expand...
Click to collapse
I was afraid you'd say that!
No problem, I've been planning to start programming for android for a while. This is a good way to start.
Proxydroid worked well for me with DarkyRom [email protected]
Yesterday i flashed the latest version of MyUI based on OneCosmic 4.0.3 and it dont work anymore.
Are there some known issues with ICS?
Hi!
This app is very useful for me , i need to use a proxy for the university network but after the vacations the market and other apps except for browsers (that actually works without proxydroid) stopped working for no reason. I'm using a Nexus S with a 4.0.3 rom and custom kernel and the proxy is an isa 3 server with autentication (not sure if ntlm), any advices? Is there any way to post a log?
Thanks in advance
EDIT: Ok resolved simply removing the proxy settings in the wifi options , now everything works like a charm
I have a problem
hope you can help me...
let me explain...
I live in a restricted area with heavy filteration and censorship
I can't even use a vpn for bypassing it
I use socks5 system for bypassing it with PC
I just add some info(s) in proxifier program then I can reach everythings
I want to do it with my android phone too
it's galaxy S 2.3.5
and also a gal tab 10.1 3g with 3.1
I have a server name like: pt.server.com
a port like:910
a 4 letters username and password
in proxifier PC application I choose Https type and it connects properly
but in ur app I tried all options and it just connects but wont open anything,
with some preferences it can open non-restricted websites and it changes the IP but it still cant open restricted ones...
can u help me bro?
tnx anyway
covntdracvla said:
I have a problem
hope you can help me...
let me explain...
I live in a restricted area with heavy filteration and censorship
I can't even use a vpn for bypassing it
I use socks5 system for bypassing it with PC
I just add some info(s) in proxifier program then I can reach everythings
I want to do it with my android phone too
it's galaxy S 2.3.5
and also a gal tab 10.1 3g with 3.1
I have a server name like: pt.server.com
a port like:910
a 4 letters username and password
in proxifier PC application I choose Https type and it connects properly
but in ur app I tried all options and it just connects but wont open anything,
with some preferences it can open non-restricted websites and it changes the IP but it still cant open restricted ones...
can u help me bro?
tnx anyway
Click to expand...
Click to collapse
Try to enable DNS proxy option, it may be a DNS pollution problem in your area (for example, in China)
SvenGWK said:
Proxydroid worked well for me with DarkyRom [email protected]
Yesterday i flashed the latest version of MyUI based on OneCosmic 4.0.3 and it dont work anymore.
Are there some known issues with ICS?
Click to expand...
Click to collapse
ProxyDroid should work without problems on ICS (tested with Nexus S and official ICS ROM). So, we think it may be a issue in the custom kernel of your ROM.
Zeratul91 said:
Hi!
This app is very useful for me , i need to use a proxy for the university network but after the vacations the market and other apps except for browsers (that actually works without proxydroid) stopped working for no reason. I'm using a Nexus S with a 4.0.3 rom and custom kernel and the proxy is an isa 3 server with autentication (not sure if ntlm), any advices? Is there any way to post a log?
Thanks in advance
EDIT: Ok resolved simply removing the proxy settings in the wifi options , now everything works like a charm
Click to expand...
Click to collapse
Thanks for your feedback, maybe we should add your issue into the FAQ

[Q] Is VPN Possible on Stock Skyrocket ROM?

I'm interested in setting up VPN between my home computer and my Skyrocket. But before I go through the process, I wanted to ensure that VPN (and tun module) is available/possible in the stock Skyrocket kernel. The "OpenVPN Installer" and "OpenVPN Settings" android apps indicate that "tun" module must be available on the phone and this seems to be the case for NON-stock ROMs.
If VPN is available in stock rom, can anyone recommend a good walkthrough for setup?
The phone has built in vpn but it's. Very flawed. Most encrypted connections will die after a few min.
This is an android-wide problem and according to forum posts, has existed for years.
Sent from my SAMSUNG-SGH-I727 using xda premium
Does that include third party vpn solutions like openvpn? I was hoping to use vpn for tethering uses.
As long as openvpn supports pptp ipsec or l2tp then yes it will work.
Sent from my SAMSUNG-SGH-I727 using xda premium
After reading this thread, I'm not sure this is necessarily the case. There it is claimed that the required TUN/TAP driver for VPN on the Skyrocket isn't in the stock ROM:
http://forum.xda-developers.com/showthread.php?p=19963725#post19963725
The built in vpn solutions are fine, but rather complicated, and geared more towards those who use enterprise VPN solutions, like the Cisco VPN Concentrators and such.
If you want to use the built in vpn client, you can use raccoon (runs on linux, *bsd and a bunch of others) as the vpn server, but it is a total ***** to configure.. hell, it is a total ***** and a half.
One we start getting more custom kernels out, the developers will start to include the tun driver into the kernel, and we can use openvpn which is simple to setup.

Categories

Resources