/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! /* ALSO: Don't quote this header. It makes you look lame :-) */ Hello, I am trying to redirect a packet which is sent from an internal host to an external site. I want to redirect it to another internal host via the firewall. I have devised 2 rules but it doesn't seem to work: ipchains -I input -p tcp -s 192.168.0.0/24 -d 123.234.34.2 -m 5 ipmasqadm -mfw -m 5 -r 192.168.0.5 The topology looks as follows: (my packet originates from 192.168.0.2) Internet-------------Firewall--------------------------------------192.168.0 .2 | | | | 123.234.34.2 | | 192.168.0.5 Is it true to say that IPMASQDAM are not designed for redirection ? In this case, is there anyway I can do this ? Note: with IPCHAIN REDIRECT, I can redirect the packet to another port on the firewall but I really want it to be directed to another internal host. I have searched the email archive and read the HOWTO but the material doesn't seem to be very relevant to this case. I believe a userspace program redir is mentioned but I am not exactly sure that is appropriate. I am using the kernel 2.2.16. Any comments much appreciated. Many thanks, Bryan _______________________________________________ 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.
