ASA5505 port forwarding

I'm trying to configure the ASA for internet access to our phone server.  These are the lines I'm trying to input.
object network obj-phone-server
host phone-server
nat (inside,outside) static interface service tcp 80 80
exit

I'm getting this
phone-server(config)# nat (inside,outside) static interface service tcp 80 80
                                                             ^
ERROR: % Invalid input detected at '^' marker.

What is wrong?

Thanks,
Brooks
gbnortonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Benjamin Van DitmarsSr Network EngineerCommented:
What version IOS are you using looks like youre 8.3 or higher. if so cisco changed the way of write
nat rules. it now like this

nat (inside,outside) static interface service tcp www www
access-list outside_in extended permit tcp any object obj-phone-server eq www


Benjamin

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Pete LongTechnical ConsultantCommented:
The error is pointing to the interface name?

Is your outside interface called outside (all lower case)?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Cisco

From novice to tech pro — start learning today.