Popular broadband router configurations

1 post / 0 new
This is a section that I hope will expand over time with guides on how to set up the routers used by IG users for running Opensim on a home server.

What ports do I need to open?

For the first region you need to open and forward two ports, one for the http_listener (opensim.ini) and one for the region itself (regions.ini). You need to open these ports for both TCP and UDP traffic.

If you have followed the guides on this Wiki on Howto Link your Opensim region to Infinite Grid the two ports are:

http_listener: 9002
first region: 9003

For each additional region you want you will increase the port number by one, e.g. for four regions the ports would be:

http_listener: 9002
first region: 9003
second region: 9004
third region: 9005
forth region: 9006

For more information on adding more regions go to: http://opensimulator.org/wiki/Configuring_Regions

 

Router Configuration Guides

If a guide for your router isn't listed here try the PortFowarding website. Select your router from the list, then you will be taken to a page that lists most on-line games that need port-forwarding. Unfortunately, at present,OpenSim is not listed. Click the link for the Default Guide for your router which should give you enough information to configure it for Opensim.

 

 

Windows Firewall

 

Windows XP SP2

Unfortunately the Firewall GUI in Windows XP SP2 only lets you open one port and one protocol (TCP/UDP) at a time. I will list the steps for opening a single port and then you just repeat the steps for each additional port.

  1. Open Start/Settings/Control Panel (switch to Classic View if not already selected)
  2. Double-click Windows Firewall
  3. In the General tab make sure Don't allow exceptions is deselected (no tick)
  4. Click on the Exceptions tab
  5. Click Add Port...
  6. In the Name box type Opensim 9002 TCP
  7. In the Port number box type 9002
  8. Make sure TCP is selected (below Port number box)
  9. Click OK
  10. Click Add Port...
  11. In the Name box type Opensim 9002 UDP
  12. In the Port number box type 9002
  13. Make sure UDP is selected (below Port number box)
  14. Click OK

Repeat steps 5-14 for each additional port changing the name to reflect the port number.

 

Windows 7

The Windows 7 Firewall GUI allows you to configure a range of ports but only for one protocol (TCP/UDP) at a time. The example below shows setting up the rules for ports 9002-9006 (four regions).

  1. Click Start and search for Windows Firewall with Advanced Security
  2. On the left of the Windows Firewall with Advanced Security window select Inbound Rules
  3. On the right of the window select New Rule...
  4. Select Port and click Next
  5. Select TCP and in the Specific local ports box type 9002-9006 and click Next
  6. Select Allow the connection and click Next
  7. Accept defaults on this page, just click Next
  8. Give it a name like Opensim TCP and click Finish

Repeat the above steps changing TCP to UDP in step 5.

tags: