342156 / android-wifi-tether

Automatically exported from code.google.com/p/android-wifi-tether
0 stars 0 forks source link

DMZ HOST or PORT FORWARDING for T-MOBILE G1 #98

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
im having issues playing online games like age of empires 3
can't host games or join them

im using the wifi-tether version (1.51)

Original issue reported on code.google.com by xitax...@gmail.com on 18 Jun 2009 at 7:45

GoogleCodeExporter commented 9 years ago
We do not support port-forwarding (or dmz) at the moment.

Original comment by harald....@gmail.com on 19 Jun 2009 at 4:23

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
ok thx for the quick response.. btw is there a way to do that manually via 
terminal 
or adb?

Original comment by xitax...@gmail.com on 19 Jun 2009 at 7:30

GoogleCodeExporter commented 9 years ago
Yes, use terminal or adb to set-up dmz or portforwarding with iptables-commands.
Maybe this helps (I've never tried that):
http://www.debian-administration.org/articles/73

And ... your kernel needs to support iptables-"features" like DNAT (or others). 
Good luck.

Original comment by harald....@gmail.com on 19 Jun 2009 at 10:10

GoogleCodeExporter commented 9 years ago
i dont think my kernel supports the DNAT features.. how can i know for sure? 
ive 
tried several times.. and after each command entered it shows up a message: 
"FIX ME! 
implement getprotobyname<> bionic/libc/bionic/stubs.c:372
any ideas?
thx in advance!

Original comment by xitax...@gmail.com on 20 Jun 2009 at 11:08

GoogleCodeExporter commented 9 years ago
Mmmmhh ... the getprotobyname-error is probably caused by a missing 
/etc/services file.
But could be a missing kernel-option as well.

Original comment by harald....@gmail.com on 21 Jun 2009 at 11:43

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
:S.. ok i see dmz wont be possible at the moment.. btw could you teach me how 
to get 
the UDP 2300 port open?

Original comment by xitax...@gmail.com on 21 Jun 2009 at 6:48

GoogleCodeExporter commented 9 years ago
hello...
I'm interested by this function too!!!!
anyone knows resolve "FIX ME..." error message  or gives a solutions which
worksplease...?

Original comment by Reis.Mic...@gmail.com on 4 Aug 2009 at 6:53

GoogleCodeExporter commented 9 years ago
FYI to those that may not know, port forwarding (and DMZ) is useless when 
you're on
most cellular networks because the device isn't assigned a public address.

Original comment by janusofz...@gmail.com on 18 Oct 2009 at 3:54

GoogleCodeExporter commented 9 years ago
so that means i will never be able to host a game on psn?

Original comment by Dinari...@gmail.com on 19 Oct 2009 at 1:14

GoogleCodeExporter commented 9 years ago
I see it has been answered already. The providers always NAT all these cellular
internet connections. This makes any port forwarding useless indeed.
But be glad that they started to offer a fully-featured TCP internet at all. 
There
were times when you needed a specialized "client application" that would 
connect to
your provider's "proprietary proxy" that recompressed images to lower quality 
and
adjusted the formatting to make it renderable with the primitive browser used.
This would make any tethering useless, obviously.

Original comment by zwzser...@gmail.com on 2 Nov 2009 at 6:34

GoogleCodeExporter commented 9 years ago
You could use a VPN tunnel if you have a server somewhere in the internet.

Original comment by ThyMythos@googlemail.com on 1 Mar 2010 at 9:10

GoogleCodeExporter commented 9 years ago
for proxy or set port forwarding issue with port; tend to do with T-Mobile.  
You 
just need call them, they can scanning whatever you are doing.  They will 
suspect 
something about that if they don't support that game online as heavy bandwidth.

Original comment by page...@gmail.com on 12 Apr 2010 at 5:43

GoogleCodeExporter commented 9 years ago
Hello, I am having the same issue but with a static IP that is provided by 
verizon
allowing me to access the phone over the interent. The static ip is specific to 
the
phone, and I know that having a static IP on is an obscure feature, but you CAN 
get
one if you are a Verizon business customer and are willing to pay a $500 fee. I 
am
able to tether the phone with a laptop and get internet connection
(linux fedora OS on laptop). But I am unable to forward any incoming 
connections to
the laptop from the phone as of now and thus cannot utilize the static IP for 
its
original intention, like how you would use a hard wired static IP. Does anyone 
have
experience doing this?
In specific, I can't get the ports forwarded from the ppp0 interface to the usb0
interface and through to the Laptop. I've tried pushing the iptables binary and 
using
it but when trying to set up forwarding rules I get a FIX ME! error (I assume 
there's
a missing kernel mod). I also tried bridging ppp0 and usb0 but the current 
kernel
doesn't seem to support this feature. Does anyone have any ideas on how to get 
this
working? does anyone have a suggestion of how I can accomplish this thru 
programming?
Thanks

Original comment by bentig...@gmail.com on 15 Apr 2010 at 8:04

GoogleCodeExporter commented 9 years ago
This isnt easily done... 1. Mobile IP addresses are dynamic. 2. Most carriers 
use a transparent caching proxy. 2. all incoming ports are closed.

Original comment by erik.the.lion@gmail.com on 16 Aug 2010 at 11:03

GoogleCodeExporter commented 9 years ago
I have a static ip, and would love to know how to forward ports. I was using my 
old Nokia phone as a router (direct connection, no DHCP, etc.) and was able to 
use an old game, but now without port-forwarding I am unable to do so on the 
Desire.

Original comment by adamjame...@gmail.com on 11 Sep 2010 at 3:16

GoogleCodeExporter commented 9 years ago
My provider (Optus) gives public (albeit dynamic) IP addresses to mobiles which 
work great with running, e.g., SIP on the phone compared to other providers.

But if I want to run something like SIP on the tethered laptop, I'm still no 
better off than the providers that hand out RFC 1918 addresses unless some sort 
of DMZ feature is implemented.

Original comment by jeremy.v...@gmail.com on 26 Sep 2010 at 9:44

GoogleCodeExporter commented 9 years ago
Is there a gui for creating iptables rules?  

As an android app?

IMPORTANT: assume already using DroidWall

Original comment by lfu8b4sk...@spambox.us on 10 Sep 2011 at 5:05

GoogleCodeExporter commented 9 years ago
@15

Wrong. The $ 500 fee is to activate "private network" (no, not vpn) AND it does 
NOT require a business account.  private network enabled account is not a 
prerequisite for a static (public) IP address.  No one in the non-business 
"support" side is network competent to grasp this.  Find a business account 
representative. They have direct numbers and are not the FECKLESS drones with 
which most are familiar.

NOT all accounts share a public ip address via nat.

Original comment by lfu8b4sk...@spambox.us on 10 Sep 2011 at 5:11

GoogleCodeExporter commented 9 years ago
Verizon wireless DOES provide 

public dynamic IP addresses

to phones.. Yes, non-business and non-private-network lines

They can also spoof outbound number for use in soho pbx joy.  They are verizon.

805 114 4242  (pbx did)
Forwarding rule to mobile (916 114 8686)

calls from mobile show caller id 805 114 4242

This allows escape from horrifically inane carrier switch "feature" set.  Great 
for professionals and home power tinkerers

With DID SMS forwarding on the horizon carrier sms fee gouge will live in the 
past like carrier voice switch design.  

Original comment by lfu8b4sk...@spambox.us on 10 Sep 2011 at 5:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
If this question is in regards to PSN games like "call of duty" nat type set to 
strict.. I had a palm pre with MyTether app, and I was always moderate, 
sometimes open, I don't know why its different with every tethering app I have 
tried from android.. 

Original comment by fordguy...@gmail.com on 11 Dec 2011 at 1:42

GoogleCodeExporter commented 9 years ago
For those who use a mobile network to tether their connection, it is not 
possible. As stated above, most networks restrict upd ports, whilst other 
networks dont. It all depends on your provider. I use the tether function and 
have found that if you use t-mobile, your nat type maybe moderate or open (as 
was mine) but if you use other networks like hutchinson 3G, you may have a 
strict nat type. DATA SIMs can provide a better nat type as these types of sims 
are made for wifi hotspots and pointers. Unless you contact your provider, 
there is no possibility to open ports. There are android apps that are used to 
open ports but this will NOT work on a normal sim card, only a data sim

Original comment by legzd2...@gmail.com on 26 Feb 2012 at 6:47

GoogleCodeExporter commented 9 years ago
I realize this is an old thread - but wondering if there's been any progress on 
this issue.  Many seem to poo-poo the idea since most mobile carriers don't 
provide a public IP address.  But, for users like myself who connect to their 
home network over VPN, the phone's public IP address is actually a LAN IP on 
the home network (which can have any number of ports forwarded to it from the 
home router).

So, assuming a user has the ability to actually get a "public" ip address to 
the phone, but wants to forward from that point to an attached wifi device (in 
my case, a router running Gargoyle), how would said user turn on DMZ for that 
router's IP/MAC?

Original comment by erkm...@gmail.com on 26 Apr 2013 at 3:51

GoogleCodeExporter commented 9 years ago
My phone has a Static IP and my carrier does not restrict ports. I run STUN 
Client and it shows my static IP as both the Local and Public IP and says "NAT 
Type: No NAT". If I run the same program under BlueStacks using my phones 
hotspot, My Public IP is the same as my phone's, but the local IP is changed to 
10.x.x.x with "NAT Type: Port restricted Cone NAT".

DMZs feature would really add quite a lot of functionality to those of us who 
have an IP that can take advantage of it.

Original comment by Styles.V...@gmail.com on 4 Jul 2013 at 1:48

GoogleCodeExporter commented 9 years ago
All of you saying phone is not static ip is useless with the dmz and port 
forwarding is bsing. I have touch pro 2 running windows mobile 6.5. hotspot on 
Sprint 3g(NAT), I'm able to host starcraft on port 6112. However, when I launch 
android 2.3.4(haret) on the same device with hotspot enabled, I am no longer 
able to host any games. At the time, I figured it was limitation of 2.3.4 
android. Since then, I've reprogrammed an S3 with the touch pro 2's ESN and 
still cannot host any games through the android 4.1. I turn off the S3 and 
activate my old touch pro 2 and I am back to hosting game on port 6112 tcp/udp. 
Now someone, please explain why is that.

Original comment by sangraik...@gmail.com on 29 Aug 2013 at 7:04