文章来自:http://blog.csdn.net/intbird 转载请说明出处
一般情况下 公司内网 git + maven + jenkins 是同一网域公开访问的
但也有例外:
比如公司没有提供***账号供外网访问, 则在家无法访问公司内网资源
如果自己在家的电脑配置够强悍,也可以远程运行服务(如jenkins)
但git中的maven仓库为公司私有网络外网无法访问,
所以有了这篇文章, 主要是内网穿透
的使用(socks代理)
注意:
公司内网穿透的风险是 会暴露公司内网服务,请严格遵守公司制度
我的jenkins地址: https://intbird.net/jenkins/
目录
1. Centos主机防火墙设置
开放 8080 端口
firewall-cmd --add-port=8080/tcp --permanent
关闭防火墙
systemctl stop firewalld
systemctl disable firewalld.service
80或者443网络代理
nginx : https://blog.csdn.net/intbird/article/details/103507135
httpd : https://blog.csdn.net/intbird/article/details/105159462
caddy : https://blog.csdn.net/i