Both sides previous revisionPrevious revisionNext revision | Previous revision |
en:dpi:opt_cgnat:сgnat_settings [2024/10/31 10:52] – [Table] elena.krasnobryzh | en:dpi:opt_cgnat:сgnat_settings [2025/08/11 10:39] (current) – [NAT 1:1] elena.krasnobryzh |
---|
| {{tag>Services "Service 11" NAT CG-NAT}} |
====== Settings and management ====== | ====== Settings and management ====== |
{{indexmenu_n>2}} | {{indexmenu_n>2}} |
| |
<note>When specifying a range of external IP addresses, you can specify one or more ranges separated by commas; [[en:dpi:faq:cgnat|also you can dynamically add additional ranges to a previously created pool]].\\ | <note>When specifying a range of external IP addresses, you can specify one or more ranges separated by commas; [[en:dpi:faq:cgnat|also you can dynamically add additional ranges to a previously created pool]].\\ |
You can exclude reserved addresses from the range (according to the classless addressing convention, these are gateway and broadcast addresses) by adding the "~" symbol to the range definition at the end of the ''cidr'' definition, for example ''5.200.43.0/24~''.</note> | You can exclude reserved addresses from the range (according to the classless addressing convention, these are gateway and broadcast addresses) by adding the "~" symbol to the range definition at the end of the ''cidr'' definition, for example ''5.200.43.0/24~''.\\ :!: Temporary restriction: each of the individual pools in the total pool list must contain at least as many public addresses as the number of worker threads.</note> |
| |
===== NAT 1:1 ===== | ===== NAT 1:1 ===== |
| |
<note>When specifying a range of external IP addresses, you can specify one or more ranges separated by commas; [[en:dpi:faq:cgnat|also you can dynamically add additional ranges to a previously created pool]].\\ | <note>When specifying a range of external IP addresses, you can specify one or more ranges separated by commas; [[en:dpi:faq:cgnat|also you can dynamically add additional ranges to a previously created pool]].\\ |
You can exclude reserved addresses from the range (according to the classless addressing convention, these are gateway and broadcast addresses) by adding the "~" symbol to the range definition at the end of the cidr definition, for example 5.200.43.0/24~\\ :!: Temporary restriction: each of the individual pools in the total pool list must contain at least as many public addresses as the number of worker threads.</note> | You can exclude reserved addresses from the range (according to the classless addressing convention, these are gateway and broadcast addresses) by adding the "~" symbol to the range definition at the end of the ''cidr'' definition, for example ''5.200.43.0/24~''.</note> |
| |
===== NAT Service Management ===== | ===== NAT Service Management ===== |
| ''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). | |