Static entry on ASA

Answered Question
Jun 18th, 2008

Hello's,

I have a ASA running 7.2.

I'm trying to issue this command:

static (inside,outside) tcp 4.1.14.10 3389 192.168.0.5 3389 netmask 255.255.255.255 0 0

And keep getting this:

ERROR: Static PAT using the interface requires the use of the 'interface' keyword instead of the interface IP address

This is my first time messing with an ASA and I'm just trying to forward any traffic on port 3389 (RDP) to 192.168.0.5.

Help?

Thanks

I have this problem too.
0 votes
Correct Answer by Jon Marshall about 8 years 5 months ago

If 4.1.14.10 is the IP address assigned to the ASA outside interface change your static statement to

static (inside,outside) tcp interface 3389 192.168.0.5 3389 netmask 255.255.255.255

Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Jon Marshall Wed, 06/18/2008 - 15:11

If 4.1.14.10 is the IP address assigned to the ASA outside interface change your static statement to

static (inside,outside) tcp interface 3389 192.168.0.5 3389 netmask 255.255.255.255

Jon

Armegeden Wed, 06/18/2008 - 15:22

Gah!

Reading the error message, I tried "outside" instead of the word "interface". Syntax error.

Anyhow, did what you said + added ACL entry and everything working great.

Thanks so much for the fast response!

Actions

This Discussion