Static NAT

Unanswered Question
Jul 18th, 2008

Hi,

I want to perform static NAT for multiple source IP address to a single IP address, how can I perform that or is that possible and what is the alternative.

Thanks in advance.

Yamin

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (1 ratings)
Loading.
dhananjoy chowdhury Fri, 07/18/2008 - 07:11

Hi,

Which device are you using?

Are you going to NAT the internal LAN with a single Public IP to access Internet ?

Or you want to allow access from Internet to your multiple DMZ servers with a single Public ip?

yaminqureshi Tue, 07/22/2008 - 04:32

Hi,

I want to translate destination IP address on the outside interface (i.e the connection is initiated from outside and the destination is the internal IP address), i want to perform one to one translation.

Can someone tell me how can i perform that.

Thanks

Yamin

Marwan ALshawi Tue, 07/22/2008 - 04:47

lets say u have ouside ip 1.1.1.1 and ur internal is 192.168.1.1

so u do

ip nat source static 192.168.1.1 1.1.1.1

interface x (insideinterface)

ip nat inside

interface (ouside one)

ip nat outside

let me if u want anything

rate if helpful

yaminqureshi Tue, 07/22/2008 - 05:31

Hi,

Thanks for the reply.

I want to perform NAT on destination IP address

lets say destination IP address hitting external interface is 1.1.1.1 and I want to translate that to 192.168.1.1.

How can I perform that.

Thanks

Yamin

Marwan ALshawi Tue, 07/22/2008 - 05:39

ok the config i have sent it to u achive what u want

but this will translate any connection to the 1.1.1.1 will be translated to 192.168.1.1

if u want spesific port to be translated

use the following comand which is called port forwarding

ip nat inside source static tcp 80 192.168.1.1 1.1.1.1 80

and apply this to the outside interface

ip nat outside

and this on the inside interface

ip nat inside

HTH

Actions

This Discussion