cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1396
Views
0
Helpful
1
Replies

IOS as a simple web server

Bela Mareczky
Level 1
Level 1

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 1

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.


Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: