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. |