mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Update getserveratboot
This commit is contained in:
parent
ba913f1807
commit
421dabbe57
1 changed files with 7 additions and 0 deletions
|
@ -41,7 +41,14 @@ fi
|
|||
set frpc."$routerid".type=http
|
||||
set frpc."$routerid".local_port=80
|
||||
set frpc."$routerid".subdomain="$routerid"
|
||||
set frpc.ssh_random"$routerid"=conf
|
||||
set frpc.ssh_random"$routerid".type=tcp
|
||||
set frpc.ssh_random"$routerid".local_ip=127.0.0.1
|
||||
set frpc.ssh_random"$routerid".local_port=22
|
||||
set frpc.ssh_random"$routerid".remote_port=0
|
||||
set frpc.ssh_random"$routerid".bandwidth_limit=1MB
|
||||
commit frpc
|
||||
|
||||
/etc/init.d/openmptcprouter-vps restart
|
||||
EOF
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue