How do I enable ipv4 forwarding?

How do I enable ipv4 forwarding?
Answer
Enable IP forwarding
  1. Open /usr/lib/sysctl. d/50-default. conf with a supported editor.
  2. Check if there is a line: net.ipv4.ip_forward = 0.
  3. Update the IP forwarding setting with the following command: /sbin/sysctl –system.
 

Tìm kiếm

Back
Top