Needs Help With Port Forwarding Behind Dynamic IP

Answered Question
May 5th, 2008
User Badges:

Hello. Most all of the forums I've seen over anything relating to port forwarding has been for a static IP. I've tried the command in mine with a dynamic IP, but changed the 2nd half of the command from what source static IP address and port, to "int Dialer 1" and then the port. This still did not work for me. Anyone know how to properly open up a port to a private IP computer behind Dynamic IP DSL ?


Thank you,

Mark

Correct Answer by asfar.zaidi about 9 years 2 months ago

Hi Mark


ip nat inside source static tcp 192.168.200.15 3389 interface dialer0 3389


Regards/Asfar

Correct Answer by paolo bevilacqua about 9 years 2 months ago

eg:

ip nat inside source static tcp 10.0.97.2 80 interface FastEthernet4 800


Hope this helps, please rate post if it does!


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Correct Answer
paolo bevilacqua Mon, 05/05/2008 - 05:29
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

eg:

ip nat inside source static tcp 10.0.97.2 80 interface FastEthernet4 800


Hope this helps, please rate post if it does!


Correct Answer
asfar.zaidi Mon, 05/05/2008 - 06:44
User Badges:

Hi Mark


ip nat inside source static tcp 192.168.200.15 3389 interface dialer0 3389


Regards/Asfar

sandman420 Mon, 05/05/2008 - 07:03
User Badges:

Are you sure it is dialer0 and not dialer1? Even so, dialer1 is the one that has my ip address from my provider, but I already have one of those setup and doesn't work... is dialer0 something totally different or were you just suggesting that maybe the int that is being used is dialer0 and not dialer1?


Thanks,

Mark

paolo bevilacqua Mon, 05/05/2008 - 07:22
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Youre' being provided with examples. Interface must be the one that has ip nat outside.


Then if doesn't work, it can be for example you're forwarding port 80 but have not shutdown IOS web server.

sandman420 Mon, 05/05/2008 - 07:55
User Badges:

I figured was just example. Anyway...yes, I have that command put in the router and it still isn't forwarding the port correctly. It is for VNC server on my computer and port forwarding is 410xx...nothing else should be running on that. I've been using that port number for a while now. What gives?

paolo bevilacqua Mon, 05/05/2008 - 08:11
User Badges:
  • Super Gold, 25000 points or more
  • Hall of Fame,

    Founding Member

Any ACL on the router ?

If tcp, if you do telnet x.x.x.x 410xx from router, does the connection opens ?

sandman420 Tue, 05/06/2008 - 05:30
User Badges:

Well, I'm not sure what happened here. The correct command I needed (and typed the first time I tried this) is:


ip nat inside source static tcp X.X.X.X 410XX interface Dialer1 410XX


I went back in my config and that command wasn't in there for some reason...so I did it again and checked a second time in config and it was there. Tested it out and everything good.


Thanks for everyone's time.

Actions

This Discussion