Techical Discussions > Help

Port forwarding howtos

(1/2) > >>

bluespray_admin:
Port forwarding from your router allows you to access your BlueSpray controller from any where on the internet.

Port forwarding is configured differently on different routers, but the idea is the same.  Your router has a public IP address.  BlueSpray controller (assumed to be on the network) has a private IP address.  The router blocks all direct requests to all of the devices in its network by default, but you can configure it to bypass it.

The idea is to open a port on the router's public interface that forwards  all requests to BlueSpray controller.  BlueSpray has a web server that listens to 4 ports: 80, 8000 (http) and 443, 8443 (https).  You don't want to use these ports on your router because you might need them to access your router.  You should use different port, for example, router:8080 -> controller:80 or router:8443 -> controller:443.  If your controller can only do port translation, you can use router:8000 to controller:8000 or router:8443 to controller:8443.  Note that you can also change these 2 ports (8000 and 8443) in Settings->System.

Port forwarding will fail at times if your controller's IP address is dynamic.  Since it it dynamic, it can change from time to time.  When it changes, the router will forward to the wrong IP address.  What you will need to do is reserve a fixed or static IP address for your controller.  Different routers has different ways to reserve IP address.  Please consult your router's User Manual for instructions on how to do it.

If you have any info about your particular router, please share it here.

bluespray_admin:
According to openwrt wiki:

http://wiki.openwrt.org/doc/howto/port.forwarding

Port forwarding can be done by editing the /etc/config/firewall file:

config redirect
   option name 'bluespray'
   option src 'wan'
   option proto 'tcp'
   option src_dport '8080'
   option target 'DNAT'
   option dest 'lan'
   option dest_ip '192.168.2.7'
   option dest_port '80'

bluespray_admin:
Here is a very good document on how to configure port forwarding on Netgear routers:

http://kb.netgear.com/app/answers/detail/a_id/20917/~/how-is-port-forwarding-configured%3F

bluespray_admin:
Instructions on port forwarding for Belkin routers:

http://en-us-support.belkin.com/app/answers/page/a_id/60

bluespray_admin:
From Linksys support site:

http://kb.linksys.com/Linksys/ukp.aspx?pid=80&vw=1&articleid=21470

There are also instruction videos on Youtube as well.

Navigation

[0] Message Index

[#] Next page

Go to full version