linux上一键安装VPN脚本 按行执行命令: wget https://www.jozxing.cc/vpn/vpn.shchmod a+x vpn.sh然后出现: which do you want to?input the number. 1. install... 阅读全文
openshift一键搭建反向代理谷歌 1.首先,需要在openshift上创建一个diy项目,这里不多说。然后用putty连接22端口到此项目,便于远程命令执行。 2.通过putty执行命令: ①cd /tmp ②wget --no-check-certificate h... 阅读全文
linux服务器设置白名单 vi /etc/hosts.allow sshd:10.0.0.x:allow # 单个ip sshd:192.168.7.0/255.255.248.0:allow #一个网段的设置完之后还要设置拒绝所有 IP(白名单除外)v... 阅读全文
nginx 配置401认证 1.将下面这段配置写入server里或者location里面都可以。auth_basic "Login In:"; auth_basic_user_file /etc/nginx/pass; #存用户名和密码的文件2.生成pass文件... 阅读全文
SSH 常见的三种转发和代理命令 主要三个命令ssh -C -f -N -g -L local_ip:local_port:remote_ip:remote_port user@remoteip ssh -C -f -N -g -R remote_ip:remote... 阅读全文