OpenVPN TCP Port 443

Hello Everybody,

I would like to use OpenVPN server on GL-AX1800. I tried to save TCP port 443 but it is impossible. I need this port because in restricted networks, like hotels, it is one possibility to connect to my network at home.

I am not familiar to make any changes regarding the router in its configuration.

I found an information regarding my topic:

But I really have no idea how I could do it.

It would help me to know all necessary steps regarding the change of the port.

I looked in the Advanced Setting and also with WinSCP regarding

vi /etc/lighttpd/conf.d/30-openssl.conf



but both do not exist.

It would be great if someone could tell me the exactly steps to change the port.

Thanks in advance.

To free port 443 on firmware 4.x, run these command:

cp  /etc/nginx/conf.d/gl.conf /etc/gl.conf.bak
sed -i '/443 ssl/d' /etc/nginx/conf.d/gl.conf
/etc/init.d/nginx restart

By the way, the GL.iNet app will not work while Nginx port 443 is off.

Thanks for your help. Unfortunately I got only error messages. I put your command in Putty and confirmed it with the return key. But I got many times the message “no such file or directory”. Therefore what individual steps are necessary to get TCP port 443. Does there exist a chat with the support of Gli net? Thanks in advance.

Please copy and paste it line by line. It seems that there is a Putty bug that doesn’t parse the new line character.

You can also send Private message or by email to

Was there an update to process for setting up Open VPN Server on Port 443? Sometimes this seems to be only port open in highly restrictive environments.

try using 53/udp. you should use vpns on udp anyway.

what do you mean restrictive environments and setting up a server in there?