|
The NAT addresses allows to access and manage a virtual machine remotely without using a public IP address. Cloud-Bricks automatically sets up public forwarding ports specially for the SSH, RDP and HTTP protocols, so VMs can be accessed from Internet by using the Cloud Brick public IPv4 address as "gateway". However, if a virtual machine requires to open a TCP or UDP service directly in the Internet and does not have a public IP address, you may use the port forwarding mechanism. This system can map a high port (>10.000) from the Cloud Brick node Public IPv4 address to an internal port in the virtual machine. Example with MySqlFor example, if we wish to make public the port 3306 in Internet (MySQL database) of a virtual machine that does not have a public IP address, but has an IPv4 NAT address.
To do this, make sure that the MySQL service is running on port
3306, and give grant privileges to specific users from a remote host
with the command in SQL Console:
GRANT <privileges> ON *.* TO 'user'@'%' IDENTIFIED BY 'password'; Configure Port ForwardingNavigate to "Firewall>Port Forwarding" on the left menu. ![]()
![]()
Remote AccessTo access a Port Forwarded service, you must use the hostname and port listed in the "Source" column of the port forwarding table.
![]() Important requirements
|
Contents
• Example with MySql• Configure Port Forwarding• Remote Access• Important requirements |