[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IP Forwarding

On Fri, 2005-08-19 at 12:48 -0400, theal wrote:
> I am trying to forward all ports from one ip address to another using
> iptables. can this be accomplished using a single network adaptor?
> anyone know what syntax to use?

do you mean:

a.b.c.d:e -> w.x.y.z:e
a.b.c.d:f -> w.x.y.z:f


a.b.c.d:* -> w.x.y.z:e

either way, you should man iptables, it has a very readable manpage and
will get you going with firewalls. pay close attention to the DNAT

-matt zagrabelny

Reply to: