I have restarted my pc just for being sure.. i have run your commands but the tcpdump -i eth0 -vv -n give nothing :( it doesnt work :( I think its time to start debugging. plz suggest me how to use efficiently logging so as to find out what the is the problem --- Edmundo Carmona <eantoranz@xxxxxxxxx> wrote: > Well.. first easiest (probably insecure) attempt: > > iptables -P FORWARD ACCEPT > iptables -t nat -A PREROUTING -d 143.233.222.77 -j > DNAT > --to-destination 10.2.4.2 > > echo 1 > /proc/blah/blah > > That should stablish comunication between internet > and the 10.2.4.2 > box (started from the internet). > > On 9/27/05, Alaios <alaios@xxxxxxxxx> wrote: > > Let me reexplain the problem plz > > >From src 143.233.222.253 starts some traffic that > goes > > to the 143.233.222.77 this is the eth1 of the > laptop > > The laptop has also one more interface the > 10.2.4.1 > > that is connected back to back (cross cable) with > the > > interface of an other pc with ip address 10.2.4.2 > > IO want the traffic that reaches 143.233.222.77 > reach > > the 10.2.4.2 > > This is the first step.. when i succesfully > implement > > this then the next step is to forward this traffic > > from the pc to a second pc... ( i ll use the same > > methodology if step one works) > > So now we can only focus to the first step > > Plz take in mind that i dont have any firewall > enables > > /proc/sys/net/ipv4/ip_forward is set to 1. I have > no > > other iptables rules applied... I will only apply > what > > u ll write to do.. > > Before applying any iptables rules firstly i do > > iptables -F > > iptables -F -t nat > > (if more flush commands are necessary plz say it > so) > > So i need your help to implement this simple task > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > > __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com