Skip to content

How to set up port forwarding on your primary router

If you are setting up a server (such as an OpenVPN server or WireGuard server) on your GL.iNet router and it is connected to a primary router, you will have to set up port forwarding on the primary router. This ensures the server to be accessible properly. (Note that if there are other routers between the primary router and the GL.iNet router, you will have set up port forwarding on all these preceding routers.)

The steps for setting up port forwarding vary depending on the brand and model of your router. Refer to the section appropriate to you below.

Other router brands as my primary router

Make sure to enter the following information when setting up port forwarding:

Different router brands and models have different ways of naming the information you have to provide when you set up port forwarding. In general, make sure to enter the following information on the router's port forwarding screen:

  • External port/Internal port: Enter the port you are using. For example, the default ports are 1194 (for OpenVPN servers) and 51820 (for WireGuard servers).
  • Protocol: Choose All or UDP/TCP.
  • Internal IP (or shown as Host IP): Enter your secondary router's WAN IP address or select your secondary router from the dropdown if available.

Here are the instructions for setting up port forwarding on certain router brands and models as your primary router:

AT&T

Comcast (Xfinity)

Eero

Refer to these instructions.

Linksys

Refer to these instructions.

Netgear

Refer to these instructions.

Refer to these instructions.

If you need assistance because your specific router brand or model is not listed above, contact your router manufacturer or the GL.iNet Support Team via email at support@glinet.biz.


Still have questions? Visit our Community Forum.