05-26-2002 09:19 AM - edited 03-01-2019 09:52 PM
Hi,
Let's say I have a public address of 150.10.10.1/16 on a isdn link for my internet connection, and i have a server on 192.168.111.1 on the e0 interface. Everything is configured and I can go on the internet from the server. Now I want users from the internet to reach my server, do I have to configure Nat ? If so, what would I have to type in?
05-26-2002 01:45 PM
Totally depends on what you mean by 'want users from the internet to reach my server'
For SMTP you can do:
ip nat inside source static tcp 192.168.111.1 25 routers_public_ip 25 extendable
HTH,
MB
05-27-2002 11:26 PM
or tie it to your dialer interface if you have a dynamic address
05-29-2002 07:52 AM
The easiest way will be to put the following nat statement:
ip nat inside source static x.x.x.x(inside server ip ) x.x.x.x( outside address on router internet users need to hit - part of your 150.10.10.x address space )
Obviously ip nat inside and ip nat outside on appropraiate interfaces.
Advise you put a decent access-list on to limit access inbound
Cheers
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