赞
踩
# frp 服务端配置
[common]
bind_port = 7000
bind_udp_port = 7003
vhost_http_port = 81
# 映射域名
subdomain_host = frp.domain.com
# 配置frps服务端控制面板端口及用户密码
dashboard_port = 7500
# dashboard 用户名密码,默认都为 admin
dashboard_user = admin
dashboard_pwd = admin
# frp 客户端配置
[common]
server_addr = frp服务端ip(公网)
server_port = 7000 frp服务端绑定的端口
[1194]
type = udp
local_ip = 0.0.0.0
local_port = 1194
remote_port = 1194
[1194tcp]
type = tcp
local_ip = 127.0.0.1
local_port = 1194
remote_port =1194
[80tcp]
type = tcp
local_ip = 127.0.0.1
local_port = 80
remote_porr = 80
[443tcp]
type = tcp
local_ip = 127.0.0.1
local_port = 443
remote_port = 443
# pritunl server setting Port
[10026]
type = udp
local_ip = 0.0.0.0
local_port = 10026
remote_port = 10026
如上:pritunl 需要开放80,443,1194tcp&udp,10026udp,映射到公网服务器即可
docker pull jippi/pritunl:1.30.3043.48
docker run \
-d \
--privileged \
--net=host\
-e PRITUNL_MONGODB_URI=mongodb://192.168.1.5:27017/pritunl \
-p 1194:1194/udp \
-p 1194:1194/tcp \
-p 80:80/tcp \
-p 443:443/tcp \
jippi/pritunl:1.30.3043.48
https://client.pritunl.com/#install
手机需要访问公司内网可以使用OpenVPN Connect App,下载方式需要科学上网。也可以关注公众号,回复“内网”获取软件安装包
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。