LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-08-2017, 11:06 PM   #1
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

Rep: Reputation: Disabled
Low resource ip proxying


I would like to make http(s) requests to a given ip/port forwarded to another given ip/port, and have the response sent back to the initiator. The content passed back and forth will only be small json strings, and caching is not required. Filtering is also not required, and there are really no exceptional requirements. The machine acting as the proxy has limited resources, and I don't want to overly tax it. Recommendations? Thanks
 
Old 05-09-2017, 06:30 AM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
So you just want to set-up a reverse proxy within apache? Dunno what else you are looking for as a response. The main taxing part will be the SSL offloading since you'd need to handle that at the reverse proxy.

https://httpd.apache.org/docs/2.4/ho...rse_proxy.html
 
1 members found this post helpful.
Old 05-09-2017, 08:44 AM   #3
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 789

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by r3sistance View Post
So you just want to set-up a reverse proxy within apache? Dunno what else you are looking for as a response. The main taxing part will be the SSL offloading since you'd need to handle that at the reverse proxy.

https://httpd.apache.org/docs/2.4/ho...rse_proxy.html
Thanks r3sistance,

No, looking for forward, not reverse. Also, looking for low resource requirements where I expect Apache is on the higher end.
 
Old 05-09-2017, 09:13 AM   #4
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
Apache in MPM_Prefork is generally on the higher end, Apache with MPM_Event is relatively light but nginx should be lighter. If nginx is too much then you'd probably need to make something yourself. Since you mention json, node.js might also be a consideration but no experience with it myself.

As for the port redirection, maybe ip forwarding with iptables then? If that isn't any good then maybe a bit more information is required?

Last edited by r3sistance; 05-09-2017 at 09:54 AM. Reason: node.js
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: ArchBang – Best Arch based distro for old or low-end hardware with high performance and low resource utilization LXer Syndicated Linux News 0 10-25-2016 01:30 PM
[SOLVED] looking for a low resource WM to watch videos on TV mark_alfred Linux - Desktop 3 10-10-2016 11:51 PM
VERY Low resource distro? shadowofgrael Linux - General 6 11-30-2010 04:56 PM
Low resource PC - pick my distro valnar Linux - Distributions 5 02-02-2006 04:51 AM
Distro for low-resource PC joelwnelson Linux - Distributions 20 05-01-2004 05:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration