Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Aby nawiązać połączenie Klienta z Serwerem znajdującym się za siecią NAT. wykonaj następujące kroki:

  1. Na Serwerze ustaw zasięg portów Serwera oraz publiczny adres IP routera (zobacz:

To connect the Client to the Server behind NAT, do the following:

  1. On the Server, set the port range of ports for operation and the router's public IP address (see NTServiceOpts utility).  By default, the base port is 20111, and the port range is Domyślnie port bazowy to 20111, a zasięg portów to 20111-20210.

    Note
    titleAttentionUwaga!

    The router's public IP address should be staticPubliczny adres IP routera powinien być adresem statycznym.

  2. On the router, forward the specified Server ports and the NativeBL 20109 port.

  3. Na routerze przekieruj określone porty Serwera oraz port NativeBL 20109.

  4. Uruchom Klienta, a następnie podaj zewnętrzny adres IP oraz zewnętrzny port bazowy Serwera w ustawieniach połączenia (zobacz:Launch the Client and specify the router's external IP address and the Server's external base port in the connection settings (see Uruchamianie Klienta Axxon Next).

    Note
    titleAttention!Uwaga!

    Podczas łączenia się Klienta z siecią zewnętrzną, jedynie te Serwery, które mają dostęp do sieci zewnętrzne będą dostępne w celach konfiguracji Domeny Axxon (zobacz: When connecting the Client from an external network, only those Servers that have access to the external network will be available in the Axxon domain configuration (see Konsolidowanie Serwerów z różnych sieci do Domeny Axxon).


    Note
    titleAttentionUwaga!

    In some cases, in security systems with a complex architecture W niektórych przypadkach, w systemach bezpieczeństwa o skomplikowanej architekturze (NAT, VPN), the Client may not receive events from the Server. To fix this, it is necessary to create the system variable Klient może nie otrzymywać zdarzeń z Serwera. Aby naprawić ten problem, niezbędne jest utworzenie zmiennej systemowej NGP_POLL_EVENTS and set the 1 value to it (see Appendix 10. Creating system variable, a następnie zmienienie jest wartości na 1 (zobacz: Załącznik 10. Tworzenie zmiennych systemowych).


    Note
    titleAttention!Uwaga!

    W systemach typu Failover nie jest możliwe połączenie z węzłem zlokalizowanych za NAT (zobacz: In a failover system, it is not possible to connect to the node that is behind NAT (see Nawiązywanie połączenie z Węzłem oraz Konfigurowanie Domeny Axxon).


ExamplePrzykład:

To connect the Client to the Servers behind NAT, do the following:

Aby połączyć Klienta do Serwera za siecią NAT w przykładzie, należy wykonać następujące czynności:

  1. Na Serwerze 1 ustawić zasięg portów na 20111-20210 oraz publiczny adres IP routera.
  2. Na Serwerze 2 ustawić zasięg portów na 20211-20310 oraz publiczny adres IP routera.
  3. Na Serwerze 1 ustawić zasięg portów na 20311-20410 oraz publiczny adres IP routera.
  4. Na routerze skonfigurować przekierowywanie portów:
    1. porty routera 20111-20210 oraz wewnętrzny adres IP Serwera 1 i porty 20111-20210;
    2. porty routera 20211-20310 oraz wewnętrzny adres IP Serwera 2 i porty 20211-20310;
    3. porty routera 20311-20410 oraz wewnętrzny adres IP Serwera 3 i porty 20311-20410.
  5. Podczas nawiązywania połączenia przez Klienta wpisać publiczny adres IP routera oraz porty: 20111 dla Serwera 1; 20211 dla Serwera 2; 20311 dla Serwera
  6. On Server 1, set the port range 20111-20210 and the public IP address of the router.
  7. On Server 2, set the port range 20211-20310 and the public IP address of the router.
  8. On Server 3, set the port range 20311-20410 and the public IP address of the router.
  9. On the router, configure the forwarding of:
    1. the router ports 20111-20210 to the internal IP address of Server 1 and ports 20111-20210;
    2. the router ports 20211-20310 to the internal IP address of Server 2 and ports 20211-20310;
    3. the router ports 20311-20410 to the internal IP address of Server 3 and ports 20311-20410.
  10. When connecting the Client, enter the router's public IP address and port: 20111 to connect to Server 1; port 20211 to connect to Server 2; port 20311 to connect to Server 3.