Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

enable ip forwarding linux

sysctl net.ipv4.ip_forward       # to get IP forwarding status
  net.ipv4.ip_forward = 0        # IP forwarding is disabled

sysctl -w net.ipv4.ip_forward=1  # to enable IP forwarding (set to 0 to disable)
  net.ipv4.ip_forward = 1        # IP forwarding is enabled
Comment

PREVIOUS NEXT
Code Example
Shell :: install node-pre-gyp 
Shell :: docker interact with running container 
Shell :: ssh pc without password ubuntu 
Shell :: linux change hostname 
Shell :: s3cmd install 
Shell :: terminal delete directory not empty 
Shell :: git bash set global username and password 
Shell :: pulling and running docker image 
Shell :: uninstalling audacity on linux 
Shell :: pm2 typescript 
Shell :: wasm pack install 
Shell :: change user to sudo kali 
Shell :: see what user a process is running as 
Shell :: sqlmap get injection 
Shell :: add root user kali linux 
Shell :: ubuntu screenshot tool 
Shell :: remove git proxy local 
Shell :: batch file to write xml into file 
Shell :: git bash command not found in vscode 
Shell :: how to restart network manager in kali 
Shell :: search in centos terminal 
Shell :: switch zsh to bash 
Shell :: bash return last n characters from every line 
Shell :: linux document root 
Shell :: how to completely remove haproxy from ubuntu 
Shell :: install code ubuntu 
Shell :: minikube without sudo 
Shell :: docker remove all images windows 
Shell :: install oh my zsh M1 
Shell :: kill port linus 
ADD CONTENT
Topic
Content
Source link
Name
7+8 =