LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-17-2007, 06:54 PM   #1
flycast
Member
 
Registered: Jul 2006
Posts: 89

Rep: Reputation: 15
Setting up slackware as a proxy server


I am not sure what is next here.

I have a Slackware machine with Tiny Proxy and DansGuardian running just swell. I have used IP tables to redirect all traffic through that set up so that any traffic from any browser goes through DansGuardian first so the filter cannot be bypassed.

I now want to set the box up so that my son can connect using his Nintendo Wii and his Mac to the proxy server from a wireless access point so that his internet access from those two machines are filtered.

I have two NIC's (although only one is currently installed) and I have a Linksys BEFW11S4 wireless router. The installed router is connected to a 2wire DSL connection through a cable.

How do I Set up the NIC/wireless router to accept wireless connections from the Mac and Wii and forward those connections through the filter and then get the return traffic back to the correct device?
 
Old 04-17-2007, 09:17 PM   #2
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by flycast
I am not sure what is next here.

I have a Slackware machine with Tiny Proxy and DansGuardian running just swell. I have used IP tables to redirect all traffic through that set up so that any traffic from any browser goes through DansGuardian first so the filter cannot be bypassed.

I now want to set the box up so that my son can connect using his Nintendo Wii and his Mac to the proxy server from a wireless access point so that his internet access from those two machines are filtered.

I have two NIC's (although only one is currently installed) and I have a Linksys BEFW11S4 wireless router. The installed router is connected to a 2wire DSL connection through a cable.

How do I Set up the NIC/wireless router to accept wireless connections from the Mac and Wii and forward those connections through the filter and then get the return traffic back to the correct device?

On the wireless router i'm pretty sure there is Port Forwarding.

Theorectically setup the port forwarding to the proxy.

tell the router to forward all port 80 to Routers IP address.
The Router will pass all port 80 web traffic to the proxy to handle.
 
Old 04-17-2007, 09:25 PM   #3
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Port forwarding would only work from the WAN side. It won't forward packets coming from the LAN.

I am not sure why you would need a specific setup for this. The Nintendo Wii supports using a proxy to access the Internet in it's advanced Internet setup, and obviously the Mac would as well.

Both the Mac and the Wii will also allow you to lock down their Internet configurations with a password/PIN, so there would not be any issue with your son changing it to get unfiltered access (I assume he is old enough that this could be a problem).

Unless I am totally misreading your network description, I don't see that you need any special setup to do what you want.
 
Old 10-04-2012, 05:36 AM   #4
timsoft
Member
 
Registered: Oct 2004
Location: scotland
Distribution: slackware 15.0 64bit, 14.2 64 and 32bit and arm, ubuntu and rasbian
Posts: 495

Rep: Reputation: 144Reputation: 144
Smile one easy way to make it work

this thread is very old, but the info may help others. One way of solving the problem is to turn off dhcp on your wireless router. Run a dhcp server on your slackware box (take your pick. - dnsmasq works fine for me), and configure the dhcp server to return the slackware pc fixed (internal) ip address as the default gateway.
As long as your slack box has its own internal fixed ip, and knows the ip of your router as it's gateway/dns it will work. All users connecting and getting ip addresses via dhcp will now route their outgoing traffic via your slack box. If your security filter and iptables is set to do nat routing etc, that should be job done.
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
setting up ubuntu proxy server slackr007 Linux - Newbie 1 07-22-2006 08:43 PM
Does anyone have a guide for setting up SSH.Proxy server? martinj Linux - Networking 2 06-18-2005 02:39 AM
Setting up a Linix Server as a proxy server Bill Fox Linux - Software 2 01-31-2005 09:38 PM
setting up proxy server utsav_verma Linux - Newbie 1 04-09-2004 11:30 PM
Problem setting up web proxy server MadCactus Linux - Networking 2 11-21-2003 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration