can I add iptables to kernel (ST15i) - Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A

i want to use proxy connection of my college but autoproxy app doesn't works, it seems like kernel dont have iptables, is there any way i can add iptables oor any other way to browse over proxy connection?

Related

Use PC internet connection on phone through USB!

USB tethering on froyo works if you need to use the phone's internet on PC. Sometimes, we just need to do it the other way around (lets say the PC doesn't have a wireless card, or we only have ad-hoc networks that are not discoverable without patching) and use our PC's net on android through USB.
Few people have done it using bridges. I did it using squid proxy server on ubuntu.
1.) Install squid and allow http access to all required clients.
2.) Connect the phone with usb tethering on.
3.) Ubuntu detects it as usb0. Now change the ip of usb0 from 'Automatic DHCP' to 'Shared to other computers'.
4.) Fire up the terminal emulator and enter the following.
#su
#netcfg usb0 dhcp
If all went well, you should now be able to connect to the internet.
Tried it and it's not working for me...
Or maybe i didn't setup squid right.
I'm not so good on ubuntu OS
I tried making a bridge connection on windows...the networks
The network seems to be connected but no internet connection...
Is it necessary to have Ubuntu OS?
Maybe some another how-to will help:
http://forum.xda-developers.com/showthread.php?t=793102
To setup squid to work:
type in:
sudo gedit /etc/squid/squid.conf
In that file find the section called
# ACCESS CONTROLS
Under the section find the line
#Recommended minimum configuration:
and add this line next to it
acl all src all
then find the section
# TAG: http_access
Under this section find the line
#Default:
and add the following line to look like
#Default:
http_access allow all
Close the file and restart squid as:
sudo start squid
That should setup squid to share your internet on all clients.
If required, reboot.
You can try out a similar approach on any other distro other than ubuntu.
i tried several searches about this topic, but none of them succeeded,
any update on this?
can i install ubuntu in my Win7?
syruz said:
can i install ubuntu in my Win7?
Click to expand...
Click to collapse
Well, you can virtualize it in Virtual box. It's free for personal use.
by the way what is the squid your talking about?
@ TS
maybe you can provide us with the link for ubuntu and squid?
Come on.. if you don't already know what ubuntu and squid are there's no point in trying this.
Ubuntu = Linux, that's another operating system. Squid is a proxy.
You ashould at least have the decency of Googling those for yourself..
Sent from my LG-P500 using XDA App
harshaxdadevelopers said:
USB tethering on froyo works if you need to use the phone's internet on PC. Sometimes, we just need to do it the other way around (lets say the PC doesn't have a wireless card, or we only have ad-hoc networks that are not discoverable without patching) and use our PC's net on android through USB.
Few people have done it using bridges. I did it using squid proxy server on ubuntu.
1.) Install squid and allow http access to all required clients.
2.) Connect the phone with usb tethering on.
3.) Ubuntu detects it as usb0. Now change the ip of usb0 from 'Automatic DHCP' to 'Shared to other computers'.
4.) Fire up the terminal emulator and enter the following.
#su
#netcfg usb0 dhcp
If all went well, you should now be able to connect to the internet.
Click to expand...
Click to collapse
Hi guys,
Do you know why I wouldn't be able to see "USB tethering" option? No matter what I did so far, all I can see is the "Portable Wi-Fi hotspot" option and that works fine. But I need to use the USB Tethering!!!
Thanks for the help!
If someone is having the same problem as me (ie usb tethering mode not visible) just use a program called togglesettings lite. It can turn on the usb tethering for you. Now the reverse usb tethering works for me like a charm. Peace!
Sent from my LG-P500 using XDA App
harshaxdadevelopers said:
USB tethering on froyo works if you need to use the phone's internet on PC. Sometimes, we just need to do it the other way around (lets say the PC doesn't have a wireless card, or we only have ad-hoc networks that are not discoverable without patching) and use our PC's net on android through USB.
Few people have done it using bridges. I did it using squid proxy server on ubuntu.
1.) Install squid and allow http access to all required clients.
2.) Connect the phone with usb tethering on.
3.) Ubuntu detects it as usb0. Now change the ip of usb0 from 'Automatic DHCP' to 'Shared to other computers'.
4.) Fire up the terminal emulator and enter the following.
#su
#netcfg usb0 dhcp
If all went well, you should now be able to connect to the internet.
Click to expand...
Click to collapse
Thank you for sharing this trick. But i dont have netcfg utility, since i use ubuntu maverick 10.10, it is not in source list. is ther any other way to do "netcfg usb0 dhcp"?
This is by far the easiest solution I've found to reverse tether. Thanks!
jadeiceman said:
This is by far the easiest solution I've found to reverse tether. Thanks!
Click to expand...
Click to collapse
Sorry and wich is the solution ????
syruz said:
@ TS
maybe you can provide us with the link for ubuntu and squid?
Click to expand...
Click to collapse
sudo apt-get install squid
This should install squid.
netcfg is not there on recent ubuntu versions not even software list but you can configure via app indicator at right but still i can't use reverse tethering although i followed you pretty well.
netcfg is a utlility on the phone... u need to run that command at the terminal of the phone not on your computer. (get a terminal emulator from the market)
Wow I'm feeling stupid.Will give it a go now.

[Q] Why Android Play cannot detect my wlan0 connected?

