Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:сgnat_settings [2017/09/20 11:44] – vasexperts | en:сgnat_settings [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | For CGNAT activation use service 11. | ||
- | |||
- | Create named profile fo 11 service that defines CGNAT IP pool parameters: | ||
- | < | ||
- | fdpi_ctrl load profile --service 11 --profile.name test_nat --profile.json '{ " | ||
- | </ | ||
- | here\\ | ||
- | nat_ip_pool - exernal (white) IP adresses in CIDR\\ | ||
- | nat_tcp_max_sessions - maximum number of TCP session that subscriber can create\\ | ||
- | nat_udp_max_sessions - maximum number of UDP session that subscriber can create | ||
- | |||
- | Activate 11 service to subscriber with named profile (assign the pool with pareameters above) | ||
- | < | ||
- | fdpi_ctrl load --service 11 --profile.name test_nat --ip 192.168.0.1 | ||
- | or | ||
- | fdpi_ctrl load --service 11 --profile.name test_nat --login test_subs | ||
- | </ | ||
- | |||
- | Additional in global parameters / | ||
- | nat_ports=1024-65535 - port range using for NAT translation on external (white) IP addreses (default value is in example)\\ | ||
- | max_nat_profiles=24 - maximum number of named profiles with CGNAT pool parameters (allowed maximum parameter value 65000, server memory also limit this parameter) | ||
- | |||