mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #15] Why not write sha2-truncbug=yes in run.sh? #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hwdsl2 on GitHub (Dec 20, 2016).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/15
Originally posted by @cncolder:
/opt/src/run.shwill rewrite/etc/ipsec.confafter restart docker. I must edit every time.I think it's good to move it from troubleshoot into
/opt/src/run.shI setup
-v ./ipsec.conf:/etc/ipsec.confnow. But I found there are some dynamic ip addresses in gen script.@hwdsl2 commented on GitHub (Dec 20, 2016):
@cncolder Hello! Thanks for the suggestion. However, adding the
sha2-truncbugline might break compatibility with some devices.For this issue, please try the following workaround:
Start a Bash session in the running container and install
nano:Then edit
/opt/src/run.shand add thesha2-truncbug=yesline, indented by two spaces:You may also comment out sections or make other changes if needed. When finished, run
exitto return to your Docker host. The next time you restart your container,/etc/ipsec.confwill contain these changes.@cncolder commented on GitHub (Dec 21, 2016):
Thank you for your answer.
I solve it. I copy
run.shoutside then mount volume.@hwdsl2 commented on GitHub (Jan 4, 2017):
@cncolder Just want to let you know that the
sha2-truncbug=yesline has been added back torun.sh, to fix the VPN on Android 6 and 7. Thanks for reminding me on this.@cncolder commented on GitHub (Jan 4, 2017):
@hwdsl2 Thank you. Its save my life.