iw4p / OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv

[Script and Docker 🐳] OpenConnect (Cisco AnyConnect) VPN Server (OCServ) script one key easy configurator and installer
255 stars 133 forks source link

how disable GET auth response in browser? #7

Closed kvadrakot closed 2 years ago

kvadrakot commented 2 years ago

Hello. I don't know if this is the right place to ask the question.

I am using ocserv 1.1.3 for Rocky linux. And if I follow the authorization link in the browser, I will get the browser's xml response.(GET 200 ok)

<config-auth client="vpn" type="auth-request">
<version who="sg">0.1(1)</version>
<auth id="main">
<message>Please enter your username.</message>
<form method="post" action="/auth"> </form>
</auth>
</config-auth> 

This is strange, because I do not use a browser for authorization, but use a special client program. How can I disable the display of the authorization message in the browser or replace it with my own custom message? I don’t need other people to know that I had a vpn on port 443, and the message in the browser unmasks this

iw4p commented 2 years ago

Hello, Are you sure you didn't run any other script before or after this script? Because it seems you used this script or something similar to this. Because I don't think the OpenConnect-VPN script does not create such a thing.

kvadrakot commented 2 years ago

Hello. I apologize, I created the question in the wrong place. It's really not that script. Thanks!