Skip to main content

Network Configuration

Network configuration is important for TAKAKRYPT services to run well, both in communication between internal modules and with external systems.

Prerequisites​

Before deploying TAKAKRYPT, you need to prepare the following network configurations:

  • Static IP Address
    Use a static IP address to keep the connection consistent and avoid unexpected routing changes. On the VM appliance, you choose DHCP or a static IP address (with gateway and DNS) during the initial setup.

  • Port Access
    Make sure all required ports are allowed on the firewall. The list of required ports can be found in the next section.

  • Domain or Hostname
    Use a properly configured domain or hostname to make system access easier and to support SSL/TLS certificates. On the VM appliance, the initial setup asks whether the application is reached by IP address or by domain/FQDN. If you choose FQDN, point the domain's DNS to the server's IP address first.

  • Secure Connection (HTTPS)
    Enable the HTTPS protocol with an SSL/TLS certificate so that all data communication is encrypted.

  • Internal Communication
    Make sure all system components, including backend services and agents, can connect to each other through an internal network or VPN.

  • Firewall & Security Group
    Apply access restrictions by opening only the required ports and limiting access sources based on the principle of least privilege.

  • DNS Resolution
    Make sure the DNS service can resolve hostnames between services, especially in container-based environments such as Docker.


Required Ports​

The following is a list of default ports to open on the firewall so TAKAKRYPT services run properly:

PortProtocolServiceDescription
80TCPHTTPRedirect to HTTPS (443)
443TCPHTTPSSecure access to the web dashboard
25 / 465 / 587TCPSMTPEmail notification port, adjusted to the mail server configuration

Ports for a Cluster​

If you run TAKAKRYPT as a cluster (see High Availability), the nodes also need to reach each other on this port:

PortProtocolServiceDescription
6222TCPNATSRoute connections between NATS cluster nodes

Open it between the cluster nodes only, and limit the source to the addresses of the other nodes.

Ports That Stay Internal​

Ports 4222 (NATS client connections) and 8222 (NATS HTTP monitoring) are not meant to be reached from the network, so don't open them on the firewall. These ports are for internal communication between services. The installer doesn't set up a firewall, and Docker can publish ports past the host firewall rules, so block these ports yourself at the network edge. Also block 3000, 3100, and 9099 from outside, and allow 6222 only between cluster nodes.