How To Set Up Port Forwarding in Linux and Windows

How To Set Up Port Forwarding in Linux and Windows

Bookmark

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

 

Windows XP, Vista, 7

In Windows, the default value for port forwarding is disabled, you should enable it and then start the service. Below is the step by step to enable port forwarding in Windows.

1. Click Run(read here to know the shortcut for RUN),

2. Type services.msc and then click OK,

3. In services windows, scroll down and find "Routing and Remote Access" services. You will find out that this service is disabled by default, you should enable it.

How To Set Up Port Forwarding in Linux and Windows

4. Right Click in "Routing and Remote Access" and click Properties.

5. Choose automatic to enable this service.

How To Set Up Port Forwarding in Linux and Windows

6. When finished, you need to start the service or you can right click and then choose start.

 

Hope this posts is useful for you.

(Visited 26,067 times, 3 visits today)

Share this article if you found it was useful:

Blogger at hacking-tutorial.com. Love PHP, offensive security and web. Contact him at me[-at-]vishnuvalentino.com

See all posts by || Visit Website : http://www.vishnuvalentino.com