/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
/* ALSO: Don't quote this header. It makes you look lame :-) */
On Tue, 31 Oct 2000 20:33:52 +1100, raf <[EMAIL PROTECTED]> wrote:
[iproute2 solution]
i downloaded and installed the iproute2 and tried:
gorgon:/ # ip route add nat 1.2.3.4 via 192.168.0.10 dev eth2
RTNETLINK answers: Invalid argument
gorgon:/ #
hm, i wanted to translate 1.2.3.4 at eth0 (or somewhere inside) to
192.168.0.10, so it would be routed and forwarded correctly.
then i tried:
gorgon:/ # ip route add 1.2.3.4 via 192.168.0.10 dev eth2
gorgon:/ #
which results in having packets at eth2, dst 1.2.3.4
so far so good, i just need to masquerade them now...
gorgon:/ # ipchains -I forward -i eth2 -s 212.254.210.228 -j MASQ
which has no effect.
how can i do it? i just need to translate 1.2.3.4 between eth0 and
eth2 (somewhere inside) to 192.168.0.10 and forward them to eth2 and
send them away there.
many thanks for every answer
jan
---
>I placed the following in my rc.local file and it is creating havoc.
Try "rm havoc".
from the qmail mailing-list.
_______________________________________________
Masq maillist - [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ --
THIS INCLUDES UNSUBSCRIBING!
or email to [EMAIL PROTECTED]
PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.