iGoD ReLeNtLeS
23-07-10, 01:19
How To Forward Ports
Caution: If You Are NOT Connected To The Internet Via. A Router or Switch, Do NOT Follow This Guide.
Key:
Blue = Windows Vista & Seven
Green = Windows XP
Black = Follow Instruction Regardless Of Operating System
Red = Caution - Follow This Instruction/Note!
1.) Firstly we need to set a static internal IP address, otherwise everytime you turn-on or reboot your computer its IP address will change, causing the external source to be directed to an invalid or incorrect location. To do this you need to go to:
Start > Control Panel > Network and Sharing Center > Change Adapter Settings
Start > Control Panel > Network Connections
2.) Next you need to identify your active network connection. This should be the connection that doesn't have a red cross on the icon.
If you are unsure of which one that is, right click it and then click disable. Open a new copy of your web browser, Did it open a webpage? If it did not, then you've found your internet connection. Close that browser window. Go ahead and right click the network connection again and then click enable. Once again open up a new web browser. You should see a webpage. Close the browser window. Right click on the network connection and click properties at the bottom.
Right-Click > Properties
Right-Click > Properties > Properties
You should now be faced with a window similar to this:
http://img155.imageshack.us/img155/6320/adapterproperties.pnghttp://portforward.com/networking/winxp-lacp.jpg
Double-Click "Internet Protocol Version 4 (TCP/IPv4)"
Double-Click "Internet Protocol(TCP/IP)"
You should now be faced with another window similar to this:
http://img828.imageshack.us/img828/5368/ipv4.pnghttp://portforward.com/networking/winxp-tcpip.jpg
NOTE: Before we go any further write down the current settings of this window. If something goes wrong, you can change the settings back to their original values.
3.) Now select "Use The Following IP Address" and change the following fields.
IP Address: 192.168.1.X (Replace "X" With A Number Between 1-254 NOTE: This Should Not Be The Same As Your Routers IP Address)
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1 (IP Address of your Router)
Take A Note Of The IP Address Used, You Will Need This At A Later Date
4.) Then select "Use The Following DNS Server Addresses" and change the following fields.
Preffered DNS Server: 192.168.1.1 (IP Address of your Router)
NOTE: You May Wish To Use An External DNS Server, Inwhich Case Ignore This Step About The DNS Server
Your Done With Setting An Internal Static IP, Apply All Settings And Close All Windows.
5.) Now We Need To Allow These Ports Through The Routers Firewall. So Open Your Browser And Head To http://192.168.1.1 or http://routerlogin.com (if you have a netgear router)
You Should Now Be Prompted With A Login System, You Can Find The Username And Password On The Back Of Your Router, Or You Can Find It Over At http://www.routerpasswords.com (Providing It Is Still Set As Default And Hasn't Been Changed)
6.) Once in you need to navigate the "Port Forwarding/Port Triggering", Then you need to click "Add Custom Service". You should now be faced with a window similar to this:
http://img29.imageshack.us/img29/6351/portsb.png
or this
http://img541.imageshack.us/img541/9424/dlinku.png
You now need to change the following fields as follows:
Service Name: Choose an easily identifieable name so you can easily edit this at a later date if needs be, i am using XBConnect for the XBConnect Tunnel Networking Program.
Protocol: Change This To Either "TCP" or "UDP" or "TCP/UDP", if unsure set to "TCP/UDP" but it is recommended you find the required protocol
Starting Port: Insert Port Number Between 1-65534. I am using 8602 for XBConnect
Ending Port: Insert The Ending Port Number Between 1-65534. If You Are Only Opening 1 Port, Set The Same As The Starting Port. I Am Using 8602 For XBConnect
Server IP Address/Connection: This Should Be The Same As The IP Address You Set Earlier Under Your Adapter Properties, You Should Have Taken A Note Of This.
7.) Hit Apply And Your All Done, You Should Now Be Able To Use The Service From An External Source. You May Also Need To Allow This Port Through Your Firewall In Order For Your Service To Work. You Can Now Find Your External IP Address Here (http://www.whatismyip.com/), Give This To Other People That You Wish To Share Your Service With, Be That XBConnect, A Ventrilo Server, Etc. You IP Address Will Change From Time To Time, Unless You Have A Static External IP Address, This Can Be Enabled By Your ISP But Will Cost You A Small Fee Every Month.
--------------------------------------------------------------------------------------------------------------------------------------------
Setting An Internal Static IP For Linux users
Thanks To llawwehttam
Linux has several popular desktop enviroments. Each has a different set of tools for system settings and maintenance. If you are new to linux then I assume you will be using Gnome, KDE or XFCE. If you have used something else such as openbox, Fluxbox, or have no desktop enviroment I would assume you can set a static IP address.
Gnome Users:
1.) Firstly we need to locate the network manager in your desktop enviroment. In gnome it is usually in the notificaton area but can have a variety of icons.
2.) Once you have found the icon, right click on it and select “Edit Connections”.
3.) Choose your connection and press “Edit”.
4.) Go to the Ipv4 tab and change DHCP to Manual or static depending on what version of GNOME you have.
5.) Press 'Add' and type your IP address, netmask and gateway. You can also fill in the IP address of your DNS server underneath.
http://a.imagehost.org/0745/Screenshot_7.png
Now Refer Back To Step 5.) Of The First Section.
Thanks For Reading.
Caution: If You Are NOT Connected To The Internet Via. A Router or Switch, Do NOT Follow This Guide.
Key:
Blue = Windows Vista & Seven
Green = Windows XP
Black = Follow Instruction Regardless Of Operating System
Red = Caution - Follow This Instruction/Note!
1.) Firstly we need to set a static internal IP address, otherwise everytime you turn-on or reboot your computer its IP address will change, causing the external source to be directed to an invalid or incorrect location. To do this you need to go to:
Start > Control Panel > Network and Sharing Center > Change Adapter Settings
Start > Control Panel > Network Connections
2.) Next you need to identify your active network connection. This should be the connection that doesn't have a red cross on the icon.
If you are unsure of which one that is, right click it and then click disable. Open a new copy of your web browser, Did it open a webpage? If it did not, then you've found your internet connection. Close that browser window. Go ahead and right click the network connection again and then click enable. Once again open up a new web browser. You should see a webpage. Close the browser window. Right click on the network connection and click properties at the bottom.
Right-Click > Properties
Right-Click > Properties > Properties
You should now be faced with a window similar to this:
http://img155.imageshack.us/img155/6320/adapterproperties.pnghttp://portforward.com/networking/winxp-lacp.jpg
Double-Click "Internet Protocol Version 4 (TCP/IPv4)"
Double-Click "Internet Protocol(TCP/IP)"
You should now be faced with another window similar to this:
http://img828.imageshack.us/img828/5368/ipv4.pnghttp://portforward.com/networking/winxp-tcpip.jpg
NOTE: Before we go any further write down the current settings of this window. If something goes wrong, you can change the settings back to their original values.
3.) Now select "Use The Following IP Address" and change the following fields.
IP Address: 192.168.1.X (Replace "X" With A Number Between 1-254 NOTE: This Should Not Be The Same As Your Routers IP Address)
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.1.1 (IP Address of your Router)
Take A Note Of The IP Address Used, You Will Need This At A Later Date
4.) Then select "Use The Following DNS Server Addresses" and change the following fields.
Preffered DNS Server: 192.168.1.1 (IP Address of your Router)
NOTE: You May Wish To Use An External DNS Server, Inwhich Case Ignore This Step About The DNS Server
Your Done With Setting An Internal Static IP, Apply All Settings And Close All Windows.
5.) Now We Need To Allow These Ports Through The Routers Firewall. So Open Your Browser And Head To http://192.168.1.1 or http://routerlogin.com (if you have a netgear router)
You Should Now Be Prompted With A Login System, You Can Find The Username And Password On The Back Of Your Router, Or You Can Find It Over At http://www.routerpasswords.com (Providing It Is Still Set As Default And Hasn't Been Changed)
6.) Once in you need to navigate the "Port Forwarding/Port Triggering", Then you need to click "Add Custom Service". You should now be faced with a window similar to this:
http://img29.imageshack.us/img29/6351/portsb.png
or this
http://img541.imageshack.us/img541/9424/dlinku.png
You now need to change the following fields as follows:
Service Name: Choose an easily identifieable name so you can easily edit this at a later date if needs be, i am using XBConnect for the XBConnect Tunnel Networking Program.
Protocol: Change This To Either "TCP" or "UDP" or "TCP/UDP", if unsure set to "TCP/UDP" but it is recommended you find the required protocol
Starting Port: Insert Port Number Between 1-65534. I am using 8602 for XBConnect
Ending Port: Insert The Ending Port Number Between 1-65534. If You Are Only Opening 1 Port, Set The Same As The Starting Port. I Am Using 8602 For XBConnect
Server IP Address/Connection: This Should Be The Same As The IP Address You Set Earlier Under Your Adapter Properties, You Should Have Taken A Note Of This.
7.) Hit Apply And Your All Done, You Should Now Be Able To Use The Service From An External Source. You May Also Need To Allow This Port Through Your Firewall In Order For Your Service To Work. You Can Now Find Your External IP Address Here (http://www.whatismyip.com/), Give This To Other People That You Wish To Share Your Service With, Be That XBConnect, A Ventrilo Server, Etc. You IP Address Will Change From Time To Time, Unless You Have A Static External IP Address, This Can Be Enabled By Your ISP But Will Cost You A Small Fee Every Month.
--------------------------------------------------------------------------------------------------------------------------------------------
Setting An Internal Static IP For Linux users
Thanks To llawwehttam
Linux has several popular desktop enviroments. Each has a different set of tools for system settings and maintenance. If you are new to linux then I assume you will be using Gnome, KDE or XFCE. If you have used something else such as openbox, Fluxbox, or have no desktop enviroment I would assume you can set a static IP address.
Gnome Users:
1.) Firstly we need to locate the network manager in your desktop enviroment. In gnome it is usually in the notificaton area but can have a variety of icons.
2.) Once you have found the icon, right click on it and select “Edit Connections”.
3.) Choose your connection and press “Edit”.
4.) Go to the Ipv4 tab and change DHCP to Manual or static depending on what version of GNOME you have.
5.) Press 'Add' and type your IP address, netmask and gateway. You can also fill in the IP address of your DNS server underneath.
http://a.imagehost.org/0745/Screenshot_7.png
Now Refer Back To Step 5.) Of The First Section.
Thanks For Reading.