Hello,
I have SoftEther VPN Server on a pc, and client installed on a laptop. The server listens on port 443 (https://example.com). Everything works fine, but when someone comes to visit https://example.com from a browser, a page is displayed denying entry:
Forbidden
You don't have permission to access / on this server.
----------------------------------------------------------
HTTP Server at xxx.xxx.xxx.xxx Port 443
My question is: how I can customize this page or redirect to another site?
How can customize or redirect page http forbidden in server.
-
- Posts: 2
- Joined: Wed Apr 01, 2015 7:18 pm
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: How can customize or redirect page http forbidden in ser
Please use another port.
-
- Posts: 2
- Joined: Wed Apr 01, 2015 7:18 pm
Re: How can customize or redirect page http forbidden in ser
I do not want to use another port because the company I work only allow use http and https protocol (80 and 443). The VPN works fine by 443, and the server has nothing listening for the 443 (except softether server), but I wish to personalize the page that mentioned above for the "curious intruders". I think if the SoftetherServer can display that page as if it were a web server, then it should be possible to show another page instead of that.
-
- Posts: 2458
- Joined: Mon Feb 24, 2014 11:03 am
Re: How can customize or redirect page http forbidden in ser
If you want to customize the page , you have to edit source code and compile.