For 2.1 you'll need ipmasqadm tool (@my URL)
# ipmasqadm -a -P udp -L <ip> <port> -R <internal_ip> <another_port>
>
> Now, how can I do port forwarding on kernels 2.1.106 or greater? I've
> tried:
>
> ipchains -A forward -j REDIRECT -p [tcp|udp] -s [ip] [port] -d [ip] [port]
>
> ...and it seg. faulted. I've also tried adding the netmasks, and got the
> same results.
That's a transparent proxy setup (sort of forwarding "hook" and redirection
to LOCAL port), although it should not sigfault anyway.
Regards
-- -- Juanjo http://juanjox.home.ml.org/ Yo don't need an hologram to know... Nor you need to sell your brain to anyone. Yo can feel it. It's Linux.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu