利用FRP在VPS上辅助实现内网穿透

这次的歌是《近月少女的礼仪1》OP。

费了一番功夫把域名解析迁移到了DNSpod,国内总算可以正常访问了。正好顺手定了一个gigsgigscloud的新加坡VPS。网络还不错,三网直连,江苏电信延迟70ms左右。正好想起来以前看到关于端口映射的文章。于是就选择拿这个小VPS做端口映射突破内网。可以用自己家的服务器建站。

我选择的端口映射方案是Frp。它是目前口碑比较好的工具。项目地址:https://github.com/fatedier/frp

使用一键安装脚本很方便。

#wget https://raw.githubusercontent.com/clangcn/onekey-install-shell/master/frps/install-frps.sh             /下载脚本

#chmod 700 ./install-frps.sh                  /文件授权

#./install-frps.sh install                          /执行安装脚本,后面的install 参数安装必加

之后会提示你输入各种端口、web管理用户名和密码,连接密钥和日志设置等。安装完成后会显示相应信息,记得把那些保存下来。

之后还需要开启防火墙对应端口。访问frps Dashboard指向的地址即可打开管理界面。

管理界面一目了然,很容易上手。

客户端可从github下载并对照中文说明设置,注意客户端与服务端是一起打包的。

下载地址:https://github.com/fatedier/frp/releases

中文文档:https://github.com/fatedier/frp/blob/master/README_zh.md

有梅林固件的路由器,还可以直接在软件中心安装frpc。

参考:IT男的VPS系列教程 篇一:内网穿透(Frp)-拯救没有公网IP的你

