How To Set Up Port Forwarding in Linux

时间:2023-03-09 04:08:41
How To Set Up Port Forwarding in Linux

Port forwarding usually used when we want our computer act like a router. Our computer receive the packet that come inside and then forward it into another destination. Today we will learn How To Set Up Port Forwarding in Linux and Windows

Linux

Change the value in your /proc/sys/net/ipv4/ip_forward from 0 to 1. Or you can do by following the step below:

echo '1' > /proc/sys/net/ipv4/ip_forward

- See more at: http://www.hacking-tutorial.com/tips-and-trick/how-to-set-up-port-forwarding-in-linux-and-windows/#sthash.CRubgktQ.dpuf

.