TommyLau / docker-ocserv

Docker OpenConnect VPN Server
347 stars 238 forks source link

whats the default web folder for server ? #47

Open ilovefood2 opened 5 years ago

ilovefood2 commented 5 years ago

as i understand, this ocserv implements https server, but i can't find where the default web folder, can anyone please help?

aminvakil commented 5 years ago

It uses https protocols, but it is not a web server.

It's a VPN based on TLS (the protocol that https uses).

ilovefood2 commented 5 years ago

got it, but how can we connect to it using just web browser? or it doesn't have such capability ?

hos7ein commented 5 years ago

@ilovefood2, This is a VPN service. You should use VPN client to connect to the VPN server and then you can open your web browser.

ilovefood2 commented 5 years ago

i know there are some kinda vpn services that on client side people can just use browser to login and start using VPN tunnel, can openconnect server do that?

aminvakil commented 5 years ago

Browsers doesn't have the privilege to create a tunnel between your pc and server.

You can use squid which is a http proxy, just install it on your server and you can configure your browser to connect to squid on your server first and then browse the web.