cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
305
Views
0
Helpful
3
Replies

Nat configuration

p00j
Level 1
Level 1

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?

3 Replies 3

mbellears
Level 1
Level 1

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

or tie it to your dialer interface if you have a dynamic address

roger.jones
Level 1
Level 1

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