#
Traffic Redirectors
Evaluations occurred in Microsoft Azure, which limits the number of network interfaces that can be attached to VM. Three redirectors were required to support traffic redirection for eight IP addresses.
Traffic redirection is performed using iptables NAT masquerading, with traffic sent to specific destination ports on a particular network interface being redirected to a specific IP address and port. Scripts in the setup/ folder provide the following functionality:
enable-traffic-forwarding-rules-HOSTNAME.sh
- Running the script on a server will configures network forwarding rules. Note that forwarding rules are based on network interfaces. As multiple IP addresses are attached to redirector VMs, double check the network interfaces are assigned to the expected IP addresses.
disable-traffic-forwarding-rules.sh
- Running the script on a server will disable and clear any network forwarding rules in place.
print-traffic-forwarding-rules.sh
- Running the script will print to stdout any network forwarding rules currently configured.