[rbak-nsp] NAT Logging

Golem golem at mtm-info.pl
Wed Oct 30 09:58:12 EDT 2013


Hello

Im trying to setup NAT logging, this is how my config looks:

context routerek


 nat logging-profile LogowanieNAT
  transport-protocol udp
  export-version v9
  source 11.0.0.33 port 5000
  destination 11.0.0.1 port 5000


 ip nat pool ip_test_lan1_nat napt multibind logging
  logging-profile LogowanieNat
  address 178.214.29.1/32 port-block 1 to 15
  address 178.214.29.2/32 port-block 1 to 15


  nat policy ip_test_lan1_nat_policy enhanced
! Default class
  pool ip_test_lan1_nat routerek
  timeout tcp 18000
  inbound-refresh udp
  icmp-notification
!
 interface loop1 loopback
  ip address 11.0.0.33/27
   ip source-address radius flow-ip
 no logging console
!
!
....
(config truncated)



NAT does work , there is internet access etc, but collector 11.0.0.1 (linux)
not receiving any packets on port 5000, tcpdump doesn't show anything.
How to debug Nat logging ? debug nat all - doesn't show anything useful about logging.
Do I need setup some additional config like flow collector/flow profile for nat logging 
to make it working ?

Rafal






More information about the redback-nsp mailing list