API Gateway: Disable net.ipv4.ip_forward on Docker containers

book

Article ID: 144777

calendar_today

Updated On:

Products

CA Mobile API Gateway CA Rapid App Security

Issue/Introduction

On the Gateway Docker container, IP forwarding is enabled by default. Some system scans show a warning with regard to this and recommend disbaling it.
Is it safe to disable IP forwarding?

Environment

Release : 9.4

Component : Gateway

Resolution

If the Docker image is hosted locally and you do not have multiple interfaces you are safe to disable IP forwarding.
It is typically needed when hosting in cloud platforms and when there are multiple interfaces being used (acting as a router between two different networks).