[olug] IP Tables for port forwarding

Todd Christopher Hamilton netarttodd at gmail.com
Mon Nov 2 17:17:15 UTC 2009


Here is what I really want:

If you receive a connection from ip 10.1.1.2 on port 8081 then forward 
the connection to ip 10.1.1.3 on port 8082.

What do you think?

Christopher Cashell wrote:
> On Mon, Nov 2, 2009 at 8:02 AM, Todd Christopher Hamilton
> <netarttodd at gmail.com> wrote:
>> Has anyone successfully used IP tables as a port forwarding mechanism?
>> I am currently using a perl app to perform my port forwards but I want
>> to be cooler than that.  Can anyone provide some insight?
> 
> I use it pretty heavily in multiple different ways.  It's really not
> that hard, once you play with it a little and get some good examples
> to base your stuff on.
> 
> If you describe exactly what you're trying to accomplish, we can most
> likely give you some sample rules to get you started.
> 
>> Todd
> 



More information about the OLUG mailing list