Link to home
Start Free TrialLog in
Avatar of parmjit80
parmjit80

asked on

Pix - using interface name in access-list commands instead of ip

Hi Cisco PIX newbie here so bare with me.

In the following command:

access-list acl_out permit tcp any host 192.168.0.152 eq 5878

I'd like to replace the ip "192.168.0.152" with just the interface name "outside".  This is because the  ip might change whereas the interface name will always stay the same.  How do I go about doing this?  I've tried:

 access-list acl_out permit tcp any host outside eq 5878

but it didn't work.

Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Les Moore
Les Moore
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of parmjit80
parmjit80

ASKER

thanks!