Oran G schrieb:
hello,
I want to forward local requests to a mashine on the network.
This is done in nat table with OUTPUT chain. This chain is for natting
locally generated packages. If you don't have this chain, you have to
recompile the kernel with appropriate settings.
Have a nice time
Joerg
that was it, thanx!
iptables -t nat -A OUTPUT -o lo -p tcp --dport 8111 -j DNAT --to-destination 192.168.0.11:80
this leadts me to my second question, maybe little offtopic:
i can realize the same functionality with an ssh tunnel. since encryption is a nice extra but not neccesary i wonder about how it would affect the performance of the communikation line.
both of my mashines have 2-3 GigH CPUs, and as i described befor, one runs apache the another mysql, both under heavy use.
oran G