LINUX programming

Moderators: ITA
Number of threads: 1347
Number of posts: 2935

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Forcing iptables through a SOCKS5 proxy Posted by horobica on 20 May 2004 at 5:35 AM
Hi ppl!

I have a linux box, providing internet access to a Windows LAN via NAT. The problem is that the internet connection of the linux box has a wide band on the metropolitan area, and almost none in rest. However, i have access to a solaris box that's also in the metro area but has a great internet connection. By "access", I mean I can run a SOCKS5 (or HTTP proxy, but this is harder) daemon on a port of my choice.

So, I figured that if I pass all the TCP traffic from my linux box through the SOCKS5 daemon, the entire LAN will have a wide band connection to the internet.

The problem is that I don't know how to make iptables use the SOCKS5 daemon. Does anybody know how this can be done?





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.