Is it possible to change the SSL VPN Port for Remote Access??
... and for the User Portal, too?
This thread was automatically locked due to age.
Hi,
I was playing around with VPN SSL and how to change the port.
Good news is: It is possible already.. in the way how the config file looks like :)
How I figured out?
Go to: VPN --> Show VPN Settings --> Override Hostname
The override hostname is the critical field. Here I needed to put in my Dynamic domain (because I have another router in infront of my Sophos XG before it reaches the internet - yes I have port forwarding there in my fritzbox to the Sophos and after that all the home network devices) ...
I don't know what's in that field for you... anyway here is my example which should work for you as well:
vpn.dyndns.com 6443 #
The 6443 is the port, and before that is a space. After the port is a space and then that '#' character which is interpreted by OpenVPN as a start of a comment.
The line would look this way in the final generated config:
remote vpn.dyndns.com 6443 # 8443
Okay, so it is not really changing the port internally which is used but only the config file.
In my case I load the config file via iPhone from the user portal and there the port 6443 is now configured.
In my fritzbox / router / modem I have port 6443 forwarded to port 8443 to sophos.
It is probably only a workaround which is not possible for everyone.
But it's little workaround which works fine for me.
Tested with UDP and TCP, Radius auth, + OTP for the VPN connection.
Hope that helps
Hi,
I was playing around with VPN SSL and how to change the port.
Good news is: It is possible already.. in the way how the config file looks like :)
How I figured out?
Go to: VPN --> Show VPN Settings --> Override Hostname
The override hostname is the critical field. Here I needed to put in my Dynamic domain (because I have another router in infront of my Sophos XG before it reaches the internet - yes I have port forwarding there in my fritzbox to the Sophos and after that all the home network devices) ...
I don't know what's in that field for you... anyway here is my example which should work for you as well:
vpn.dyndns.com 6443 #
The 6443 is the port, and before that is a space. After the port is a space and then that '#' character which is interpreted by OpenVPN as a start of a comment.
The line would look this way in the final generated config:
remote vpn.dyndns.com 6443 # 8443
Okay, so it is not really changing the port internally which is used but only the config file.
In my case I load the config file via iPhone from the user portal and there the port 6443 is now configured.
In my fritzbox / router / modem I have port 6443 forwarded to port 8443 to sophos.
It is probably only a workaround which is not possible for everyone.
But it's little workaround which works fine for me.
Tested with UDP and TCP, Radius auth, + OTP for the VPN connection.
Hope that helps