linux
1 篇文章
linux
CentOS 6/7 开启端口转发的代码
以下代码以本机81端口转发到本机80端口为例 CentOS 6 使用iptables实现: echo net.ipv4.ip_forward=1>>/etc/sysctl.conf sysctl -p…