Results 1 to 2 of 2
Ok well, i guess i'll start with a little background info here. I've been racking my brain for the past few days trying to get MetroPCS data on my droid. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-27-2009 #1
- Join Date
- Dec 2009
Simple Global Proxy using IPTables
Ok well, i guess i'll start with a little background info here.
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.
- 12-31-2009 #2
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