Setting 3Proxy at home to redirect incoming connections

Recently I wanted to set-up a PC as a web proxy. So client could browse the internet with the server IP address. As a web server software I used a great program 3Proxy.


Hardware setup and IP addresses

PC that runs 3Proxy has internal ip address 192.168.2.3 and connects to the internet via router. This is importang thing, because client can not access proxy server directly. You need to configure your router so client could connect. In my case I set up port mapping from external port 3128 to internal port 8080 and internal ip address 192.168.2.3. That is it. Incoming traffic from port 3128 is redirected to the 192.168.2.3:8080. Take a note of your router external IP address. Clients will use it. Assume, that external ip address is 10.1.2.3.


Proxy setup
internal 192.168.2.3
external 192.168.2.3
# internal and external addresses should be the same
# see http://3proxy.ru/faqe.asp

nserver
nserver
# DNS servers of your ISP

nscache 65536
# DNS cashe

auth none

log
allow *

proxy -p8080 -a
# set up anonymous proxy server to port 8080


Run 3Proxy. After this your can set-up your client's browser to access internet via proxy. Enter 10.1.2.3 (external IP of your router) as proxy address. Enter 3128 as proxy port.
Enjoy!


**** WARNING! **** The presented configuration does not secure your proxy. It should be used only for test purposes. The author is not responsible for how you use information from this post. Use at your own risk.

No comments:

Labels