Frp内网穿透快速实现远程桌面

1.前言

TeamViewer、向日葵等第三方软件大多是商业化软件,有各种限制。
本文介绍如何使用Frp搭建实现远程桌面连接(服务端为Linux,客户端windows)

2.Frp

Frp 是一款开源的、简洁易用、高性能的反向代理软件

它支持 TCP、UDP、HTTP、HTTPS 等协议类型

官方地址:https://github.com/fatedier/frp

3.操作步骤
1)部署Frp服务端到云服务器(如阿里、腾讯、华为等)
根据系统平台,从下面链接下载 Frp 源码上传到云服务器
https://github.com/fatedier/frp/releases
也可以通过 wget 命令直接下载

wget https://github.com/fatedier/frp/releases/download/v0.43.0/frp_0.43.0_darwin_amd64.tar.gz

解压缩

tar zxf frp_0.43.0_darwin_amd64.tar.gz

移动至/usr/local

mv frp_0.43.0_darwin_amd64 /usr/local/frp

配置服务端frps.ini
在线文档地址 https://gofrp.org/docs/overview/

[common]
bind_port = 7000              #是自己设定的frp服务端端口
token = 123456                #核实身份用,加了更安全
 
#配置frp后台管理账号
dashboard_port = 6000
dashboard_user = admin
dashboard_pwd = 123456
 
#配置日志配置文件夹
log_file = /var/log/frps.log
log_level = info
log_max_days = 3

配置systemctl来控制,服务端运行
vim新建文件并写入配置内容(使用ins或i插入,完成复制完成之后,按esc退出 :wq 保存退出)

vim /usr/lib/systemd/system/frp.service
[Unit]
Description=The nginx HTTP and reverse proxy server
After=network.target remote-fs.target nss-lookup.target
 
[Service]
Type=simple
ExecStart=/usr/local/frp/frps -c /usr/local/frp/frps.ini
KillSignal=SIGQUIT
TimeoutStopSec=5
KillMode=process
PrivateTmp=true
StandardOutput=syslog
StandardError=inherit
 
[Install]
WantedBy=multi-user.target

开放云服务器防火墙端口、配置安全组规则,启动Frp 服务

启动/停止/重启,查看状态,设置开机自启/关闭开机自启
systemctl start frp
systemctl stop frp
systemctl restart frp
systemctl status frp
systemctl enable frp
systemctl disable frp

2)客户端
从下面链接下载Frp客户端(与服务端版本保持一直)
https://github.com/fatedier/frp/releases

修改frpc.ini

[common]
server_addr = xx.xx.xx.xx
server_port = 7000
token = 123456
 
[rdp]
type = tcp
local_ip = 127.0.0.1
local_port = 3389
remote_port = 3389

启动
cmd命令切换到文件夹执行

frpc -c frpc.ini

输出:login to server success, get run id [], server udp port [0]即为登录成功

3)测试远程连接
另一台电脑打开win远程桌面,输入云服务器ip地址测试远程连接(注意先开启远程连接权限)
也可以通过手机 App,如「 RD Client 」来控制远程桌面
4)设置开机自启
windows 设置开机自启的方法有很多,这里推荐使用winsw将frp注册为系统服务。
参考链接:https://blog.csdn.net/atmosphere_/article/details/104018900

为了保证目标计算机永久在线,可以利用「 winsw 」将客户端连接配置做成一个服务,并配置为开机自启
1.此处需要使用到winsw 下载地址: https://github.com/kohsuke/winsw/releases
这里将下载WinSw.Net4.exe重命名为winsw.exe,以方便后面操作

新建一个配置文件 winsw.xml(注意编码格式utf-8,否则会提示给定编码中的字符无效),添加运行 Frp 客户端的命令

