Can i use iptables to redirect all outbound ethernet traffic to an........
Can i use iptables to redirect outbound ethernet traffic to an interface other than that it was originally destined for?
Or can anyone suggest another route?
Heres the details to clarify what im trying to do.
I have a router that is actally a physically seperate router and adsl modem on one board. The router part runs linux and has an ethernet connection through one of its switch ports to the adsl part. The adsl chip runs some pppoe to atm conversion software. Control communication between the chips is via some mac protocol that requires no ip address.
The control part is easy, i have found the exact tool i need for it but, i have tried the regular linux pppoe programs and setup and i cant get any response from the modem part. It's not a failure in authentication or a problem with the chips not being able to hear each other, i have already checked and verified this (i can sniff when i use my own firmware and the control software works).
Everything does work sound with the factory standard stuff but im very limited to the tools i can use to sniff whats being sent by the ppp client and verify whether its using proper pppoe or some specific or mangled in house variation.
I do have iptables and was thinking of redirecting the traffic from the port internal to the board to a port that i can connect to externally and then spoof the adsl parts mac address on this port while sniffing.