Are you using kernel 2.4? If so the ipchains thing is changed :)

Are you enabling packet filter? I dont remember how to but echo > to some
file and it should work...Mine does :)

Klaus

-----Opprinnelig melding-----
Fra: David Morton [mailto:[EMAIL PROTECTED]]
Sendt: 22. januar 2001 17:15
Til: Orion-Interest
Emne: Port forwarding



         Has anybody gotten port-forwarding to work?  I want orion to run 
as non-root user on Linux.....I did see:
http://www.orionsupport.com/articles/unixprocess.html

The following is an excerpt:
IP Chains (ipfw)
IP Chains is a program that comes with recent versions of Linux that uses 
the ipfw library to specify rules for TCP/IP packets. For information about 
using it, refer to the howto.
Here's a simple rule to tell all incoming TCP packets destined for port 80 
to be forwarded to port 10080:
[root@myhost]$ ipchains -A input --destination-port 80 -p tcp -j REDIRECT
10080
Warning: Use ipchains at own risk... You are recommended to read the 
documentation first, and have the machine in easy reach.
This command needs to be executed each time the system is booted, so you 
may want to place it in a startup file somewhere.

I tried ipchains rule with one change:
ipchains -A input -d 192.168.0.4 80 -p tcp -j REDIRECT 10080

it didn't work.

any suggestions?

If anyone has working on one ip only (on a machine that has multiple ips 
like mine)...please send output of 'ipchains -L'...and any other ipmasqadm 
table output...

Thanks
David


Reply via email to