Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Dec 2009
Simple Global Proxy using IPTables
I've been racking my brain for the past few days trying to get MetroPCS data on my droid. I finally came across a custom rom with a kernel that supports IPTables
Everything is finally working as it should, the data connection is up.
Now, i really think this was some kind of conspiracy to keep people on their network and paying for an expensive data plan. There are absolutely no proxy settings at all, anywhere.
Im pretty sure IPTables is the answer.
for metropcs i need to forward all outgoing connections through
wap.metropcs.net port:3128 - for HTTP
wap.metropcs.net port:443 - for HTTPS
the proxy doesnt use any kind of authentication.
So, can anyone help? Im sure its a really simple command but everything i've found talks about how to setup a proxy or a gateway using iptables, i just need to use a proxy, not actually make one.
This TUTORIAL should give you some insight.
Should go something like this (yopu'll need to change it to fit your system);
iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination <ip-of-WAP>:3128 iptables -t nat -A PREROUTING -p tcp --dport 443 -j DNAT --to-destination <ip-of-WAP>:443
I tried to look it up, but nothing is returned.
The adventure of a life time.
Linux User #296285