Hello.
I have an Aurora 2 tablet, with ICS.. my wifi isn't working at all, so I decided to compile drivers for a wifi dongle (AWUS036H) and I did it.. THEN using chroot ubuntu or terminal emulator (both work ok)
I
PHP:
insmod eeprom_93cx6.ko
and then
PHP:
insmod rtl8187.ko
and no problem at all. then I config the wifi using
PHP:
ip link set wlan0 down
iwconfig wlan0 essid MYESSID key mykeynumbers
sleep 10
ip link set wlan0 up
dhclient wlan0
then I try android's web browser and I'm able to surf the net at great speed and even to watch videos... unfortunately I'm not able to download anything from browser. Then I try to open market and not possible.. Android wants me to turn on my onboard card... so my questions are:
1.- how can I make android "PLAY" detect my wifi antenna?
2.- Is there a way to use the GUI button to enable my rtl8187 instead of the onboard one?
anny suggestion??? pleaaaaaaaaaaaaaase!!
thanks in advanced...
FUNNY THING I discovered.. I'm able to download using Opera or chroot ubuntu (wget) so this is really nuts :... :S

Connect VPN through Orbot and route all traffic through that VPN

Hey guys I'm trying to get to run the following setup:
Connecting my Android Phone to Tor through orbot and then connect to a VPN through that tor connection.
It should be possible shouldnt it?
(All apps) -> VPN -> Orbot -> VPN -> Internet
But how to set it up?
I'm using the Hideninja App for the VPN connection and already hacked it a bit (edited the openvpn config file to include a socks proxy on 127.0.0.1:9050 which is the orbot default socks port) but it just crashes and writes some dump file with chinise symbols lol.
So I tried adding the orbot proxy as the proxy to openvpn - but that didn't do the trick... could be though that the hideninja app uses a stipped down verion of openvpn since its called "miniopenvpn" (you can find the openvpn binary and the config file in the apps data/cache/ directory).
--------
Long talk short sense:
Can anyone please enlighten me how to set stuff up to have everything routed correctly? I don't want the VPN to know my real IP, but I need the VPN to have a "valid" IP for google etc. (else I would just use orbot off course).
tor vpn over tor
I am not sure but may be possible,but if you use tor +VPN+tor its may slow down your net connection.
For that you have to setup iptable.but i am also finding some method .]
Hi..
Can we use Hideninja Ovpn in computer by openvpn?
zroice said:
Hey guys I'm trying to get to run the following setup:
Connecting my Android Phone to Tor through orbot and then connect to a VPN through that tor connection.
It should be possible shouldnt it?
(All apps) -> VPN -> Orbot -> VPN -> Internet
But how to set it up?
I'm using the Hideninja App for the VPN connection and already hacked it a bit (edited the openvpn config file to include a socks proxy on 127.0.0.1:9050 which is the orbot default socks port) but it just crashes and writes some dump file with chinise symbols lol.
So I tried adding the orbot proxy as the proxy to openvpn - but that didn't do the trick... could be though that the hideninja app uses a stipped down verion of openvpn since its called "miniopenvpn" (you can find the openvpn binary and the config file in the apps data/cache/ directory).
--------
Long talk short sense:
Can anyone please enlighten me how to set stuff up to have everything routed correctly? I don't want the VPN to know my real IP, but I need the VPN to have a "valid" IP for google etc. (else I would just use orbot off course).
Click to expand...
Click to collapse
zroice said:
Hey guys I'm trying to get to run the following setup:
Connecting my Android Phone to Tor through orbot and then connect to a VPN through that tor connection.
It should be possible shouldnt it?
(All apps) -> VPN -> Orbot -> VPN -> Internet
But how to set it up?
I'm using the Hideninja App for the VPN connection and already hacked it a bit (edited the openvpn config file to include a socks proxy on 127.0.0.1:9050 which is the orbot default socks port) but it just crashes and writes some dump file with chinise symbols lol.
So I tried adding the orbot proxy as the proxy to openvpn - but that didn't do the trick... could be though that the hideninja app uses a stipped down verion of openvpn since its called "miniopenvpn" (you can find the openvpn binary and the config file in the apps data/cache/ directory).
--------
Long talk short sense:
Can anyone please enlighten me how to set stuff up to have everything routed correctly? I don't want the VPN to know my real IP, but I need the VPN to have a "valid" IP for google etc. (else I would just use orbot off course).
Click to expand...
Click to collapse
This guide applies to doing the same thing through a Chrombook, but its easily translated to work for a PC regardless.
http://www.omgchrome.com/an-introduction-to-tor-on-chrome-os/

[Q] Web server in wifi tethering

Hi,
I want to develop an application which runs a Http server without any external modem i.e. both server and wifi tethering should be in same device.
Example lets say android devices A, B and C are there. Now device A will be tethering (wifi hotspot enabled) as well server has to run in it. So that device B and C can connect to it forming a client which can access the server. How do i do this. Pls help...
I tried using server ultimate app, but ended without success since it is working only when i'm connected with external wifi modem/mobile data.
Pls let me know if there are any application exist like my requirement.
Please provide me solution, I'm in need of very urgent.
Thanks in advance

Set an Proxy in Android? - (ProxyDroid dont work)

Hi
I use a Virtuelles Android x86 and need to add an Proxy. Since there is no Wifi I dont know how to set the proxy.
I try to use ProxyDroid but the Software close them self.
Thanks

Categories

Resources