“利用FRP在VPS上辅助实现内网穿透”的68个回复

  1. I am curious to find out what blog system you happen to be working with?
    I’m having some small security issues with my latest website and I’d like to
    find something more safe. Do you have any recommendations?

  2. Wow, wonderful weblog layout! How lengthy have you ever been running a blog for?

    you make running a blog glance easy. The full glance of your website
    is wonderful, let alone the content material!

  3. This design is spectacular! You most certainly know how to keep a reader entertained.
    Between your wit and your videos, I was almost moved
    to start my own blog (well, almost…HaHa!) Great job. I
    really loved what you had to say, and more than that,
    how you presented it. Too cool!

  4. Definitely believe that which you said. Your favorite
    justification seemed to be on the web the simplest thing to be aware of.
    I say to you, I definitely get irked while people think about worries that they plainly don’t know about.
    You managed to hit the nail upon the top and defined out
    the whole thing without having side-effects , people can take a signal.
    Will likely be back to get more. Thanks

  5. Excellent blog right here! Also your site a lot up very fast!
    What web host are you the use of? Can I am getting your affiliate hyperlink on your host?
    I want my site loaded up as fast as yours lol

  6. Hello, Neat post. There is an issue along with your website in internet explorer, may check this?

    IE nonetheless is the marketplace leader and a good
    portion of people will pass over your magnificent writing due to this problem.

  7. I absolutely love your blog and find nearly all of
    your post’s to be just what I’m looking for. Would you offer
    guest writers to write content available for you? I wouldn’t mind writing a post or elaborating on many of
    the subjects you write regarding here. Again, awesome web site!

  8. Hmm is anyone else having problems with the pictures
    on this blog loading? I’m trying to find out if its a
    problem on my end or if it’s the blog. Any feedback would be greatly appreciated.

  9. Great blog! Do you have any recommendations for aspiring writers?
    I’m planning to start my own site soon but I’m a little lost on everything.
    Would you advise starting with a free platform like WordPress or go for a paid option? There are so many choices out there that I’m totally confused ..
    Any ideas? Cheers!

  10. I think everything said made a lot of sense. But, what about this?
    suppose you were to write a killer title? I ain’t saying your information is
    not solid, but suppose you added something to maybe grab people’s attention? I mean 利用FRP在VPS上辅助实现内网穿透 – Fantasy Land is a little boring.

    You could look at Yahoo’s front page and note how they write post
    titles to get people interested. You might add a video or a related picture or two to get people
    interested about everything’ve got to say. Just my opinion, it might make your posts a little bit more interesting.

  11. First of all I want to say fantastic blog! I had a quick
    question which I’d like to ask if you don’t mind.
    I was curious to find out how you center yourself and clear your head before writing.
    I’ve had difficulty clearing my mind in getting my ideas
    out there. I do take pleasure in writing however it just seems like the first
    10 to 15 minutes are wasted just trying to figure out how to
    begin. Any recommendations or tips? Thanks!

  12. Hey There. I found your weblog the use of msn. That is a really neatly
    written article. I will be sure to bookmark it and come back to learn more
    of your helpful information. Thanks for the post.
    I’ll definitely comeback.

  13. I got this web page from my pal who shared with me concerning this web page and now this time I am visiting this website and reading very informative articles at this place.

  14. Good blog you have got here.. It’s difficult to find high quality writing like yours these
    days. I seriously appreciate people like you! Take care!!

  15. Howdy, I think your web site might be having internet browser compatibility issues.

    Whenever I look at your site in Safari, it looks fine however, when opening in Internet Explorer, it’s got some overlapping issues.
    I simply wanted to give you a quick heads up! Besides that, wonderful
    website!

  16. Hi! I just wanted to ask if you ever have any trouble with hackers?

    My last blog (wordpress) was hacked and I ended up
    losing several weeks of hard work due to no back up.
    Do you have any methods to stop hackers?

  17. If some one desires expert view regarding blogging and site-building afterward i
    propose him/her to pay a quick visit this website, Keep up the fastidious work.

  18. I think that is one of the most important info for me.
    And i’m glad reading your article. But wanna observation on few common issues,
    The website style is great, the articles is in point of fact
    great : D. Excellent task, cheers

  19. It is the best time to make some plans for the future and it is time to be happy.
    I’ve learn this submit and if I may just I wish to suggest you few attention-grabbing things or advice.
    Maybe you could write subsequent articles regarding this article.
    I wish to read even more issues about it!

  20. You really make it seem so easy with your presentation but I find this topic to be actually something that
    I think I would never understand. It seems too complicated and very broad for me.
    I am looking forward for your next post, I will try to get the hang of it!

  21. Hi, i feel that i noticed you visited my website so i came to return the desire?.I’m trying to to find things to improve my web site!I assume
    its ok to use a few of your concepts!!

  22. hi!,I like your writing very much! proportion we be in contact more approximately
    your article on AOL? I need an expert in this house to resolve my problem.
    May be that is you! Having a look forward to peer you.

  23. I just like the valuable info you supply on your articles.
    I will bookmark your weblog and take a look at again here regularly.

    I am fairly certain I will learn lots of new stuff proper here!
    Good luck for the following!

  24. Hello, i feel that i noticed you visited my blog so i got here to return the choose?.I am trying to
    find things to improve my website!I guess its
    adequate to make use of some of your ideas!!

  25. What’s up it’s me, I am also visiting this site on a regular basis, this site
    is really good and the viewers are truly
    sharing fastidious thoughts.

  26. Hello There. I found your blog using msn. This is an extremely well written article.
    I will make sure to bookmark it and return to read more of your useful info.
    Thanks for the post. I’ll certainly comeback.

  27. You are so awesome! I do not think I’ve truly read through a single thing like this
    before. So great to discover someone with a few original thoughts on this subject.
    Seriously.. thank you for starting this
    up. This site is something that’s needed on the internet, someone with a bit
    of originality!

  28. The subsequent time I read a weblog, I hope that it doesnt disappoint me as a lot as this one. I mean, I know it was my option to read, however I really thought youd have one thing attention-grabbing to say. All I hear is a bunch of whining about something that you possibly can repair when you werent too busy in search of attention.

发表评论

电子邮件地址不会被公开。 必填项已用*标注