Settings and management [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
en:dpi:opt_cgnat:сgnat_settings [2026/02/03 07:52] – [Table] elena.krasnobryzhen:dpi:opt_cgnat:сgnat_settings [2026/02/03 07:53] (current) – [Parameters and possible values] elena.krasnobryzh
Line 79: Line 79:
 | ''nat_tcp_max_sessions''\\ integer  | The maximum number of TCP sessions a subscriber can create.\\ Default: 2000.                                                                      | | ''nat_tcp_max_sessions''\\ integer  | The maximum number of TCP sessions a subscriber can create.\\ Default: 2000.                                                                      |
 | ''nat_udp_max_sessions''\\ integer  | The maximum number of UDP sessions a subscriber can create.\\ Default: 2000.                                                                      | | ''nat_udp_max_sessions''\\ integer  | The maximum number of UDP sessions a subscriber can create.\\ Default: 2000.                                                                      |
-| ''nat_type''\\ integer              | Sets the type of profile.\\ Choices:\\ ''0'' --- CGNAT;\\ ''1'' --- NAT 1:1.                                                                      |+| ''nat_type''\\ integer              | Sets the type of profile.\\ Choices:\\ ''0'' — CGNAT;\\ ''1'' — NAT 1:1.                                                                      |
 | ''nat_ports''\\ string              | The range of ports used for translation on external addresses.\\ Default: 1024-65535.                                                             | | ''nat_ports''\\ string              | The range of ports used for translation on external addresses.\\ Default: 1024-65535.                                                             |
  
-^  fastdpi.conf parameters                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ||+^  fastdpi.conf parameters                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           ^^
 ^  Parameter                                          Value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ^ ^  Parameter                                          Value                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         ^
 | ''nat_max_profiles''\\ integer                     | Maximum number of profiles with pool parameters.\\ Default: 4.\\ Max: 65000 (if sufficient RAM is available).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ''nat_max_profiles''\\ integer                     | Maximum number of profiles with pool parameters.\\ Default: 4.\\ Max: 65000 (if sufficient RAM is available).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
-| ''nat_exclude_private''\\ integer                  | Excludes NAT conversion if both addresses are private.\\ Choices:\\ ''0'' — off ← (default).\\ ''1'' — Not doing NAT for private addresses (ip_src и ip_dst --- private or in nat_private_cidr).\\ ''2'' — ip_src — private subject to nat_private_cidr and AS for dst_ip = local.\\ ''4'' — ip_src — private subject to nat_private_cidr and AS for dst_ip = peer.                                                                                                                                                                                                                                                                                                                                                                                            |+| ''nat_exclude_private''\\ integer                  | Excludes NAT conversion if both addresses are private.\\ Choices:\\ ''0'' — off ← (default).\\ ''1'' — Not doing NAT for private addresses (ip_src и ip_dst — private or in nat_private_cidr).\\ ''2'' — ip_src — private subject to nat_private_cidr and AS for dst_ip = local.\\ ''4'' — ip_src — private subject to nat_private_cidr and AS for dst_ip = peer.                                                                                                                                                                                                                                                                                                                                                                                            |
 | ''nat_private_cidr''\\ string                      | Specifies additional private address ranges in addition to the standard ranges((Standard ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10)).\\ Max: 4 ranges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  | | ''nat_private_cidr''\\ string                      | Specifies additional private address ranges in addition to the standard ranges((Standard ranges: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 100.64.0.0/10)).\\ Max: 4 ranges.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
 | ''lifetime_flow''\\ integer                        | Specifies the short queue time in seconds for TCP SYN, FIN, UDP.\\ Default: 60.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | | ''lifetime_flow''\\ integer                        | Specifies the short queue time in seconds for TCP SYN, FIN, UDP.\\ Default: 60.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |