-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The camouflage parameter is not connected. #75
Comments
This is happening after #72 got merged and You should persist your Or you can make |
This is happening after #72 got merged and ocserv.conf changes will not persist after a restart which is fine IMO. You should persist your ocserv.conf and mount it into your container, make changes on your host and then restart your container. And after If I run the add new user command I get an error And I have some problems with the network. After connecting to the VPN from my phone, there is no Internet access |
Yes, my configurations have got lost as well, I've reverted #72, please pull the latest image. |
Failed to launch( second way maybe I'm doing something wrong, I'm sad |
Try with exact tag:
|
I tried different options. last log with docker-compose ocserv | Signing certificate... last log with docker [@76178 ocserv1]# docker logs --tail=50 38e0ad0a57e4 With my conf camouflage is working, but not internet (( |
What I do:
docker pull quay.io/aminvakil/ocserv
docker run --name ocserv --sysctl net.ipv4.ip_forward=1 --cap-add NET_ADMIN --security-opt no-new-privileges -p 443:443 -p 443:443/udp -v /etc/letsencrypt/live/xxx.xx/privkey.pem:/etc/ocserv/certs/server-key.pem -v /etc/letsencrypt/live/xxx.xx/fullchain.pem:/etc/ocserv/certs/server-cert.pem -d quay.io/aminvakil/ocserv
docker exec ocserv sed -i '/^camouflage = /{s/false/true/}' /etc/ocserv/ocserv.conf
docker exec ocserv sed -i '/^camouflage_secret = /{s/mysecretkey/xxxsecret/}' /etc/ocserv/ocserv.conf
docker exec -ti ocserv ocpasswd -c /etc/ocserv/ocpasswd xxx
At the moment the connection to the server is working, but to any URL. Camouflage function is not active
After
docker restart ocserv
settings regarding Camouflage are reset to factory settings (false, mysecretkey)
Why doesn't the Camouflage option work?
The text was updated successfully, but these errors were encountered: