Index

Subject : Re: LUG: Question about web proxies

From : Alex <akdom2001@gmail.[redacted]>

Date : Fri, 12 Mar 2010 23:20:43 -0500

Parent


Daniel... I'm assuming your trying to set this up as a firewall (i.e. block / monitor / manipulate traffic).   I would just google for "iptables firewall" and/or "iptables NAT" .  You should find a decent tutorial.

On Fri, Mar 12, 2010 at 11:16 PM, Brian Cottingham < spiffytech@gmail.[redacted] > wrote:
I usually see people turn to SOCKS proxies (a feature built into OpenSSH) when they want to proxy traffic through arbitrary *nix machines, but I've only seen it done for specific applications. I think OpenVPN can be configured to route system-wide traffic, but configuring that isn't exactly simple. I'm not aware of a simple way to accomplish this.

Also, these solutions only work for outbound traffic. Your diagram implies The Internet should be able to initiate a connection to [my computer] via the proxy, but that fundamentally cannot happen transparently to The Internet. At best, you could configure OpenSSH on the proxy to forward incoming traffic on specific ports to [my computer].

-Brian



On Fri, Mar 12, 2010 at 8:40 PM, Daniel Underwood < daniel.underwood@ncsu.[redacted] > wrote:
What's the simplest way to route all internet traffic through a
particular server running on Linux with a static IP?  Suppose the server
has IP address 1.2.3.4.  I want all internet traffic to move as follows

[internet] <==> [1.2.3.4] <==> [my computer]

TIA,
Daniel
--
Daniel Underwood
North Carolina State University
Graduate Student - Operations Research
email: daniel.underwood@ncsu.[redacted]
phone: XXX.302.3291
web: http://www4.ncsu.edu/~djunderw/




Replies :