Overclock.net › Forums › Specialty Builds › Servers › How to setup a home proxy server?
New Posts  All Forums:Forum Nav:

How to setup a home proxy server?

post #1 of 13
Thread Starter 
Hello,

I was just wondering whats the best way that I can setup a computer at my house to be able to relay a proxy through my network. IE. I connect to my external IP from another network, (login), and I am able to use the computer running at my house as a proxy server that can connect to outside websites while the computer I'm browsing on simply thinks I'm browsing to my home IP.

Any help or recommendations would be great, I have an older tower that I found and want to use it for this, it is running Ubuntu 9.04, but I do have the Windows XP install disc if that's necessary, though I'd rather use Ubuntu.

Thanks.
Pwnage PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 980x ASUS P6X58D Premium Sapphire 5970 6gb OCZ Gold DDR3 1600 
Hard DriveOptical DriveOSMonitor
Intel X25-M 80gb & 3x 1TB WD Caviar Sony Optiarc 24X Windows 7 Ultimate 64bit/Ubuntu 9.10/OS X 10.6.2 HP 2709m 
KeyboardPowerCaseMouse
Logitech Illuminated Keyboard CORSAIR CMPSU-750TX HAF 932 Razer Mamba 
Mouse Pad
N/A 
  hide details  
Reply
Pwnage PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 980x ASUS P6X58D Premium Sapphire 5970 6gb OCZ Gold DDR3 1600 
Hard DriveOptical DriveOSMonitor
Intel X25-M 80gb & 3x 1TB WD Caviar Sony Optiarc 24X Windows 7 Ultimate 64bit/Ubuntu 9.10/OS X 10.6.2 HP 2709m 
KeyboardPowerCaseMouse
Logitech Illuminated Keyboard CORSAIR CMPSU-750TX HAF 932 Razer Mamba 
Mouse Pad
N/A 
  hide details  
Reply
post #2 of 13
Not sure how to do this, but will post anyway to see if thread gets seen by the pros!
post #3 of 13
Hmm no answer here but am posting because I am curious to see if there is any simple way of doing this other than a VPN...
    
CPUMotherboardGraphicsRAM
i5 3570K Gigabyte GA-77X-UD5H IGP Intel HD4000 G.SKILL Ripjaws X Series 8GB (2x4GB) DDR3 1600 
Hard DriveOptical DriveOSMonitor
512gb Crucial M4 & 2x750GB WD Blacks in Raid 0 Lite-On iHAS424-98 Windows 7 Ultimate SP1 64-Bit Acer G24 24" 2ms@1920x1200 
KeyboardPowerCaseMouse
USB Keyboard SILVERSTONE ST1000-P 1000W Case Labs MH10 #1 Logitech Wireless 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i5 3570K Gigabyte GA-77X-UD5H IGP Intel HD4000 G.SKILL Ripjaws X Series 8GB (2x4GB) DDR3 1600 
Hard DriveOptical DriveOSMonitor
512gb Crucial M4 & 2x750GB WD Blacks in Raid 0 Lite-On iHAS424-98 Windows 7 Ultimate SP1 64-Bit Acer G24 24" 2ms@1920x1200 
KeyboardPowerCaseMouse
USB Keyboard SILVERSTONE ST1000-P 1000W Case Labs MH10 #1 Logitech Wireless 
  hide details  
Reply
post #4 of 13
Install a proxy server like squid?
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #5 of 13
Thread Starter 
well yeah I can kinda get squid to work, when I browse from the local machine to it's own IP it says "it works!" although I have no idea how to do anything beyond that, such as configure a program on a different computer to run through that proxy, how to test it, then probably forward the port so that I can use it externally.
Pwnage PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 980x ASUS P6X58D Premium Sapphire 5970 6gb OCZ Gold DDR3 1600 
Hard DriveOptical DriveOSMonitor
Intel X25-M 80gb & 3x 1TB WD Caviar Sony Optiarc 24X Windows 7 Ultimate 64bit/Ubuntu 9.10/OS X 10.6.2 HP 2709m 
KeyboardPowerCaseMouse
Logitech Illuminated Keyboard CORSAIR CMPSU-750TX HAF 932 Razer Mamba 
Mouse Pad
N/A 
  hide details  
Reply
Pwnage PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 980x ASUS P6X58D Premium Sapphire 5970 6gb OCZ Gold DDR3 1600 
Hard DriveOptical DriveOSMonitor
Intel X25-M 80gb & 3x 1TB WD Caviar Sony Optiarc 24X Windows 7 Ultimate 64bit/Ubuntu 9.10/OS X 10.6.2 HP 2709m 
KeyboardPowerCaseMouse
Logitech Illuminated Keyboard CORSAIR CMPSU-750TX HAF 932 Razer Mamba 
Mouse Pad
N/A 
  hide details  
