Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm using iPhone as a modem.

Is there a way to port forward to my computer because I'm using it as a development server.

share|improve this question

migrated from superuser.com Mar 1 '11 at 9:04

This question came from our site for computer enthusiasts and power users.

    
This isn't really about computer hardware or software –  MaQleod Mar 1 '11 at 2:27
    
Jailbroken? Then certainly. Not jailbroken? Probably not. –  user588 Mar 1 '11 at 9:08
add comment

1 Answer 1

When using your iPhone as a modem, I don't believe your iPhone does NAT, so I don't think port forwarding should be necessary. Or, it may be that your wireless carrier is doing NAT on their router, so you won't be able to do port forwarding because you don't control the NAT gateway. For instance, I know that wireless carrier O2 in the UK does NAT on their own router, so all their wireless data customers are behind NAT.

What IP address does your Mac get on its interface that's connected to the iPhone?
What does the output of traceroute google.com look like?
What IP address is reported by services like http://www.whatismyip.com/ ?

Even if it turns out that you're behind your carrier's NAT, you might be able to connect back into your development server if you use MobileMe's Back To My Mac feature to advertise the services you want to connect to. Back To My Mac automatically handles many NAT traversal problems.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.