1 Method 1 ------------------------------------------------------
3 The following config will allow the Linux machine (10.1.1.2) to read
4 the IP address from the DHCP interface on the Cisco router (eth0) as
5 user ddclient. Since ddclient is configured with a priv level of 1 it
6 cannot do anything except look at the routers stats, ip addresses,
7 etc. This should be pretty harmless even if ddclient's password were
10 This has been tested with Cisco IOS 12.1(5)T5 running on a Cisco 2621
13 Cisco Router Config (Assuming eth0 is DHCP interface)
14 -----------------------------------------------------
15 user ddclient password password
18 ip http access-class 99
21 access-list 99 permit host 10.1.1.2
24 ---------------------------------------------------
25 use=cisco, fw=10.1.1.1, if=eth0, fw-login=ddclient, fw-password=password
28 Method 2 ------------------------------------------------------
31 fw=192.168.1.1/exec/show/interfaces/CR
32 fw-skip=FastEthernet0/0