How to allow a host on DMZ to access Internet?


I have a server on the DMZ with the ip-address What is the command to allow this host to access the internet?

As soon as I add some permitrules on the DMZ interface, the implicit rule disappears (Permit all traffic to lower security networks).
If I add this command:
access-list dmz_access_in extended permit object-group all host host any

The rule will also allow the server to access the inside hosts, how do I allow only the server to access the Internet??

Who is Participating?
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.

pls try below, hope will help little.

what is your lan network ip? change x.x.x.x with your lan network
add below in sequence:

access-list dmz deny ip host x.x.x.x
access-list dmz permit ip host any
ideonitAuthor Commented:
Lan network is

Ok, but if I deny the host to the lan network, will I be able to connect from lan -> dmz ?
Or will the deny-rule deny all traffic from the dmz host to the lan?

I would like to be able to connect from lan to dmz, but not from dmz to lan.

yes, so must add another one on top as below. not sure if it works, let me check again, try and update me.

access-list internal permit ip host
access-list dmz deny ip host
access-list dmz permit ip host any

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
ideonitAuthor Commented:
That worked!!
Thank you for your help! :=)
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

From novice to tech pro — start learning today.