LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   recieve and send IP packets! (https://www.linuxquestions.org/questions/linux-networking-3/recieve-and-send-ip-packets-209358/)

Farhang 07-25-2004 02:25 AM

recieve and send IP packets!
 
I have a computer with two network adaptor(eth0 : 192.168.0.27 and eth1 : 10.10.0.25) I want to recieve packets froom one computer that its ip is 192.168.0.24 on my eth0 and set tos fileld of the packet s in what i like and then on my eth1 send it to another computer that its ip is 10.10.0.29.
I want to know how it could be done with iptables?
(I can set the tos filed by my self. my trouble is sending to another computer)
I would be grateful to know it!
Regards,

newpenguin 07-25-2004 02:47 PM

what u mean by "SENDING PACKETS"
either doing NAT on that packets.
or setting the next hop.


All times are GMT -5. The time now is 01:27 AM.