====== NAT Flow Configuration ====== {{indexmenu_n>6}} There are 3 ways to generate a NAT log in QoE Stor (statistics server) \\ 1. Receive NAT Flow in a separate flow with DPI. To do this, you need to configure the DPI on the device [[en:dpi:opt_cgnat:log:start#export_nat_flows_in_ipfix_netflow_10|export of broadcasts to external collectors]]; \\ 2. Get NAT Flow from Netstream third party systems (non DPI); \\ 3. Form NAT Flow from FullFlow using QoE Stor/ ===== Configuring receiving a separate NAT Flow with DPI or NETSTREAM ===== - Go to: Main Menu -> Administrator -> QoE Stor Server Configuration -> QoE Stor Server Configuration. \\ {{:dpi:dpi_components:dpiui:uгser_guide:qoe_analytics:natflow:way_to_receive:main_menu.png?700|}} \\ - Go to the "Receivers" section; add a new receiver; select "Receiver type" - NAT Flow; fill in the form for adding a receiver and click the "Apply" button; \\ {{:dpi:dpi_components:qoestor:configuration:nat_flow:receiver.png?1000|}} \\ - Go to the section of the form "NAT log settings" \\ - Enable populate IP-LOGIN binding from fullflow (FILL_IP_LOGIN_BINDING_FROM_FULLFLOW); \\ - Enable adding LOGIN to NAT log from binding IP-LOGIN (NAT_ADD_LOGIN_FROM_IP_LOGIN_BINDING). \\ {{:dpi:dpi_components:qoestor:configuration:nat_flow:netstream_ip.png?1000|}} ===== Enabling import of NAT events from FullFlow ===== To enable import of events from FullFlow transmitted from DPI to QoE Stor: \\ - Go to: Main Menu -> Administrator -> QoE Stor Server Configuration -> QoE Stor Server Configuration; \\ {{:dpi:dpi_components:dpiui:uгser_guide:qoe_analytics:natflow:way_to_receive:main_menu.png?700|}} \\ - Import NAT events from fullflow (NAT_IMPORT_FROM_FULLFLOW) - Enable. {{:dpi:dpi_components:qoestor:configuration:nat_flow:right_enable.png?1000|}} \\ ===== NAT Flow aggregation ===== Go to: Main Menu -> Administrator -> QoE Stor Server Configuration -> QoE Stor Server Configuration; \\ {{:dpi:dpi_components:dpiui:uгser_guide:qoe_analytics:natflow:way_to_receive:main_menu.png?700|}} \\ Select "NAT log settings" -> Select fields to save during NAT log aggregation, Log filling time interval (15 minutes by default); \\ {{:en:dpi:dpi_components:qoestor:configuration:nat_flow:true_agregation.png?nolink&1000|}} Save changes and restart the service.