Port Forwarding

You can skip this step if either:

  1. You’re using a tunneling solution or

  2. You want to access your antlets only from within your local LAN / WiFi.

If, on the other hand, you want to access the web software you’ve installed in your antlets from the world and you do not use a tunneling solution, then port forwarding is one way to achieve this.

The underlying technology used to create Port Forwarding Rules is firewalld

Port Forwarding Rules

To start, navigate to the 'Port Forwarding' page from the sidebar.

Create a Port Forwarding Rule

A port forwarding rule will route traffic going through a specified port on your antsle, called the Source Port to a specified port on a Destination antlet within your antsle, called the Destination Port.

To configure a port forwarding rule, click 'Add new' on the right-hand corner of the 'Port Forwarding Rules' table.

Configure the port forwarding rule as below:





Specify the protocol of the traffic that will be allowed with this rule

tcp, udp, or both

Source IP

Private IP of the antsle


Source Port

Port on the antsle where traffic will be routed to from outside the antsle

Destination antlet

antlet where traffic will be routed to from the Source

Destination Port

Port on the destination antlet where traffic will be routed to from the Source


Toggle the port forwarding rule

Enable a Port Forwarding Rule

Enabling a port forwarding rule takes a port forwarding rule configuration and actively routes the traffic. If left disabled, the port forwarding rule configuration will be saved, but the traffic will not be routed between the antsle and the antlet.

To enable a port forwarding rule, click the checkbox as pictured below.

Then confirm by clicking 'Yes, enable this rule!'

Edit a Port Forwarding Rule

To make changes to the port forwarding rule configuration, click the 'Edit' button, as pictured below.

Make any changes as desired, and click 'Save Configuration'.

Although a Port Forwarding Rule is enabled, traffic may not reach the Destination antlet if the Destination Port is blocked by the antlet's firewall. In order to accept traffic coming into an antlet from your antsle, you will need to open that port using a firewall tool appropriate for the antlet's OS (e.g. firewalld , iptables, Windows Firewall).

Delete a Port Forwarding Rule

Deleting a port forwarding rule will permanently remove the configuration from antMan.

If you would like to disable a port forwarding rule without removing the configuration, simply click the blue checkbox to disable the rule instead. Disabling the rule will prevent traffic from forwarding, while still keeping the configuration in case you need it for later.

To delete a port forwarding rule, click the 'Delete' button as pictured below.

Confirm deletion by clicking 'Yes, delete this rule!'