packets to local addresses
MKS
rekordmeister at gmail.com
Tue Apr 10 13:52:10 CEST 2007
On 4/7/07, Martijn Lievaart <m at rtij.nl> wrote:
> Jan Engelhardt wrote:
> > On Apr 7 2007 17:45, Martijn Lievaart wrote:
> >
> >> MKS wrote:
> >>
> >>> What is the best way to change this behaviour, that is force "general"
> >>> packets out a specific interface. iptables route target???
> >>>
> >> Dunno. Maybe the ROUTE target can be of assistence. As I said earlier, hping2
> >> probably can do this.
> >>
> >
> > Use MARK and iproute2.
> >
>
> Are you sure? I thought you couldn't overrule the local table.
It's not possible to override the local table nor bypass or delete from it.
When I use hping -I ppp0 and ping to 10.0.1.1 (ppp1) then I don't get
any response and I can see that the packet never leaves the system
(tcpdump -i ppp0) and that it never arrives on the NAS (using debug on
the NAS)
Does someone know a trick to override the local routing table? or does
that require hacking the kernel?
Regards MKS
More information about the netfilter
mailing list