<service>
<!-- 该服务的唯一标识 -->
<id>frp</id>
<!-- 该服务的名称 -->
<name>frp</name>
<!-- 该服务的描述 -->
<description>frp远程控制客户端服务</description>
<!-- 要运行的程序路径 -->
<executable>D:\Program Files\frp_0.43.0_windows_amd64\frpc.exe</executable>
<!-- 携带的参数 -->
<arguments>-c frpc.ini</arguments>
<!-- 第一次启动失败 60秒重启 -->
<onfailure action="restart" delay="60 sec"/>
<!-- 第二次启动失败 120秒后重启 -->
<onfailure action="restart" delay="120 sec"/>
<!-- 日志模式 -->
<logmode>append</logmode>
<!-- 指定日志文件目录(相对于executable配置的路径) -->
<logpath>logs</logpath>
</service>

使用管理员身份打开CMD终端,CD进入目录运行下面命令,使得Frp客户端能变成系统服务在后台运行了

//注册服务
winsw.exe install
//卸载服务
winsw.exe uninstall
//启动服务
winsw.exe start
//停止服务
winsw.exe stop
//重启服务
winsw.exe restart
//查看状态
winsw.exe status

所有评论(6)

  1. 111说道:

    This message is used to verify that this feed (feedId:73641170212751360) belongs to me (userId:73640725179192320). Join me in enjoying the next generation information browser https://follow.is.

  2. Chase说道:

    It can take a quantity of months in your testosterone
    to recuperate its regular function after ending an Anavar cycle.
    Ready for this to naturally happen just isn’t an possibility as a end result of
    low testosterone is significantly debilitating. Signs could be widespread and critical
    and might include fatigue, depression, low libido, loss of muscle, and fats gain, to
    name just a few. Facet effects attributable to rising estrogen ranges come about when a steroid causes the conversion of testosterone into estrogen (also referred to as aromatization).
    One of probably the most appealing things about Anavar is that it does NOT aromatize and, due to this fact, doesn’t trigger estrogenic side effects.
    Improvement of pimples and oily skin are the other androgenic unwanted aspect effects to be careful for.

    A test can decide if Anavar is actually present within the
    compound or not. There are additionally purity tests that can measure the dose of Anavar, thus
    telling you whether or not it’s true to the label or undercut.
    Generally, this crash isn’t deemed to be excessive
    and thus ladies can do nothing and still get well within several weeks to some months.
    In which case, if girls did begin to discover decreased breast size (for
    example), they may decrease their dose to forestall additional virilization.
    Therefore when you take a average dose, for a short cycle, the chances of virilization are extremely low.
    It’s also necessary to notice that virilization doesn’t
    happen in a single day, but as an alternative is a gradual effect.

    In research, results present that Anavar does have the possibility to trigger masculinization in girls and women, nonetheless, the
    dose would need to be excessive and brought for an extreme period of time.

    When we additional contemplate this steroid can not result in water retention, a possible
    burden to many athletes, Anavar rest as one of the prime athletic selections.

    Anavar binds to the Androgen Receptors (ARs) of the muscle cells and stimulates
    protein synthesis, which will increase muscle growth, lean body mass,
    and bone mineral density. You could do that by measuring testorone ranges, taking blood samples, and
    so forth. It’s best to get this carried out before taking any
    efficiency enhancing drug so you understand your ranges earlier than taking, while taking
    and after taking. Pill fashioned steroids like Anavar are extremely popular as a result of they are often consumed orally and no injections are wanted.
    Anavar is typically very expensive to buy, as a result of it’s one of the most
    coveted AAS on the black market. The cause it’s so in style is because
    it’s a really delicate steroid, which means unwanted
    effects are lots less in comparison with different steroids.

    This leads to a extra aesthetically pleasing physique, which
    is highly sought after in competitive bodybuilding and health circles.

    The high quality of muscle gained with Anavar is often described as exhausting and vascular,
    contributing to a more chiseled appearance.

    Anavar for women is a popular anabolic steroid that gives significant benefits, corresponding to elevated
    muscle mass, improved muscle definition, and efficient fats loss.

    Nevertheless, it is important for female customers to observe the beneficial dosage and hold Anavar cycles
    short to minimize the danger of any antagonistic effects.

    It helps promote lean muscle progress, enhance strength, and enhance endurance.
    Feminine users could expertise improved muscle definition and a toned physique, making it a beautiful choice for these targeted
    on aesthetics. Additionally, Anavar can aid in fat loss by rising metabolic rate and
    supporting the preservation of lean muscle mass during chopping phases.

    Bodybuilders also make use of trenbolone as a
    slicing steroid to speed up fat loss while sustaining muscle on fewer calories.
    Anavar and testosterone are among the many least harmful anabolic steroids with regard to
    ldl cholesterol. Based on our sphygmomanometer
    exams, the cardiovascular strain of Anavar is marginally higher than that of
    testosterone. This can be attributed to Anavar being an oral drug, therefore
    inhibiting estrogen conversion and subsequently activating hepatic lipase.
    The bodybuilding community refers to Anavar as a slicing
    steroid generally cycled throughout competitors
    preparation. Anavar has anabolic effects; nonetheless, such properties are
    mild compared to bulking steroids. Look for anabolic steroids with least side effects
    to attenuate well being risks and discover the most secure steroid cycle that fits your goals and health needs.

    This is indicative of its use by a seasoned steroid consumer, with Anadrol
    being a toxic steroid. However, trenbolone does not induce aromatization,
    causing vital elevations in blood pressure, that are attributed to vast reductions in HDL.
    Anadrol causes important fluctuations in blood strain and liver enzymes.
    Dianabol has the capability to add 25–30 kilos of lean mass from a cycle.

    Anavar can be utilized by ladies, as it is much less more likely
    to trigger virilization at low to average dosages.

    One Other reason this has been such a profitable drug is that it has been proven to be much less poisonous for the liver [3].
    Nevertheless, most studies have checked out short-term
    use, and folks have assumed that less poisonous means that
    it won’t result in liver failure in any respect.
    Other drugs could work together with oxandrolone,
    together with prescription and over-the-counter medicines,
    vitamins, and herbal merchandise. Inform each
    of your health care providers about all medicines you
    use now and any medicine you start or cease using. Oxandrolone won’t improve athletic efficiency and shouldn’t be used for that objective.
    Do not take this medicine in bigger or smaller amounts or for longer than really
    helpful.
    By making knowledgeable decisions, in search of guidance, and following
    greatest practices, you presumably can optimize your
    Anavar experience and work towards reaching your
    required health and performance targets. In this section, we are going
    to provide a comprehensive overview of an Anavar
    example cycle, which serves as a roadmap for individuals contemplating the usage of this popular anabolic steroid.
    Anavar cycles are rigorously planned periods of time
    throughout which the steroid is taken, with particular dosages and
    durations in thoughts. Whereas there’s a lack of scientific research on the topic, anecdotal analysis carried out by bodybuilders reveals that oxandrolone
    can actually be a muscle-building drug.
    Some ladies might need to go further and add one other two weeks to the cycle whereas growing the dosage for these final two weeks up
    to 20mg daily, however monitor for any potential side effects.
    This isn’t a concern for girls who can proceed with an Anavar-only
    cycle on the recommended 10mg every day dose. Most cycles will make
    the most of testosterone previous the 8-week Anavar cycle length, extending to 12 weeks
    with testosterone earlier than beginning post-cycle therapy.

    Diet and current body weight will decide how far your fat loss can go,
    however a 5lbs loss of fat over a cycle when you’re already lean will improve
    the physique. You shouldn’t count on vital muscle gains – Anavar is not a bulking steroid, but it can promote some lean features whereas simultaneously shedding fats.
    Women can acquire in the 10lbs vary, while males tend to see smaller positive
    aspects underneath 10lbs.
    Girls usually don’t require PCT but ought to monitor hormonal
    steadiness post-cycle. We’ve compiled the knowledge and expertise of ourentire
    staff to create these three Free E-books that can helpyou lose fats and re-build your physique from the bottom up.
    Another problem to listen to that appears to be common with
    Anavar tablets is nausea, vomiting, and abdomen cramps,
    based on the MedlinePlus [11]. These may even extend to flu-like symptoms and
    appear to be correlated with taking bigger
    doses. Anavar will predominantly impression the growth of human tissue like muscular
    tissues and bones, according to the MedlinePlus [4].
    In patients who’ve suffered severe burns, it may possibly pace the expansion and therapeutic of muscle tissue.
    As with many other anabolic steroids, this steroid is on the prohibited
    list of the World Anti-Doping Company and is a Schedule III managed substance within the Usa.
    As beforehand acknowledged, Anavar is a very versatile compound when compared to different orals.
    Though Anavar will almost certainly cause a discount in endogenous testosterone ranges when used, even in small doses,
    it can still be used alone. In addition, Anavar also can increase blood stress and levels of cholesterol, both of
    that are threat elements for heart disease.

    References:

    steroid like supplements gnc, Chase,

  3. jbhnews.com说道:

    No se recomienda utilizar esteroides sin receta médica, ya que
    pueden tener efectos secundarios graves si no se utilizan adecuadamente.
    Es importante consultar a un profesional de la salud antes
    de comenzar cualquier tratamiento con esteroides.
    Los corticosteroides orales son esteroides que se toman por vía oral y se utilizan para tratar una variedad
    de condiciones médicas, como las enfermedades autoinmunes y las reacciones alérgicas graves.
    Estos esteroides son más potentes que los tópicos, inhalados u oftálmicos y pueden causar más efectos secundarios.

    Por ejemplo, uno de estos procedimientos incluyó la evaluación de un estudio de cinco años de utilización de la dexanfetamina.
    El uso no indicado fue muy común en la mayoría
    de los países, pero sobre todo en pacientes adultos, señala EMA.

    “La información sobre el abuso, el uso indebido, la sobredosis, la desviación y la dependencia de la dexanfetamina period escasa y a menudo se agrupaba con otras anfetaminas u otros estimulantes”, sostiene el
    organismo.
    Al reducir el nivel de prostaglandinas en su cuerpo, los AINE ayudan a aliviar
    el dolor de afecciones como la artritis, esguinces musculares o
    fracturas óseas. También ayudan a reducir la inflamación (hinchazón), disminuir la fiebre
    y prevenir la coagulación de la sangre. La manera en que actúan en su organismo para ayudar con una afección puede causar otro tipo de problemas.
    Los AINE pueden aumentar el riesgo de ataque al corazón,
    ataque cerebral, reacciones en la piel y sangrado estomacal e intestinal grave.
    Consulta a su farmacéutico sobre los efectos secundarios de cada medicamento que vaya a tomar.

    Esto puede causar problemas como malestar estomacal,
    úlceras, hinchazón y sangrado en el estómago y los intestinos.
    Algunos suplementos legales tienen el respaldo de la ciencia, y no son del todo inseguros.
    Las autoridades de los Países Bajos advierten a los ciudadanos de que
    no pidan analgésicos recetados por internet, después de que un hombre de 30 años muriera en Ámsterdam tras
    consumir oxicodona falsificada. Según el Instituto Trimbos, organismo neerlandés de investigación científica, las pastillas se compraron por
    internet sin receta. Te recordamos que si tienes dudas sobre
    este medicamento sin receta o cualquier otro puedes escribirnos por chat
    o por e mail. Todos los estudios demuestran que el consumo de anabolizantes conlleva una serie de
    efectos indeseables sobre todos los niveles y sistemas del organismo.

    A nivel psicológico, pueden provocar agresividad, cambios de humor, depresión, dependencia y episodios de
    paranoia. Además, su uso es ilegal en muchos países y está prohibido en competencias deportivas, lo
    que puede llevar a sanciones y problemas legales. Debido a sus múltiples efectos negativos, su consumo sin supervisión médica
    es altamente desaconsejado. Los esteroides anabólicos androgénicos son versiones sintéticas de la
    hormona masculina testosterona.
    Considera todas las opciones y consulta a profesionales de la salud para tomar
    decisiones informadas. El uso indebido de esteroides puede causar efectos secundarios
    graves, como problemas cardíacos, cambios hormonales y daño hepático.
    La adquisición de esteroides en el mercado negro puede conllevar consecuencias legales graves, incluyendo multas cuantiosas y posibles penas de prisión. Por lo
    tanto, es imperativo que aquellos que deseen utilizar estos compuestos para fines deportivos o de mejora física lo hagan de manera responsable y respetando
    la normativa authorized vigente en su lugar de residencia. El uso de esteroides anabólicos en el ámbito deportivo ha generado un intenso debate ético.
    Muchos deportistas optan por estos suplementos
    para mejorar su rendimiento, lo que plantea cuestiones sobre la equidad en la competencia.

    En resumen, al adquirir esteroides en España, es esencial ser cauteloso,
    investigar a fondo y asegurarse de cumplir con la
    normativa legal para garantizar una compra segura y un uso responsable de estos productos.

    Deca-Durabolin (Nandrolona) es valorado por sus efectos anabólicos y su capacidad para aumentar la retención de nitrógeno en los músculos.
    La testosterona es la hormona principal para
    la construcción de músculos y fuerza. Los esteroides basados
    en testosterona, como el enantato de testosterona y el cipionato de testosterona, son conocidos por su capacidad para estimular
    el crecimiento muscular y aumentar la fuerza. Los esteroides anabólicos,
    comúnmente conocidos simplemente como esteroides, afectan el cuerpo al imitar la testosterona, la hormona sexual masculina.
    La testosterona es un andrógeno potente y es la hormona
    principal responsable de las características sexuales masculinas.

    Los medicamentos sin receta siguen siendo fármacos, tal como los
    de receta, pueden servirle si se usan apropiadamente o dañarle si
    no lo hace con cuidado. Los AINEs que inhiben la
    enzima COX-2 o inhibidores selectivos de la COX-2 son un tipo de medicamentos destinados a evitar los efectos secundarios como el sangrado digestivo, aunque tienden a aumentar el riesgo de
    problemas del corazón. Es importante recalcar que la información presentada en este análisis es meramente orientativa y no
    constituye asesoramiento legal. Las leyes y regulaciones pueden cambiar con el tiempo, por lo que
    es elementary consultar fuentes fiables y actualizadas
    antes de realizar cualquier compra o uso de esteroides anabólicos.

    Algunos aceites fomentan la absorción, lo que hace que la
    piel absorba la mayoría de los esteroides en la crema, mientras que otros pueden ser
    menos efectivos y hacen que los esteroides se eliminen, en lugar de ingresar al
    sitio. También hay varios tipos diferentes de esteroides que se pueden usar en un esteroide
    tópico para abordar problemas específicos. A pesar
    de esa negativa, una solución alternativa también es mostrada en el vídeo.
    Este fármaco es muy útil para aliviar dolores leves o moderados,
    tales como dolores de cabeza, de menstruación, dentales
    o musculares. Su principio activo es de ibuprofeno-arginina, muy parecido, por tanto,
    al del Espidifen, que en este caso será de ibuprofeno.

    Habla con el proveedor de atención médica para que te
    ayude a comprender mejor los riesgos y los beneficios de los corticoides, y a tomar decisiones informadas sobre tu salud.

    El uso de esteroides anabólicos en el culturismo es
    un tema que requiere una consideración cuidadosa y una gran responsabilidad.
    A pesar de los numerosos beneficios que pueden ofrecer en términos de
    crecimiento muscular y rendimiento, también vienen con riesgos significativos.
    Estar bien informado, optar por productos de calidad y seguir las dosis recomendadas son pasos fundamentales para maximizar los beneficios y minimizar
    los riesgos. Los médicos recetan esteroides anabólicos legales para
    las personas que tienen deficiencias hormonales, particularmente los hombres cuyos cuerpos no producen suficiente testosterona para el
    crecimiento y desarrollo normales. También se pueden usar para tratar la osteoporosis o
    enfermedades inmunes graves, como el síndrome de inmunodeficiencia adquirida (SIDA).
    El suplemento comparable a los esteroides androstenediona, comúnmente llamado andro,
    ya no es authorized en los EE.

    References:

    jbhnews.com

  4. Kupe.aetutw.org说道:

    70918248

    References:

    anabolic steroids price; Kupe.aetutw.org,

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注