On Wed, 18 May 2005 11:49:47 +0300
Alex 'CAVE' Cernat <[EMAIL PROTECTED]> wrote:
> pai si cum convingi pachetul sa iasa pe - sa zicem - eth2, atata timp
> cat ruta default este pe eth0 (cel putin eu situatia asta am tratat-o)
> ? a, daca erau mai multe interfete virtuale pe aceeasi interfata
> fizica, atunci toate rutele oricum treceau prin eth0 (sa zicem) si
> atunci putea sa se joace direct cu masq-ul
>
hmm, tocmai citeam acuma manu de la iptables, si uite ce gasii
ROUTE
This is used to explicitly override the core network stack's
routing decision. mangle table.
--oif ifname
Route the packet through `ifname' network interface
--iif ifname
Change the packet's incoming interface to `ifname'
--gw IP_address
Route the packet via this gateway
--continue
Behave like a non-terminating target and continue
traversing the rules. Not valid in combination with `--iif' or `--tee'
--tee Make a copy of the packet, and route that copy to
the given destination. For the original, uncopied packet, behave like a
non-terminating target and continue traversing the rules. Not valid in
combination with `--iif' or `--continue'
Interesant, dar parca mai elegant era cu route, ca sa nu incurcam capra
cu varza
Alex
---
Detalii despre listele noastre de mail: http://www.lug.ro/