#!/bin/bash # Bash script test clear ipf='cat /proc/sys/net/ipv4/ip_forward' if [ "$ipf" = "0" ]; then echo "IP forwarding is disabled." else echo IP forwarding is enabled. filo