am si io aceeasi intrebare, doar ca folosesc ipchains... :) de fapt, nu e aceeasi intrebare....dar ideea e cum rezolv redirectarea spre alt comp? ----- Original Message ----- From: "Mihai RUSU" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 15, 2002 15:17 Subject: [rlug] Re: port forwarding
> > On Tue, 15 Jan 2002, Santa wrote: > > > > > Salut! > > > > Am si eu o problema. Vreau sa fac port forwarding in asa fel incat ca ceea > > ce vine pe un anumit port pe un anumit IP sa fie redirectat catre un alt > > IP (neroutabil) si alt port. > > Folosesc iptables. > > > > Mentionez ca ceva de genul : > > iptables -I PREROUTING -t nat -p tcp -d IP --dport X -j DNAT --to AltIP:Y > > nu rezolva problema. > > > > ba o rezolva doar ca problema mai ramane sa iti pui ip_forward pe unu si > sa verifica chain-ul FORWARD din firewall sa permita ip-uri de la <sursa> > catre AltIP:Y si invers (daca e conexiune TCP) > > PS: tcpdump e de baza > > ---------------------------- > Mihai RUSU > "... and what if this is as good as it gets ?" > > --- > Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to > unsubscribe from this list. --- Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to unsubscribe from this list.
