Floating IP port forwarding¶
Floating IP port forwarding enables users to forward traffic from a
TCP/UDP/other protocol port of a floating IP to a TCP/UDP/other protocol port
associated to one of the fixed IPs of a Neutron port. This is accomplished by
port_forwarding sub-resource to a floating IP.
CRUD operations for port forwarding are implemented by a Neutron API extension and a service plug-in. Please refer to the Neutron API Reference documentation for details on the CRUD operations.
Configuring floating IP port forwarding¶
To configure floating IP port forwarding, take the following steps:
port_forwardingservice to the
/etc/neutron/neutron.conf. For example:
service_plugins = router,segments,port_forwarding
extensionsoption in the
port_forwarding. This has to be done in each network and compute node where the L3 agent is running. For example:
extensions = port_forwarding
router service plug-in manages floating IPs and routers. As a
consequence, it has to be configured along with the
After updating the options in the configuration files, the neutron-server and every neutron-l3-agent need to be restarted for the new values to take effect.
After configuring floating IP port forwarding, the
floating-ip-port-forwarding extension alias will be included in the output
of the following command:
$ openstack extension list --network