Hiện tại em đã cấu hình con ASA send syslog message đến một máy có cài kiwi syslog server. Cấu hình ASA như sau :
hostname ******
domain-name ******
enable password tnlAVbMupP5foFMn encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Ethernet0/0
nameif internet
security-level 0
ip address 192.168.1.1 255.255.255.0
!
interface Ethernet0/1
nameif lan
security-level 100
ip address 10.0.0.137 255.255.255.0
!
interface Ethernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface Ethernet0/3
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
nameif management
security-level 100
ip address 192.168.10.1 255.255.255.0
!
ftp mode passive
dns domain-lookup lan
dns server-group DefaultDNS
name-server 10.0.0.2
domain-name vn.ong-ong.com
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object-group service BasicInternet tcp
description Truy cap Internet
port-object eq 5050
port-object eq 5150
port-object eq aol
port-object eq www
port-object eq https
port-object eq imap4
port-object eq pop3
port-object eq smtp
port-object eq ftp
object-group icmp-type ICMP
description Ping, tracert
icmp-object echo
icmp-object echo-reply
icmp-object traceroute
object-group service DM_INLINE_UDP_1 udp
port-object eq domain
port-object eq syslog
access-list lan_access_in extended permit udp 10.0.0.0 255.255.255.0 any object-group DM_INLINE_UDP_1
access-list lan_access_in extended permit tcp 10.0.0.0 255.255.255.0 any object-group BasicInternet
pager lines 24
logging enable
logging emblem
logging asdm informational
logging host lan 10.0.0.100
logging debug-trace
mtu internet 1500
mtu lan 1500
mtu management 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-524.bin
asdm history enable
arp timeout 14400
nat-control
global (internet) 1 192.168.1.10-192.168.1.200 netmask 255.255.255.0
nat (lan) 1 10.0.0.0 255.255.255.0
access-group lan_access_in in interface lan
route internet 0.0.0.0 0.0.0.0 192.168.1.2 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
http server enable
http 192.168.10.6 255.255.255.255 management
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet timeout 5
ssh timeout 5
console timeout 0
tftp-server lan 10.0.0.100 /backupasa
Nhưng đứng tại máy có cài kiwi syslog server vẫn không thấy được message. Mọi người có thể xem giúp em đã cấu hình đúng chưa. Xin cảm ơn
hostname ******
domain-name ******
enable password tnlAVbMupP5foFMn encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Ethernet0/0
nameif internet
security-level 0
ip address 192.168.1.1 255.255.255.0
!
interface Ethernet0/1
nameif lan
security-level 100
ip address 10.0.0.137 255.255.255.0
!
interface Ethernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface Ethernet0/3
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
nameif management
security-level 100
ip address 192.168.10.1 255.255.255.0
!
ftp mode passive
dns domain-lookup lan
dns server-group DefaultDNS
name-server 10.0.0.2
domain-name vn.ong-ong.com
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
object-group service BasicInternet tcp
description Truy cap Internet
port-object eq 5050
port-object eq 5150
port-object eq aol
port-object eq www
port-object eq https
port-object eq imap4
port-object eq pop3
port-object eq smtp
port-object eq ftp
object-group icmp-type ICMP
description Ping, tracert
icmp-object echo
icmp-object echo-reply
icmp-object traceroute
object-group service DM_INLINE_UDP_1 udp
port-object eq domain
port-object eq syslog
access-list lan_access_in extended permit udp 10.0.0.0 255.255.255.0 any object-group DM_INLINE_UDP_1
access-list lan_access_in extended permit tcp 10.0.0.0 255.255.255.0 any object-group BasicInternet
pager lines 24
logging enable
logging emblem
logging asdm informational
logging host lan 10.0.0.100
logging debug-trace
mtu internet 1500
mtu lan 1500
mtu management 1500
icmp unreachable rate-limit 1 burst-size 1
asdm image disk0:/asdm-524.bin
asdm history enable
arp timeout 14400
nat-control
global (internet) 1 192.168.1.10-192.168.1.200 netmask 255.255.255.0
nat (lan) 1 10.0.0.0 255.255.255.0
access-group lan_access_in in interface lan
route internet 0.0.0.0 0.0.0.0 192.168.1.2 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
http server enable
http 192.168.10.6 255.255.255.255 management
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet timeout 5
ssh timeout 5
console timeout 0
tftp-server lan 10.0.0.100 /backupasa
Nhưng đứng tại máy có cài kiwi syslog server vẫn không thấy được message. Mọi người có thể xem giúp em đã cấu hình đúng chưa. Xin cảm ơn
Comment