IOS as a simple web server

Unanswered Question
Sep 2nd, 2010
User Badges:

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
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Javier Henderson Thu, 09/02/2010 - 09:50
User Badges:
  • Cisco Employee,

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.


Actions

This Discussion

Related Content