Linux Proxy Server?

Roger.Wilco

Senior Member
Joined
Mar 17, 2010
Messages
742
I'm looking for something to use as a proxy server. What do you guys suggest? There will be 4 or 5 pc's connecting to it for internet access and I must be able to use a 3G card for internet connection as well.
 

GoofySmurf

Expert Member
Joined
Dec 23, 2009
Messages
1,231
You can use ipfire or endian firewall both would be easy enough to customize and configure.
 

bullzeye.za

Expert Member
Joined
Sep 16, 2008
Messages
1,776
FreeBSD is by far the best tool for the job, or pfSense if you're not so technically inclined.

You will need to have two NIC's, or run it in a VM with both NICs on the same adapter.

Works beautifully, and can be managed remotely by the built in web GUI or by SSH
 

AstroTurf

Lucky Shot
Joined
May 13, 2010
Messages
30,534
I'm looking for something to use as a proxy server. What do you guys suggest? There will be 4 or 5 pc's connecting to it for internet access and I must be able to use a 3G card for internet connection as well.

Get a 3g Router (with or without ADSL support) and use Smoothwall.

Been using it for a few days now and all I can say is Awesome!
 

Praeses

Expert Member
Joined
Oct 29, 2005
Messages
4,932
I run a Mint Linux box with Squid 3. Works well, and I use VNC for remote desktop. You can also use Webmin to have a web interface to easily access squid configurations and do linux updates. (it has loads of other addons too!)

I use Firestarter to set up the iptables' rules. It's rather straight forward and works fine for my purposes.
 

<?php?>

Well-Known Member
Joined
Nov 15, 2010
Messages
367
ClearOS

http://www.clearfoundation.com/Software/overview.html

However, if you are going to be using a 3G card, you are either going to have to know (or know someone) who knows how to customize the server for that, or use a 3G router or 3G USB router.

Wilco, I recently deployed two ClearOS solutions. At one site, the client had a Telkom Tidus line for internet access, and a domain hosted with MWEB. Due to the peering issues, between MWEB and Telkom, all SMTP and POP3 data would be routed with high latency internationally.

To temporarily circumvent this, I used an old Linksys Ethernet 3G router that the client had, and manipulated the ClearOS server's routing table to redirect MWEB, SMTP and POP3 data over the 3G router with a prepaid SIM. Thus casual web browsing would be done over the Tidus and data intended for MWEB's mail exchangers would be routed over the 3G router. Fortunately MWEB and Telkom is now peering locally and I could remove the 3G router.

My point here is that since ClearOS is Red Hat based, you can easily manipulate the server to suite your requirements, additionally you could connect a E220 3G USB modem and connect to the internet via wvdial, maybe even introduce a small shell script to monitor and reconnect the 3G on demand.

ClearOS is an excellent feature rich distro and it can be configured via a well designed web administration interface.
 

<?php?>

Well-Known Member
Joined
Nov 15, 2010
Messages
367
Tazz Tux's wvdial.conf

http://mybroadband.co.za/vb/showthread.php/80851-Tazz-Tux-s-wvdial.conf-file

Code:
# wvdial for Vodacom Data. Created by Tazz_tux
# Version 1.0

# Change Log:
#
# Added support for HSDPA.
# Added Headers and version control.

[Dialer Defaults]

Phone = *99***1#
Username = username
Password = password
Stupid Mode = 1
Dial Command = ATDT

[Dialer pin]

Init1 = AT+CPIN=1234

[Dialer novatel]
Modem = /dev/ttyS1
Baud = 460800
Init2 = ATZ
Init3 = ATE0V1&D2&C1S0=0+IFC=2,2
ISDN = 0
Modem Type = Analog Modem

[Dialer option]

Modem = /dev/tts/USB0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

[Dialer hsdpa]

Modem = /dev/noz0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

[Dialer e1000]

Modem = /dev/usb/acm/0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

[Dialer onboard]

Modem = /dev/ttySHSF0
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem

[Dialer 2gonly]

Init4 = AT+COPS=0,0,"Vodacom-SA",0

[Dialer 3gonly]

Init4 = AT+COPS=0,0,"Vodacom-SA",2

[Dialer internet]

Init5 = AT+CGDCONT=1,"IP","internet";

[Dialer internetvpn]

Init5 = AT+CGDCONT=1,"IP","internetvpn";

[Dialer myapn]

Init5 = AT+CGDCONT=1,"IP","myapn"

[Dialer 384k]

Init6 = AT+CGEQMIN=1,4,64,384,64,384
Init7 = AT+CGEQREQ=1,4,64,384,64,384

[Dialer 144k]

Init6 = AT+CGEQMIN=1,4,64,144,64,144
Init7 = AT+CGEQREQ=1,4,64,144,64,144

[Dialer 64k]

Init6 = AT+CGEQMIN=1,4,64,64,64,64
Init7 = AT+CGEQREQ=1,4,64,64,64,64
 
Top