<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>网络教程 归档 - 666News</title>
	<atom:link href="https://www.666news.net/tag/%E7%BD%91%E7%BB%9C%E6%95%99%E7%A8%8B/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.666news.net/tag/网络教程/</link>
	<description>不定时分享服务器和网络资讯</description>
	<lastBuildDate>Mon, 28 Jul 2025 07:42:36 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.2</generator>

<image>
	<url>https://www.666news.net/wp-content/uploads/2024/10/cropped-cropped-Snipaste_2023-05-15_17-18-35-1-removebg-preview-32x32.png</url>
	<title>网络教程 归档 - 666News</title>
	<link>https://www.666news.net/tag/网络教程/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>通过FRP内网穿透实现Windows RDP远程桌面控制</title>
		<link>https://www.666news.net/2025/07/28/%e9%80%9a%e8%bf%87frp%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f%e5%ae%9e%e7%8e%b0windows/</link>
		
		<dc:creator><![CDATA[Marcus]]></dc:creator>
		<pubDate>Mon, 28 Jul 2025 07:42:36 +0000</pubDate>
				<category><![CDATA[vps测评]]></category>
		<category><![CDATA[maobuni]]></category>
		<category><![CDATA[网络教程]]></category>
		<guid isPermaLink="false">https://www.666news.net/?p=4260</guid>

					<description><![CDATA[<p>1. 下载FRP并安装 根据系统版本，从FRP的Github地址下载最新版本的程序包。（本站使用frp_0.6 [&#8230;]</p>
<p><a href="https://www.666news.net/2025/07/28/%e9%80%9a%e8%bf%87frp%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f%e5%ae%9e%e7%8e%b0windows/">通过FRP内网穿透实现Windows RDP远程桌面控制</a>最先出现在<a href="https://www.666news.net">666News</a>。</p>
]]></description>
										<content:encoded><![CDATA[<h3 class="wp-block-heading" id="1-下载frp并安装">1. 下载FRP并安装</h3>
<p>根据系统版本，从FRP的<a href="Github地址" rel="nofollow" target="_blank">Github地址</a>下载最新版本的程序包。（本站使用frp_<mark class="has-inline-color has-vivid-red-color" style="background-color:rgba(0, 0, 0, 0)">0.62.1</mark>_linux_amd64.tar.gz）</p>
<p>通常由有公网IP地址的Linux云主机作为FRP Server，仅需要保留（frps*）文件；</p>
<p>而控制端和被控制端作为FRP Client，仅需要保留（frpc*）文件。</p>
<p>编辑用于服务器端的frps.toml文件。bind_port 为客户端与服务端进行通信的端口，默认是7000，可以改成其他的，放行防火墙7000端口（使用远程桌面链接的端口需在客户端配置）。</p>
<p>Linux创建服务器端配置文件：</p>
<pre class="wp-block-code has-small-font-size"><code class="language-default">frps2.ini 
[common]
bind_port = 服务器监听端口
token = your_token</code></pre>
<p>Linux云主机服务端（frps）自启编辑文件ExecStart为个性化文件执行路径：</p>
<pre class="wp-block-code has-small-font-size"><code class="language-default">vi /etc/systemd/system/frps.service

[Unit]
Description=My terraform_start APP
After=syslog.target

[Service]
ExecStart=/root/frp_0.61.2_linux_amd64/frps -c /root/frp_0.61.2_linux_amd64/frps.toml 
SuccessExitStatus=143
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target</code></pre>
<h3 class="wp-block-heading" id="2-通过rdp远程连接windows服务器">2. Windows主机设置frpc客户端开机自启</h3>
<p>客户端（被控端）下载安装对应版本的frp，编辑frpc.ini文件，localPort为远程桌面端口，默认3389；serverAddr为服务端IP地址 serverPort为frps中绑定的监听端口，remotePort为中转端口，也要在服务端放开。<br />创建客户端配置文件frpc.ini<br /><code>[common]<br />server_addr = 公网服务器地址<br />server_port = 自选公网服务器监听端口<br />token = your_token</code></p>
<p>[proxy-name]<br />type = tcp<br />local_ip = 127.0.0.1<br />local_port = 3389<br />remote_port = 自选公网服务器中转端口</p>
<p><strong>编辑bat脚本：</strong></p>
<pre class="wp-block-code has-small-font-size"><code class="language-default">@echo off
cd /d "C:\Users\Downloads\frp_0.62.1_windows_amd64\frp_0.62.1_windows_amd64"

:loop
echo [%date% %time%] Starting frpc.exe...
frpc.exe -c frpc.ini
echo [%date% %time%] frpc.exe crashed or exited. Restarting in 10 seconds...
timeout /t 10 &gt;nul
goto loop</code></pre>
<p><strong>设置Windows开机自启：</strong></p>
<p>搜索打开计算机管理，在计划任务程序库中新建任务，触发器中选择系统启动，操作中选中创建的bat命令（注意勾选不管用户是否登录都要运行）。</p>
<figure class="wp-block-image size-full"><img alt="" class="wp-image-4634" decoding="async" fetchpriority="high" height="708" sizes="(max-width: 986px) 100vw, 986px" src="https://maobuni.com/wp-content/uploads/2025/07/image-19.png" srcset="https://maobuni.com/wp-content/uploads/2025/07/image-19.png 986w, https://maobuni.com/wp-content/uploads/2025/07/image-19-300x215.png 300w, https://maobuni.com/wp-content/uploads/2025/07/image-19-768x551.png 768w" title="通过FRP内网穿透实现Windows RDP远程桌面控制" width="986"/></figure>
<h3 class="wp-block-heading" id="3-开机自启frp">3. 通过RDP远程连接Windows服务器</h3>
<p>打开“远程桌面连接”程序，输入服务器地址:中转端口 ，就可以连接到被控Windows服务器了。</p>
<p>信息来源：<a href="https://maobuni.com/2025/07/27/frp-rdp/" rel="nofollow" target="_blank">猫不腻maobuni.com</a></p>
<p><a href="https://www.666news.net/2025/07/28/%e9%80%9a%e8%bf%87frp%e5%86%85%e7%bd%91%e7%a9%bf%e9%80%8f%e5%ae%9e%e7%8e%b0windows/">通过FRP内网穿透实现Windows RDP远程桌面控制</a>最先出现在<a href="https://www.666news.net">666News</a>。</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
