
18 Oct
2010
18 Oct
'10
9:28 p.m.
I assume the original poster needed a _simple_ solution on a linux box he could also use as a `desktop` .. running a bash script with the following iptable rules will surely sort him out : === #!/bin/bash iptables --flush iptables --table nat --flush iptables --delete-chain iptables --table nat --delete-chain # Set up IP FORWARDing and Masquerading iptables --table nat --append POSTROUTING --out-interface ppp0 -j MASQUERADE iptables --append FORWARD --in-interface eth0 -j ACCEPT echo 1 > /proc/sys/net/ipv4/ip_forward ==== On 18/10/2010, Job Muriuki <muriukin@gmail.com> wrote:
Sure. I would be out of my mind to install squid on to it. I could just shape traffic and other light operations on it.