Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Cannot reach inside web-server from inside

I tried to solve this with the alias command, but it doesn't work.

Can anyone help me? works finde. But not.

Some informations:

DNS: external from ISP

web-server: (lan-sbs03)

reachable from outside with the ip:


PIX Version 6.1(4)

nameif ethernet0 outside security0

nameif ethernet1 inside security100

enable password xyz encrypted

passwd xyz encrypted

hostname firewall

domain-name xyz

fixup protocol ftp 21

fixup protocol http 80

fixup protocol h323 1720

fixup protocol rsh 514

fixup protocol rtsp 554

fixup protocol smtp 25

fixup protocol sqlnet 1521

fixup protocol sip 5060

fixup protocol skinny 2000


name lan-sbs01

name lan-sbs03

name out_interface

access-list outside_access_in permit tcp any host out_interface eq www

pager lines 24

logging on

logging buffered debugging

interface ethernet0 auto

interface ethernet1 auto

interface ethernet2 auto

icmp deny any echo outside

mtu outside 1500

mtu inside 1500

ip address outside out_interface

ip address inside

ip audit info action alarm

ip audit attack action alarm

pdm location lan-sbs01 inside

pdm location inside

pdm location lan-sbs03 inside

pdm history enable

arp timeout 14400

global (outside) 1 interface

nat (inside) 1 0 0

alias (inside) lan-sbs03 out_interface

static (inside,outside) tcp interface www lan-sbs03 www netmask

5 0 0

access-group outside_access_in in interface outside

route outside 1

timeout xlate 3:00:00

timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 rpc 0:10:00 h323 0:05:00 si

p 0:30:00 sip_media 0:02:00

timeout uauth 0:05:00 absolute

aaa-server TACACS+ protocol tacacs+

aaa-server RADIUS protocol radius

http server enable

http lan-sbs01 inside

http inside

no snmp-server location

no snmp-server contact

snmp-server community public

no snmp-server enable traps

floodguard enable

no sysopt route dnat

telnet timeout 5

ssh timeout 5

terminal width 80

New Member

Re: Cannot reach inside web-server from inside

I don't think you can do dns doctoring when using a PAT on the outside interface.

Normally, when using a NATted external address a you can set a static NAT mapping from the outside address to the inside address and limit the access to just the port through the ACL, then the pix sees a DNS reply coming back in for the external address, and alters it to point to your internal address.

You could try putting host table entries on your internal client devices, if there isn't too many.


New Member

Re: Cannot reach inside web-server from inside

Thx for the quick answer, but I cannot use host table entries because some of the users using notebooks. So they want sometimes have access from inside, sometimes from outside.

Any other solutions?

New Member

Re: Cannot reach inside web-server from inside

Do you run DNS internally? if so you could add an alias for www for the internal machine name

New Member

Re: Cannot reach inside web-server from inside

or maybe it could be done on a proxy server's host table, if you have one?

New Member

Re: Cannot reach inside web-server from inside

If you can not do DNS Doctoring, try using DNAT... it's similar to DNS doctoring, except you swap the locations of the addresses in your command...

New Member

Re: Cannot reach inside web-server from inside

Since you prefer not to use hosts files, you may want to consider running a DNS server internally that is only accessible for your inside users. You could even make it serve your internal users for your domain information only.

BIND 9 on Linux is one convenient way to do this.

CreatePlease to create content