Skip to content

Direct Connection

Direct Connection is a connector for connecting a standalone server through a direct connection without VPN tunneling. Traffic is routed directly from the MaxProtocol gateway to the remote server, for example via SSH or HTTPS.

When to Use

Use Direct Connection if:

  • The resource is in the cloud with a public IP address
  • Full traffic isolation via VPN is not required
  • The remote server does not support installing OpenVPN
  • You need to quickly connect a resource without additional configuration on its side

TIP

For On-Premises networks with strict traffic filtering, use OpenVPN XOR Tunnel — it provides a higher level of protection and traffic obfuscation.

Creating a Connection

Step 1 — Select a Connector

In the gateway context menu , select Add Tunnel. In the Select Connection Type dialog, choose Direct Connection and click Continue.

Select connection type

Step 2 — Fill in the Form

Direct connection creation form

FieldDescription
Tunnel nameName for identification in the interface (e.g., GitLab Cloud)
Gateway IP addressPublic IP of the MaxProtocol gateway — filled automatically (e.g., 199.247.12.202)
Remote server IP addressPublic IPv4 address of the remote server
TCP portsList of TCP ports to forward (e.g., 53, 80, 443-450)
UDP portsList of UDP ports to forward (e.g., 53)

NOTE

Only specify ports that are actually used by services on the remote server. This reduces potential security risks.

Click Apply to save the connection.

Existing Connection Parameters

For an already created connection, the context menu provides a Manage option, which displays all parameters:

Direct connection parameters

FieldDescription
Connection nameConnection name
Gateway public IP addressMaxProtocol gateway address (read-only)
Remote server public IP addressRemote server address
Remote server private IP addressInternal address in the network subnet (read-only, assigned automatically)
TCP / UDP portsOpen ports for traffic forwarding

Managing the Connection

The tunnel context menu provides:

  • Manage — view and edit connection parameters
  • Delete Tunnel — remove the connection from the gateway