From a7264f07466af216d87ed92d7c765de32086d624 Mon Sep 17 00:00:00 2001 From: "Ycarus (Yannick Chabanois)" Date: Fri, 25 May 2018 09:15:50 +0000 Subject: [PATCH] Save keys to a file --- debian9-x86_64.sh | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/debian9-x86_64.sh b/debian9-x86_64.sh index f4945c6..2ebcf26 100644 --- a/debian9-x86_64.sh +++ b/debian9-x86_64.sh @@ -176,7 +176,7 @@ else fi # Display important info -echo '================================================================================' +echo '====================================================================================' echo 'OpenMPTCProuter VPS is now configured !' echo 'SSH port: 65222 (instead of port 22)' echo 'Shadowsocks port: 65101' @@ -187,9 +187,24 @@ echo 'Glorytun port: 65001' echo 'Glorytun encryption: chacha20' echo 'Your glorytun key: ' echo $GLORYTUN_PASS -echo '================================================================================' -echo '/!\ You need to reboot to enable MPTCP, shadowsocks, glorytun and shorewall /!\' -echo '--------------------------------------------------------------------------------' +echo '====================================================================================' +echo 'Keys are also saved in /root/openmptcprouter_config.txt, you are free to remove them' +echo '====================================================================================' +echo ' /!\ You need to reboot to enable MPTCP, shadowsocks, glorytun and shorewall /!\' +echo '------------------------------------------------------------------------------------' echo ' After reboot, check with uname -a that the kernel name contain mptcp.' -echo ' You may have to modify GRUB_DEFAULT in /etc/defaut/grub' -echo '================================================================================' +echo ' Else, you may have to modify GRUB_DEFAULT in /etc/defaut/grub' +echo '====================================================================================' + +# Save info in file +cat > /root/openmptcprouter_config.txt <