描述:
RINETD是一个开源的端口转发工具,将TCP连接从一个IP地址和端口重定向到另一个IP地址和端口。rinetd是一个单进程服务器,可处理与文件中指定的地址/端口对的任意数量的连接。rinetd使用非阻塞I / O作为单个进程运行,因此它可以重定向大量连接,而不会对机器造成严重影响。这使得在IP伪装防火墙内的机器上运行TCP服务变得很实用。rinetd 不重定向FTP,因为FTP需要多个套接字。
配置文件位于: /etc/rinetd.conf
转发规则:
配置文件中的转发规则的格式如下所示:
bindaddress bindport connectaddress connectport
[bindaddress] [bindport] [connectaddress] [connectport] 绑定的地址 绑定的端口 连接的地址 连接的端口 [Source Address] [Source Port] [Destination Address] [Destination Port] 源地址 源端口 目的地址 目的端口
例如:
0.0.0.0 80 10.1.1.2 80
通过rinetd将地址0.0.0.0 #server-A的端口80重定向到#server-B IP地址10.1.1.2的80端口的所有连接
配置示例:
$ vim /etc/rinetd.conf
0.0.0.0 8080 10.1.1.2 8080 0.0.0.0 2222 10.1.1.3 3389 192.168.1.1 80 192.168.12.10 80 allow *.*.*.* logfile /var/log/rinetd.log
备注:
0.0.0.0表示本机绑定所有可用地址
将所有发往本机8080端口的请求转发到10.1.1.2的8080端口
将所有发往本机2222端口的请求转发到10.1.1.3的3389端口
将所有发往1.2.3.4的80端口请求转发到192.168.12.10的80端口
allow设置允许访问的ip地址信息,*.*.*.*
表示所有IP地址
logfil设置打印的log的位置
CentOS第三方源:
$ vim /etc/yum.repos.d/nux-misc.repo:
[nux-misc] name=Nux Misc baseurl=http://li.nux.ro/download/nux/misc/el6/x86_64/ enabled=0 gpgcheck=1 gpgkey=http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
命令行选项:
-c用于指定备用配置文件
-h帮助消息
-v显示版本号
$ /etc/init.d/rinetd start|stop|status
cialis 20mg price – cialis 10mg sale viagra 150mg drug
I could not resist commenting. Very well written.
Asking questions are in fact pleasant thing if you are not understanding something totally, except this paragraph presents nice understanding yet.Here is my blog post … eliminate yeast infection
Right here is the perfect blog for everyone who really wants to find out about this topic. You know a whole lot its almost hard to argue with you (not that I actually will need to…HaHa). You definitely put a new spin on a subject which has been written about for ages. Wonderful stuff, just excellent.
synthroid 75mcg over the counter – oral plaquenil buy plaquenil 200mg online cheap
I think this is a real great blog article.Thanks Again. Will read on…
Im obliged for the blog article.Really looking forward to read more. Fantastic.
Excellent article. I absolutely appreciate this site. Thanks!
http://ezproxy.cityu.edu.hk/login?url=https://sickforprofit.com/tips-belajar-membaca-candlestick/
Hey, thanks for the blog post.Much thanks again. Cool.
Dead pent content, Really enjoyed reading through.
Really enjoyed this blog post.Really thank you! Great.
buy ventolin 4mg online cheap – purchase priligy for sale buy priligy 90mg
I love it whenever people get together and share views. Great blog, continue the good work!
This is a very good tip especially to those fresh to the blogosphere. Short but very precise infoÖ Appreciate your sharing this one. A must read post!
ventolin inhalers – ventolin hfa inhaler ventolin 90
I’m impressed, I must say. Seldom do I encounter a blog that’s equally educative and entertaining, and let me tell you, you have hit the nail on the head. The issue is an issue that too few men and women are speaking intelligently about. I am very happy that I stumbled across this during my hunt for something regarding this.
Very good blog post.Thanks Again. Awesome.
purchase vardenafil – levitra 10mg pill clomiphene cost
Im obliged for the blog article. Great.
I like this post, enjoyed this one thank you ketogenic diet for weight loss posting.
You’re so cool! I don’t believe I have read through a single thing like this before. So good to find someone with a few unique thoughts on this subject. Really.. thanks for starting this up. This site is something that is needed on the web, someone with some originality.
Enjoyed every bit of your article post.Thanks Again. Want more.
buy lisinopril 5mg generic – buy prilosec 20mg sale order atenolol pills
I will right away grab your rss feed as I can’t find your e-mail subscription link or newsletter service. Do you’ve any? Kindly let me know so that I could subscribe. Thanks.
glucophage 1000mg pill – order metformin online order norvasc 5mg pill
bookmarked!!, I like your website.
A round of applause for your post. Awesome.
order plaquenil pill – order baricitinib online cheap buy baricitinib 4mg pills
This is one awesome post.Really looking forward to read more. Really Great.
I enjoy listening to all types of music from British blues, Garage rock, and even talk radio.
Hi there colleagues, good post and nice arguments commented here, I am in factenjoying by these.
Thanks for the marvelous posting! I truly enjoyed reading it, youhappen to be a great author.I will make sure to bookmark your blog and may come back later in life.I want to encourage you to definitely continue your great job, have a nice evening!
Hi! This is my first visit to your blog! We area group of volunteers and starting a new project in a community in the same niche.Your blog provided us valuable information to work on. You have done a marvellous job!
Really enjoyed this article post.Really thank you! Great.
I loved your post.Much thanks again. Really Cool.
buy furosemide without prescription – order lasix 100mg generic ivermectin buy australia
Thanks again for the article.Really thank you! Awesome.
time to time knows what PlayStation scammers since it took us a
It’s difficult to find knowledgeable people in this particular subject, but you sound like you know what you’re talking about! Thanks
Hey! Do you know if they make any plugins to assist with SEO? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good results. If you know of any please share. Appreciate it!
Spot on with this write-up, I absolutely feel this web site needs a great deal more attention. I’ll probably be back again to read through more, thanks for the info!
prednisolone 40mg over the counter – order sildenafil 150mg order viagra pill
reports about health registration department co harrassing phone calls ivermectina ivermectin for humans for sale
This is a topic that’s close to my heart… Cheers! Exactly where can I find the contact details for questions?
Heya are using WordPress for your blog platform? I’m new to the blog world but I’m trying to get started and create my own. Do you require any html coding expertise to make your own blog? Any help would be greatly appreciated!
A fascinating discussion is worth comment. There’s no doubt that that you need to publish more on this subject matter, it may not be a taboo subject but typically people do not speak about these subjects. To the next! All the best.
I really like and appreciate your article.Really looking forward to read more. Really Great.
I really like and appreciate your blog article.Really looking forward to read more. Cool.
After I initially left a comment I seem to have clicked the -Notify me when new comments are added- checkbox and now each time a comment is added I recieve 4 emails with the same comment. There has to be an easy method you can remove me from that service? Thanks.
amoxicillin 250mg sale – order zithromax sildenafil 50mg brand
Really enjoyed this blog post.Thanks Again. Fantastic.
Greetings! Very useful advice within this post! It is the little changes which will make the most significant changes. Thanks a lot for sharing!
Thanks a lot for the blog article.Thanks Again. Great.
Im thankful for the article post. Really Cool.
deltasone 10mg drug – order prednisone 10mg online isotretinoin online order
Wow, great blog post.Thanks Again. Keep writing.
I really like and appreciate your blog article. Awesome.
Thanks a lot for the blog post.Thanks Again. Want more.
Great article.Really thank you! Will read on…
Saved as a favorite, I really like your web site!
Just to let you know your blog looks a little bit unusual on Firefox on my notebook with Linux.
Very neat article post.Much thanks again. Keep writing.
tadalafil pill – cheap tadalafil for sale modafinil ca
Great blog post.Much thanks again. Awesome.
I dugg some of you post as I cogitated they were very useful very beneficial
I really enjoy the article post.Thanks Again.
Excellent article. I am facing some of these issues as well..
Thanks so much for the article. Really Great.
It’s hard to come by knowledgeable people on this subject, but you sound like you knowwhat you’re talking about! Thanks
I appreciate you sharing this blog post.Thanks Again. Really Great.
Hey, thanks for the post.Really looking forward to read more. Awesome.
I really like and appreciate your blog.Really thank you!
Nicely put. Thanks a lot! canadian pharmacies online
Enjoyed every bit of your article.Really looking forward to read more.
I really liked your article post.Thanks Again. Really Cool.
doxycycline ca – tadalafil online brand cialis 5mg
Muchos Gracias for your article.Much thanks again. Fantastic.
F*ckin’ awesome issues here. I am very satisfied to peer your post. Thank you so much and i am having a look forward to contact you. Will you kindly drop me a e-mail?
hydroxychloroquine brand name hydroxychloroquine reviews
Hey There. I found your blog using msn. This is a really wellwritten article. I will be sure to bookmark it and return to read moreof your useful information. Thanks for the post. I’ll definitely return.
I think this is a real great blog post.Much thanks again. Great.
ivermectin for human stromectol online pharmacy
Thanks for the article post.Really thank you! Much obliged.
It’s going to be ending of mine day, but before finish Iam reading this enormous paragraph to improve my experience.
I will immediately grab your rss as I can’t tofind your email subscription link or newsletter service. Do you’ve any?Please allow me recognize so that I may just subscribe.Thanks.
alanya sigorta şirketleri arıyorsanız firmamızı mutlaka ziyaret etmelisiniz.
can you buy stromectol over the counter – cheap levitra 10mg levitra online
Really enjoyed this blog article.Much thanks again. Really Great.
Muchos Gracias for your post.Really thank you! Really Cool.
WOW just what I was searching for. Came here by searching for마이다스 카지노
Awesome article post. Awesome.
fli book tutoriel linkedin 2018 Naruto Shippuden Episode 463 Gratuitement baklava club book
Thank you for your blog article.Much thanks again. Fantastic.
This article is dedicated to all those who know what is billiard table; to all those who do not know what is pool table; to all those who want to know what is billiards;
buy amoxil 500mg generic – buy amoxil 1000mg online buy vardenafil 10mg generic
Major thankies for the blog article. Much obliged.
Im grateful for the article.Much thanks again. Want more.
Thanks a lot for the post.Much thanks again.
I really liked your blog.Thanks Again. Cool.
A round of applause for your blog.Really thank you! Awesome.
Appreciate you sharing, great blog.Really looking forward to read more. Awesome.
Im thankful for the blog article. Fantastic.
sildenafil for sale sildenafil citrate online
acillin pill – order tadalafil online tadalafil 5mg for sale
hydroxychloroquine plaquenil hydroxychloroquine and covid
tadalafil max dose what is tadalafiltadalafil
Major thanks for the post.Really looking forward to read more. Awesome.
cenforce 50 usa and uk – malegra 200 usa and uk malegra 200 usa and uk
Im thankful for the blog post.Thanks Again. Keep writing.
Fantastic blog article.Thanks Again. Really Cool.
I cannot thank you enough for the post. Really Great.
hydroxyquine medication hydroxyquinoline hydrocychloroquine
Wow, great blog post.Thanks Again. Want more.
order cefuroxime pill – cialis buy online tadalafil 20mg usa
I really enjoy the blog post.Thanks Again. Want more.
Awesome blog article.Really looking forward to read more. Great.
Fantastic article.Really looking forward to read more. Really Great.
I truly appreciate this post.Thanks Again. Much obliged.
I value the blog.Thanks Again. Great.
Hello my friend! I wish to say that this post is awesome, nice written and come with almost all vital infos. I would like to see more posts like this .
Awesome post. Fantastic.
thank you for all your efforts that you have put in this. Very interesting info. Wayne All I have to say about that is asphinctersayswhat. Arcade owner What Wayne Exactly. by Wayne as World.
Great, thanks for sharing this blog article. Much obliged.
Nice response in return of this issue with genuine arguments and explaining everything about that.
budesonide for sale online – cialis 10mg over the counter order antabuse online cheap
Very neat post.Really looking forward to read more. Really Great.
A big thank you for your article post.Much thanks again. Want more.
A big thank you for your blog article. Awesome.
Major thankies for the blog article.Really looking forward to read more. Awesome.
Thanks again for the blog post.Really looking forward to read more. Will read on…
Very informative article post.Thanks Again. Awesome.
Really informative blog post.Really thank you!
wow, awesome blog post.Thanks Again. Keep writing.
Enjoyed every bit of your article post.Really looking forward to read more. Really Cool.
order sildenafil without prescription – price of ivermectin ivermectin 0.08 oral solution
[url=https://lasix.sale/]124 mg furosemide[/url]
Enjoyed every bit of your post. Much obliged.
It’s actually a cool and helpful piece of info. I’m satisfied that you shared this helpful info with us.Please keep us up to date like this. Thank you for sharing.
[url=https://augmentin.shop/]rx coupon augmentin[/url]
Really appreciate you sharing this post.Really thank you! Really Cool.
Aw, this was a very nice post. Taking a few minutes and actual effort to produce a very good article… but what can I say… I procrastinate a whole lot and never manage to get nearly anything done.
I truly appreciate this post.Thanks Again. Great.
Bardzo interesujący temat, dzięki za wysłanie wiadomości spirometr astma.
Muchos Gracias for your article.Thanks Again. Keep writing.
I am so grateful for your blog post.Really looking forward to read more. Much obliged.
Thanks For This Blog, was added to my bookmarks.
Very energetic blog, I enjoyed that bit. Will there bea part 2?
Wow, great blog article. Awesome.
buy cephalexin 250mg generic – erythromycin 500mg over the counter erythromycin 250mg ca
These are genuinely fantastic ideas in on the topic of blogging.You have touched some good things here. Any way keep up wrinting.
[url=http://buyazithromycin.shop/]azithromycin discount drug coupon[/url]
This is a topic which is close to my heart… Many thanks! Where are your contact details though?
There is obviously a lot to know about this. I suppose you made some nice points in features also.
It¦s actually a nice and useful piece of information. I am satisfied that you simply shared this helpful information with us. Please stay us informed like this. Thanks for sharing.
buy bactrim 480mg for sale – viagra 50mg pill viagra medication
augmentin 625mg over the counter – cost tadalafil 20mg cialis otc
prednisolone 40mg cheap – prednisolone order tadalafil 40mg ca
sildenafil 100mg tablet – order viagra without prescription free shipping viagra
[url=https://kredits-life-me.ru/]беспроцентные займы на карту[/url]