10-11-2007 06:50 AM - edited 03-03-2019 07:07 PM
I am attempting to setup a basic PAT configuration on a 871. Is it possible to do this on a router that has a dynamic external IP address? Can anyone give me some feedback on how to make a PAT entry to send a specific port to an internal host?
10-11-2007 07:29 AM
Basically, there is not much too it:
int fa0
ip nat inside
int fa1
ip nat outside
ip nat inside source static tcp 10.1.1.1 80
The only catch is that you need to reconfigure the router when the dynamic ip changes.
regards,
Leo
10-11-2007 08:37 AM
So there is no way to set this up one time and not have to re-configure the nat statement everytime the dynamic IP changes?
10-12-2007 02:47 AM
Hi
if you are using dialer, you can do it with "overload" and it doesnt matter if the ip changes:
access-list 101 permit ip 192.168.1.0 0.0.0.255 any
ip nat inside source list 101 interface Dialer1 overload
and of course dont forget the nat inside outside commands.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide