Solved

How to get a proxy server working behind a router?

Posted on 2007-11-28
6
1,937 Views
Last Modified: 2012-06-27
How could i make a proxy server to work behind a router? I tried several codes, and worked fine in my pc with direct connection and dynamic ip, and also in some other pcs with the same connection but does not work in any pc using router, how could this be done? i know using reverse connection it connects even if its using a router but dunno how to make the proxy to use a reverse connection
the code is big to paste it here so here is a link to download it rapidsharedotcom/files/73029306/code.rar.html
0
Comment
Question by:epagos
  • 2
  • 2
  • 2
6 Comments
 
LVL 28

Expert Comment

by:ciuly
Comment Utility
if I were you, I would configure the router to pass the proxy port to the machine where the proxy is running on. plain and simple.
0
 

Author Comment

by:epagos
Comment Utility
yes forwarding the port should make it work, but... a) the terminals are remote, i dont have physical access to the pcs using the proxy server and b) i dont know how to forward a port in a router hehe.
0
 
LVL 28

Expert Comment

by:ciuly
Comment Utility
a) it's kind of irrelevant since you are not working with those, but those are working with the proxy server. either that, or I've understood it wrong.
b) weeeel. I'm sure it's in the router manual.

why not put a pointer question in networking somewhere and mention your router model so that somebody who has that router can assist you in the port forwarding. it's really not that complicated :) but it differes a little from router to router.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 

Author Comment

by:epagos
Comment Utility
because i will be using more than one proxy and need something automatic that work in any pc
0
 
LVL 18

Expert Comment

by:Johnjces
Comment Utility
Having a router between your LAN and a WAN will simply prevent ports from coming into the LAN form the WAN. I am guessing, in looking at this post and your post/code on port forwarding mentioned in your post above, that your routers are most likely internet gateway routers which have a firewall and are using NAT, (network address translation) so that many users can share one WAN or Internet IP address.

You may be able to port forward out to the WAN without any difficulty but after that connection is dropped a reversal or getting that port in through the router to that PC is simply not going to happen. If you open a connection out the ports are generally open in both directions, unless there is a firewall rule not allowing that port through form any WAN source.

There is no way that I know of to port forward a port which would bypass a router that is in place to do just that, route packets, and safely route or forward ports where needed.

I guess you could put your LAN on a DMZ (bad idea) where all your PCs would be able to see all ports coming in and out through the router, but your router may not have such a LAN port.

John
0
 
LVL 18

Accepted Solution

by:
Johnjces earned 500 total points
Comment Utility
Did any of this help you?

John
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
Getting hacked is no longer a matter or "if you get hacked" — the 2016 cyber threat landscape is now titled "when you get hacked." When it happens — will you be proactive, or reactive?
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now