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

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

IOS as a simple web server

Dear Community!

I would like to use a Cisco router as simple web-server hosting an automatic proxy configuration script file. Is is possible to configure HTTP AAA to allow access without username / password authentication?

See the test configuration below:

!
aaa new-model
aaa authentication login CISCO_HTTP_AUTH none
aaa authorization exec CISCO_HTTP_AUTH none
aaa authorization commands 15 CISCO_HTTP_AUTH none
!
access-list 99 permit host [***Host IP***]
!
ip http server
ip http access-class 99
ip http authentication aaa login-authentication CISCO_HTTP_AUTH
ip http authentication aaa exec-authorization CISCO_HTTP_AUTH
ip http authentication aaa command-authorization 15 CISCO_HTTP_AUTH
no ip http secure-server
ip http path flash:
!

Router#dir
Directory of flash:/

    1  -rw-    22855564                    <no date>  [*** IOS Image ***]

     2  -rw-        3877   Sep 2 2010 13:15:09 +02:00  ipproxy

33030140 bytes total (10170568 bytes free)
Router#

Thanks in advance!

Regards

Belabacsi

1 REPLY
Cisco Employee

Re: IOS as a simple web server

Define an authentication method using "none" then apply it to the http authentication configuration.

e.g.

aaa authentication login example none

!

ip http authentication aaa login-authentication example

Please be aware of the security implications of this.


980
Views
0
Helpful
1
Replies