分类: Linux 系统配置

25 篇文章

Linux使用SSH端口转发
一、本地端口转发 ssh -L [本地IP]:本地Port:目标IP:目标Port user@server 例如在自己的电脑上使用 ssh -L 192.168.6.233:8080:baidu.com:80 test@云服务器 通过 云服务器 访问baidu.com80端口,然后再转给本机192.168.6.233ssh断开,转发也断开 一、远程…
使用Centos7做NAT网关服务器转发内网数据
NAT服务器 CenOS7 配置好两块网卡的ip地址后: 利用firewall-cmd配置网卡到zone里 #firewall-cmd --list-all //查看网口 将接internet的网卡接口关联到 external zone #firewall-cmd --change-interface=ens192 --zone=external …
docker-compose安装
推荐使用pip安装docker-compose,因为pip可以为你自动对应版本问题 安装pip yum -y install epel-release yum -y install python-pip 确认版本 pip --version 更新pip pip install --upgrade pip 安装docker-compose pip i…