代码改变世界

centos7 端口转发

    • firewall-cmd --add-masquerade
       
      firewall-cmd --add-forward-port=port=3001:proto=tcp:toaddr=172.17.183.199:toport=22 --permanent
       
       

posted on 2018-11-16 10:34  Captain林  阅读(1167)  评论(0编辑  收藏  举报

导航