Unix Technical Forum

proxy server

This is a discussion on proxy server within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> is there a proxy server included with slackware. if not, does anybody know of a simple one that i ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 11:31 AM
Matthew Robinson
 
Posts: n/a
Default proxy server

is there a proxy server included with slackware. if not, does anybody know
of a simple one that i can just installpkg ./*.tgz and add it to
inetd.conf or /etc/rc.d

TIA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 11:31 AM
Wild Wizard
 
Posts: n/a
Default Re: proxy server

Matthew Robinson wrote:

> is there a proxy server included with slackware. if not, does anybody know
> of a simple one that i can just installpkg ./*.tgz and add it to
> inetd.conf or /etc/rc.d


What sort of proxy server?

--
Conscious is when you are aware of something and conscience is when you
wish you weren't.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 11:31 AM
Matthew Robinson
 
Posts: n/a
Default Re: proxy server

On Fri, 14 May 2004 22:45:03 +1000, Wild Wizard wrote:

> Matthew Robinson wrote:
>
>> is there a proxy server included with slackware. if not, does anybody know
>> of a simple one that i can just installpkg ./*.tgz and add it to
>> inetd.conf or /etc/rc.d

>
> What sort of proxy server?



so i can give internet access a computer connected to mine (im not
actually the gateway). bridging is a pain in the arse, so i was wondering
if there are any proxy's i could use. security isn't an issue, its for my
G/F and her dad is the gateway, so no security problems there.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 11:31 AM
Iwo Mergler
 
Posts: n/a
Default Re: proxy server

Matthew Robinson wrote:
> is there a proxy server included with slackware. if not, does anybody know
> of a simple one that i can just installpkg ./*.tgz and add it to
> inetd.conf or /etc/rc.d
>
> TIA


http://sharon.esrac.ele.tue.nl/pub/s.../EXTRAS/squid/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 11:31 AM
Alan Hicks
 
Posts: n/a
Default Re: proxy server

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In alt.os.linux.slackware, Matthew Robinson dared to utter,
> so i can give internet access a computer connected to mine (im not
> actually the gateway). bridging is a pain in the arse, so i was wondering
> if there are any proxy's i could use. security isn't an issue, its for my
> G/F and her dad is the gateway, so no security problems there.


I don't think you understand what a proxy server is; google for that.

Now, squid makes a good proxy server but it's not included with
Slackware. YOu may be able to find a package on linuxpackages.net, but
I reccomend installing it yourself if that's what you really need.
IIRC, apache can be made to work as a simple proxu server.

It sounds to me though that you need an actual router or bridge. Just
having a proxy server will only allow http requests out (unless you
also proxy other connections, that gets complicated). Note that you
would have to run a DNS server on your machine as well.

The best thing to do is configure your machine as a bridge, or a
router.

- --
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFApOVML3KiNGOqr6ERAkxDAJ9c4f75ldv5tqED+LAKee X9TLhK0QCfVwwG
tAikZRolY0Noxx4D3f1BDCE=
=SXyu
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-19-2008, 11:31 AM
Matthew Robinson
 
Posts: n/a
Default Re: proxy server


> http://sharon.esrac.ele.tue.nl/pub/s.../EXTRAS/squid/


i installed it (slapt-get --install squid)

i tried running it from the command line and it appeared to work (no
output).

i portscanned myself and port 3218 didn't show up:

PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
37/tcp open time
79/tcp open finger
110/tcp open pop-3
111/tcp open rpcbind
113/tcp open auth
139/tcp open netbios-ssn
587/tcp open submission
901/tcp open samba-swat
7741/tcp open unknown
32768/tcp open unknown

ive read the squid man page and the squid config file but ive got no idea
what to do. can somebody help?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-19-2008, 11:31 AM
Kelly Price
 
Posts: n/a
Default Re: proxy server

On Fri, 14 May 2004 13:03:12 +0100, Matthew Robinson
<mattyrobinson69@hotmail.com> probably wrote (unless it was a Kook):
> is there a proxy server included with slackware. if not, does anybody know
> of a simple one that i can just installpkg ./*.tgz and add it to
> inetd.conf or /etc/rc.d
>
> TIA


Not really, but there's a simple one called micro_proxy off of acme.com that
is eazy to compile (make and copy). Works very well with netpipes.

Of course, if you need something powerfull like Squid, you'll have to
compile it.

--
eval join"",map{chomp;s/^.+>\s*//;$_}grep{/>/}<DATA>; __DATA__
.' .' Kelly "STrRedWolf" Price -- WolfSkunk Designs
xX xX .' http://stalag99.net tygris @ same domain
"X "X X .'
_____. X" X > 0;
XXXXXXXx. X".' > 0;
'"XXXXXX| X > 0;
"XXX| X" > 0;
'XX' > 0;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-19-2008, 11:31 AM
Wild Wizard
 
Posts: n/a
Default Re: proxy server

Matthew Robinson wrote:

> On Fri, 14 May 2004 22:45:03 +1000, Wild Wizard wrote:
>
>> Matthew Robinson wrote:
>>
>>> is there a proxy server included with slackware. if not, does anybody
>>> know of a simple one that i can just installpkg ./*.tgz and add it to
>>> inetd.conf or /etc/rc.d

>>
>> What sort of proxy server?

>
>
> so i can give internet access a computer connected to mine (im not
> actually the gateway). bridging is a pain in the arse, so i was wondering
> if there are any proxy's i could use. security isn't an issue, its for my
> G/F and her dad is the gateway, so no security problems there.


I'd suggest just doing NAT on the second connection

/usr/sbin/iptables -t nat -A POSTROUTING -j MASQUERADE -o
$YOUR_ETH_CONNECTION_TO_GATEWAY_HERE -s $HER_IP_ADDRESS_HERE

should do the trick

--
HOW YOU CAN TELL THAT IT'S GOING TO BE A ROTTEN DAY:
#1040 Your income tax refund cheque bounces.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-19-2008, 11:31 AM
Thomas Overgaard
 
Posts: n/a
Default Re: proxy server


Matthew Robinson wrote :

> so i can give internet access a computer connected to mine


Then it might be "IP Masquerading" your looking for. There's some few
words from Patrick about this near the end of /etc/rc.d/rc.modules

You can find more about this here:
/usr/doc/Linux-HOWTOs/IP-Masquerade-HOWTO
--
Thomas O.

This area is designed to become quite warm during normal operation.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:38 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com