Questions tagged [ocserv]
6 questions
2
votes
1 answer
DTLS handshake failed in ocserv and openconnect
I configured the ocserv on my Ubuntu server with this specefication in /etc/ocserv/ocserv.conf file:
auth = "plain[passwd=/etc/ocserv/ocpasswd]"
tcp-port = 443
udp-port = 443
run-as-user = nobody
run-as-group = daemon
socket-file =…

danial
- 117
- 2
- 8
0
votes
0 answers
How to use ocserv docker container on a server which already connected to another VPN?
I have a docker container of ocserv on my server, I can connect to it using openconnect client from other devices without any problem. but when my server have been connected to another VPN itself using openconnect client, I can't connect to it…

Yonam
- 1
- 1
0
votes
0 answers
Can not write on ocpasswd
Cannot write to '/etc/ocserv/ocpasswd'.
I get this Error when i want to create another account,
file '/etc/ocserv/ocpasswd' is locked.
How do i solve this Error?
Nothing, else try to edit ocpasswd via nano.
0
votes
0 answers
Possible to build Ocserv vpn project to use plain http
Is it possible to modify Ocserv on clients so that it runs on plain http instead of ssl and use a simple XOR or a custom encryption?
I know that it is insecure but in my case I don't care about security and TLS overhead (including handshaking time)…

raitech
- 41
- 1
- 6
0
votes
1 answer
Fetch username and password from file
So I'm automating ocserv set up through shellscript, and I have created random usernames and passwords which I have in a separate file. So the goal is to read those files into mapfile. This is what I have:
usern=$(wc -l <…

imhere
- 3
- 2
0
votes
1 answer
ocserv could not execute script for the incoming connection
connect-script = /app/connect.sh
disconnect-script = /app/disconnect.sh
I have the above configuration in my ocserv.conf in the docker container, but ocserv fails to execute /app/connect.sh when there is a connection. I cann't find the real cause…

Iceberg
- 2,744
- 19
- 19