Single Public to use in NAT

Answered Question
Dec 11th, 2007
User Badges:
  • Silver, 250 points or more

I have a single public IP address that I have assigned to my outside interface and I would like to NAT that IP to an internal server. Could I do this?

interface GigabitEthernet0/0

description Facing the Internet

speed 100

duplex full

nameif outside

security-level 0

ip address public_address

global (outside) 1 public_address

static (inside,outside) public_address internal_address

Correct Answer by acomiskey about 9 years 7 months ago

You got it!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
acomiskey Tue, 12/11/2007 - 07:56
User Badges:
  • Green, 3000 points or more

Yes. But one small correction.


static (inside,outside) interface internal_address

Tshi M Tue, 12/11/2007 - 09:03
User Badges:
  • Silver, 250 points or more

acomiskey,


Since I have more than one interface and the outside interface is named WORLD. See below


nameif ethernet5 QA security 50

nameif ethernet6 WORLD security6


should I use

static (QA,WORLD)interface internal_address

Correct Answer
acomiskey Tue, 12/11/2007 - 09:33
User Badges:
  • Green, 3000 points or more

You got it!

Actions

This Discussion