Single instance of tinyproxy Or have to setup multiple instances of tinyproxy


Recommended Posts

My VM has 5 private IP addresses: 10.20.57.11 - 15

I have to map different outbound WAN IP for each of the above IP.

10.20.57.11 -- mapped to 20.20.20.20

10.20.57.12 -- mapped to 20.20.20.21

and so on..

I can get it done  through the firewall.

 

Now what I want is to setup a forward proxy on port 9090 for all private IPs such that

--- when 10.20.57.11:9090 is used in browser settings, the user will get WAN IP 20.20.20.20

--- when 10.20.57.12:9090 is used in browser settings, the user will get WAN IP 20.20.20.21

and so on

 

Can this be achieved through single instance of tinyproxy? Or we have to setup multiple instances of tinyproxy with different IPs?

 

Any other better approach would also do... thanks in advance.

 

 

 

What firewall are you doing this in?

--> Its Cisco FIrepower 4120

 

you already mapped your outbound traffic?

--> Even though outbound traffic is mapped in fw, do we not need any service on some port for users to use?

--> users will not have access to the server but can only use the service through their browsers.

 

 

so you want a reverse proxy?  Running inside your firewall?  And you want it listening on 9090??

 

Sorry dude but at a complete loss to what your trying to accomplish here. 

 

If you have some services behind a firewall, and you own multiple public IPs.  And you have configured your services to use different public IPs?  Why do you not just do a simple port forward on the normal ports?  if you want an added security of a reverse proxy or the ability to get to multiple private IPs via the name in the uri .. like http://www.domaina.com vs http://www.domainb.com ok then.

 

But as of your current posts I just do not get what your wanting to do?? 

  • 2 weeks later...
  On 23/10/2016 at 14:01, BudMan said:

so you want a reverse proxy?  Running inside your firewall?  And you want it listening on 9090??

 

Sorry dude but at a complete loss to what your trying to accomplish here. 

 

If you have some services behind a firewall, and you own multiple public IPs.  And you have configured your services to use different public IPs?  Why do you not just do a simple port forward on the normal ports?  if you want an added security of a reverse proxy or the ability to get to multiple private IPs via the name in the uri .. like http://www.domaina.com vs http://www.domainb.com ok then.

 

But as of your current posts I just do not get what your wanting to do?? 

Expand  

Simple port forward is what we used to do till now.  Only IT personnel have access on these servers (that other team members will not have access to these) and  IT use to port forward to mentioned servers and then other team in the office use to access it locally. But we have to remove dependency of IT on productivity of other team. Sometimes IT are busy with other tasks to work on their requests efficiently.

 

For this reason we have to deploy a mechanism for other team members to use specific IP (different private nw) and port to have  outbound requests going through specific WAN IP.

 

so you want a reverse proxy?  ---- > No, I want a forward proxy running inside the firewall listening on port 9090 so that other team members can access the service.

 

Sorry if I am not able to explain it properly

 

 

"For this reason we have to deploy a mechanism for other team members to use specific IP (different private nw) and port to have  outbound requests going through specific WAN IP."

 

What???

 

So these servers are open to the public??  I am at a complete and utter loss to what your wanting to do??  If you have servers on your network that you do not want users to access locally.  But they are available to the public??  That makes ZERO freaking sense.

 

If you have local webserver, what could they be doing that you don't want your company users to access?  They sure would not have access to admin the servers, etc.

 

