cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
419
Views
0
Helpful
1
Replies

forwarding webserver with dymanic public ip

erickperez1981
Level 1
Level 1

Hello,

 

This works fine if my public IP is static:

ip nat inside source static <public_ip> 80 <internal_server_ip> 80

But my public IP is dynamic. How can i config my router to any public IP access to my internal webserver?

 

Thanks!

1 Reply 1

Jon Marshall
Hall of Fame
Hall of Fame

Isn't that statement the wrong way round ie. the internal server IP should be first ?

Anyway replace the public IP with "interface <x/y>" where the interface is the one with the public IP.

Jon