/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting!
/* ALSO: Don't quote this header. It makes you look lame :-) */
Ronghua Zhang <[EMAIL PROTECTED]> wrote:
>
> Since I am currently working with kernel 2.2.x, netfilter is not availble.
I apologize, I misread your kernel version.
> I have to play with ip_masq. Actually, I am asked to write a module
> to do this [...]
You surely don't need to write a module just to forward traffic, as
ipchains provides the same functionality.
An equivalent ipchains statement to the one I posted earlier would be:
ipchains -A INPUT -i $INT_IF -p tcp -d 0/0 80 -j REDIRECT 8080
In order for this to work, your kernel needs to have been compiled with
the CONFIG_IP_TRANSPARENT_PROXY option enabled.
--
[EMAIL PROTECTED] (Fuzzy Fox) || "Good judgment comes from experience.
sometimes known as David DeSimone || Experience comes from bad judgment."
_______________________________________________
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.