V6プラスでwebサーバー
このサイトはPPPOEの回線を使用しています。そのためポート80番と443番を使うことができるのでポートの指定が必要ありません。ただ、回線が遅い、IPがルーター再起動の度に変わるのでDDNSを使う必要があります。またルーターのファームを何度も変えたりしているとISP側から制限掛かることもあってPPPOE接続できなくなったりました。
V6プラスはIPが準固定で、DDNSが必要ありませんが、ポート80番と443番が使えず、1024から65535のうちの限られたポートしか使えません。これをwebサーバーとして使うにはURLをドメイン:ポート番号と指定しなくてはアクセスできないので不便です。
cloudflareが対応しているhttpsポートは以下の6つです。
- 443
- 2053
- 2083
- 2087
- 2096
- 8443
80番と443番以外のポートだと必ずポート番号の指定が必要になります。また、上記のポート以外だとproxyを使わずDNS onlyにしないとアクセスできません。
これらの443以外のポートが使える場合、portzillaというcloudflare内のアプリを使うとnginxを使わずに
ドメイン → ドメイン:ポート番号にリダイレクトしてくれます。
使い方は簡単。cloudflareからインストールするだけです。
Route Name 任意の名前
Route URL example.com
Route Target Proxies to a port on my domainを選択
Target port V6プラスで指定したポート番号
と設定して有効化します。
https://example.comにアクセスするとhttps://example.com:ポート番号に301リダイレクトします。
クライアントがweb閲覧を80番と443番しか許可していない場合は見れませんが、それ以外は問題なく使えることは確認できました。
ディスカッション
コメント一覧
I want to express my appreciation to you just for bailing me out of this difficulty. Because of exploring throughout the the web and getting principles that were not powerful, I thought my entire life was gone. Living devoid of the answers to the difficulties you’ve fixed by means of your good guide is a serious case, and the ones which could have in a negative way damaged my entire career if I hadn’t noticed the website. Your own know-how and kindness in handling every item was priceless. I am not sure what I would have done if I hadn’t discovered such a subject like this. I’m able to at this moment relish my future. Thanks so much for the high quality and result oriented help. I won’t think twice to suggest your web page to any individual who ought to have recommendations on this issue.
I intended to draft you one little bit of observation to help say thank you again about the magnificent methods you’ve shared on this page. It is so wonderfully open-handed with people like you to provide unreservedly precisely what many people might have supplied as an ebook in order to make some profit on their own, most importantly seeing that you could possibly have tried it in case you wanted. These thoughts additionally worked like the good way to know that many people have the identical zeal like my very own to realize way more when considering this condition. I believe there are many more fun times up front for individuals that read your site.
I wanted to compose you a tiny observation to finally thank you very much the moment again regarding the remarkable techniques you’ve discussed on this website. This has been really seriously generous with people like you to make openly what exactly a few people would have marketed as an e-book to help make some dough for themselves, precisely considering that you might have done it if you desired. These inspiring ideas additionally served to be a fantastic way to be sure that other individuals have the identical keenness just as mine to grasp whole lot more in respect of this condition. I am sure there are some more fun moments up front for those who look into your blog post.
I precisely wished to appreciate you all over again. I am not sure the things I would have done without the entire aspects documented by you about my subject matter. This was the challenging difficulty in my position, nevertheless noticing the very expert technique you handled it took me to weep for gladness. I’m just happy for this advice and even believe you recognize what a powerful job you were carrying out instructing many people through your site. Most likely you’ve never encountered any of us.
I in addition to my pals have already been following the best hints located on your site while immediately came up with an awful suspicion I never expressed respect to the web site owner for those techniques. Those guys happened to be so joyful to learn them and now have clearly been using these things. Many thanks for simply being simply kind and for choosing varieties of smart things most people are really desirous to learn about. My honest apologies for not expressing gratitude to you sooner.
I must show my appreciation for your kindness in support of men who need assistance with this particular content. Your very own dedication to passing the solution all-around appears to be exceedingly good and have all the time made regular people much like me to achieve their targets. The helpful instruction entails this much to me and extremely more to my peers. Thanks a ton; from everyone of us.
I simply wished to say thanks once more. I’m not certain the things that I might have achieved without the entire aspects discussed by you regarding such concern. Previously it was a depressing condition in my position, nevertheless being able to see your skilled manner you managed that took me to weep over fulfillment. Now i’m happy for this work and even hope that you recognize what an amazing job you’re undertaking teaching many people with the aid of your web blog. I know that you’ve never encountered all of us.
I wanted to put you one little word just to thank you the moment again relating to the spectacular methods you have discussed on this site. It was remarkably generous of people like you to provide unhampered what exactly a lot of people would have sold as an electronic book to generate some dough for themselves, even more so seeing that you could possibly have done it if you considered necessary. Those tips in addition served like the good way to be sure that other individuals have a similar fervor really like my very own to realize great deal more around this issue. I believe there are millions of more fun periods in the future for those who see your blog post.
I would like to express appreciation to the writer just for bailing me out of this particular matter. Just after looking out through the world wide web and finding advice which were not beneficial, I figured my life was over. Existing minus the approaches to the problems you have sorted out all through your entire article is a critical case, as well as ones which could have negatively affected my entire career if I hadn’t come across your site. The skills and kindness in playing with all the stuff was tremendous. I’m not sure what I would have done if I had not come upon such a thing like this. I can also at this moment look ahead to my future. Thanks so much for your expert and effective guide. I won’t be reluctant to refer your blog post to anybody who needs assistance on this problem.
I am glad for writing to let you know of the perfect experience my cousin’s child encountered going through your web page. She noticed lots of pieces, including what it is like to have an ideal teaching style to make most people just gain knowledge of selected problematic things. You truly exceeded our desires. Thanks for presenting such warm and helpful, trustworthy, informative not to mention unique guidance on your topic to Kate.
Aw, this was a very nice post. In idea I wish to put in writing like this moreover ?taking time and actual effort to make a very good article?but what can I say?I procrastinate alot and certainly not seem to get one thing done.
I simply wished to thank you very much yet again. I’m not certain the things that I could possibly have followed without the actual pointers contributed by you about my area of interest. It became a difficult matter in my view, however , seeing a expert tactic you processed the issue made me to weep with gladness. I’m just happier for this help and even believe you comprehend what a great job you’re undertaking educating most people with the aid of your web blog. I am sure you haven’t met all of us.