Reply
post #6 of 13
Quote:
Originally Posted by tvick47;12746333 
well yeah I can kinda get squid to work, when I browse from the local machine to it's own IP it says "it works!" although I have no idea how to do anything beyond that, such as configure a program on a different computer to run through that proxy, how to test it, then probably forward the port so that I can use it externally.

Open the program's preferences and put in the proxy server host and port?

As for reaching it from outside, you'll have to know your IP address (and hope it doesn't change) or use a dynamic DNS service. You'll also have to set up a port forward on your router.
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #7 of 13
Thread Starter 
Yeah I mean I seem to understand most of it, it just won't work for some reason.

I try to specify the port in squid.conf ex 1234, and from firefox from another computer on the network I put the computers local ip, in this case 10.0.1.6, and the port which I believe is correct, but then the connection just times out.


And as for the second part, I can easily port forward and my IP doesn't change so that isn't a problem.
Pwnage PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 980x ASUS P6X58D Premium Sapphire 5970 6gb OCZ Gold DDR3 1600 
Hard DriveOptical DriveOSMonitor
Intel X25-M 80gb & 3x 1TB WD Caviar Sony Optiarc 24X Windows 7 Ultimate 64bit/Ubuntu 9.10/OS X 10.6.2 HP 2709m 
KeyboardPowerCaseMouse
Logitech Illuminated Keyboard CORSAIR CMPSU-750TX HAF 932 Razer Mamba 
Mouse Pad
N/A 
  hide details  
Reply
Pwnage PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 980x ASUS P6X58D Premium Sapphire 5970 6gb OCZ Gold DDR3 1600 
Hard DriveOptical DriveOSMonitor
Intel X25-M 80gb & 3x 1TB WD Caviar Sony Optiarc 24X Windows 7 Ultimate 64bit/Ubuntu 9.10/OS X 10.6.2 HP 2709m 
KeyboardPowerCaseMouse
Logitech Illuminated Keyboard CORSAIR CMPSU-750TX HAF 932 Razer Mamba 
Mouse Pad
N/A 
  hide details  
Reply
post #8 of 13
The squid default port is 3128, and there's not much reason to change it. Did you open that port in your Linux firewall?
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #9 of 13
Thread Starter 
Okay so when I am able to connect using a separate computer on firefox, I get an access denied error.
Quote:
ERROR
The requested URL could not be retrieved

While trying to retrieve the URL: http://google.com/

The following error was encountered:

* Access Denied.

Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.

Your cache administrator is webmaster.
Generated Wed, 16 Mar 2011 00:50:23 GMT by tyler-server (squid/2.7.STABLE3)

And thats with my proxy settings towards 10.0.1.6 and port 3128.

Is there something I need to add to the configuration to allow this IP? I have
Quote:
acl localhost src 127.0.0.1/255.255.255.255
Which may not be the safest thing but I want to make sure it works first and it doesn't.

Unless I'm doing something wrong, what is the line I need to add to allow the certain IPs?
Pwnage PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 980x ASUS P6X58D Premium Sapphire 5970 6gb OCZ Gold DDR3 1600 
Hard DriveOptical DriveOSMonitor
Intel X25-M 80gb & 3x 1TB WD Caviar Sony Optiarc 24X Windows 7 Ultimate 64bit/Ubuntu 9.10/OS X 10.6.2 HP 2709m 
KeyboardPowerCaseMouse
Logitech Illuminated Keyboard CORSAIR CMPSU-750TX HAF 932 Razer Mamba 
Mouse Pad
N/A 
  hide details  
Reply
Pwnage PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 980x ASUS P6X58D Premium Sapphire 5970 6gb OCZ Gold DDR3 1600 
Hard DriveOptical DriveOSMonitor
Intel X25-M 80gb & 3x 1TB WD Caviar Sony Optiarc 24X Windows 7 Ultimate 64bit/Ubuntu 9.10/OS X 10.6.2 HP 2709m 
KeyboardPowerCaseMouse
Logitech Illuminated Keyboard CORSAIR CMPSU-750TX HAF 932 Razer Mamba 
Mouse Pad
N/A 
  hide details  
Reply
post #10 of 13
If all you're allowing is the local host, then no other machines will be able to connect to the proxy server. Your best bet, especially if you want to use it outside from random places on the Internet, is to set up a username and password for yourself.
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Servers
Overclock.net › Forums › Specialty Builds › Servers › How to setup a home proxy server?