Sure if you want to put a proxy local to access something local, and then create a firewall rule to only allow that proxy to access that something.  You sure and the hell do not need multiple proxies running to do that..

  • Like 1
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • I know I will get shot down for this, but I prefer Windows 8, take the start screen away and use a third party start menu and Windows 8 was a pretty good OS for Microsoft. It was stable and ran very smoothly on my AMD bulldozer based computer, Windows 10 ran like a dog. When I changed to a Ryzen 7 17090 CPU, I tried to keep Windows 8 on it, but MS made that difficult with pop-ups all the time to get me to change to Windows 10 and the hacks to stop it, did not work that well. I have seen for a few years now the way Windows is going, and I don't like it and with Windows 11, what I saw was happening with Windows 10 have got worse with 11, certainly now with this AI rubbish. When I was looking at updating my PC a couple of years ago, I was looking at what CPUs were available, price and if it was going to make a lot of difference to what I use the machine for. To update my Pc to would have cost me £700 or more, that is just for the CPU, memory and board, maybe get a new case, the GPU is fine for what I use it for. I waited to see what AMD was bringing out and I thought I would look at what Apple was doing with their machines, and they launched the M2 machine at around the same time as AMD launched a new gen version of their Ryzen chip. A Mac mini m2 pro was £1,300, I had saved the money up over 12 months and yes the mini was over £600 more than the parts to update the PC, but it was a complete computer. I had the money, so I thought stick it, let's go for it. I don't regret it, what I do regret is not going for Mac years ago. Saying that Apple used Intel chips and I hate intel. I will have to update the PC at some point, but I will go for a R5 and not R7 and have less memory and a cheaper motherboard as the machine is only used for a few games these days.
    • Gemini CLI brings AI smarts to your Firebase terminal experience by Paul Hill Google has added its Gemini AI model directly into the command-line interface of Firebase Studio, its cloud-based IDE that uses AI to help with projects. The Gemini Command Line Interface (CLI) means that developers can expand past using AI for code, they can now also use AI for content generation and research without leaving the IDE. Gemini CLI comes with free usage tiers (60 model requests per minute, 1,000 requests per day with a Google login), it offers advanced AI features, and includes integrated Google Search for real-time content. Gemini CLI is also open source so it can be customized and accepts contributions. Accessing the Gemini CLI within Firebase Studio is straightforward, just press “Code view” in the top-right. From there, open up the terminal from the burger menu then select Terminal and New Terminal. Then in the terminal, type gemini and go through the setup, you can just press enter twice to get started. Out of the box, you’ll be able to get started with Gemini 2.5 Pro by just typing a query and pressing enter. There is also a non-interactive mode that’s useful for scripting and automation. To use it you use the –prompt or -p flags followed by your query wrapped in quotes, for example: gemini -p “What is the capital of France?” In this mode, Gemini CLI automatically closes after completing the request. During setup, there was the option to choose a theme. If you ever want to change it or look at other settings such as usage states, tool access, or checkpointing, you can edit them via .gemini/settings.json. You can also add API keys or choose different models in .env and you can using GEMINI.md to provide project-specific context, instructions, and coding styles in Gemini for a more tailored response. With Gemini CLI, you can have it explain code, refactor code, debug errors, and summarize information. It’s as simple as typing explain [file], refactor , debug “Error message”, or summarize “topic”. There are also built-in commands for managing the session such as /help for a command list, /chat to save and resume conversations, /tools to see available tools, and /restore to undo tool-made file edits. Firebase Studio, in true Google fashion, is a cloud-based IDE used in your web browser, making it excellent for weaker computers. To get started, you can head to the Firebase website. From there, tap Studio in the top-right.
    • I would prefer local ai over online ai on some tasks . They are good enough for tasks like artificial voice , image editing , text corrections , tagging etc . Local AI on Windows Photo editor is impressive for example . There are probably many other Ai that we could run on simple pc with GPUs .
    • oh look, we are under the control of the U.S again, is it not about time we as a country did this ourselves if they want it, not rely on greedy U.S. tech companies? We are capable of doing so as a country. I hate how the U.K have gone with no industry like we used to have and relying on other countries. Maybe we should follow Trump words, and make Britain great again and stop bending over to please Trump and other countries. Our government is Trumps puppet. I know we need to co-operate on some things, but come on.
  • Recent Achievements

    • Week One Done
      MIghty Haul earned a badge
      Week One Done
    • One Month Later
      MIghty Haul earned a badge
      One Month Later
    • Collaborator
      KD2004 earned a badge
      Collaborator
    • One Month Later
      ataho31016 earned a badge
      One Month Later
    • One Month Later
      Delahenty Machinery earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      592
    2. 2
      Michael Scrip
      200
    3. 3
      ATLien_0
      192
    4. 4
      +FloatingFatMan
      140
    5. 5
      Xenon
      127
  • Tell a friend

    Love Neowin? Tell a friend!