euglug.org

[Eug-lug] ipchains

작성자

카테고리:



Bob CrandellSun Aug 28 17:17:41 PDT 2005

Hi,

I have an ipchains rule set running on one computer that works well.  This
computer is being replaced by another computer that I don't have any control
over.  What needs to happen is the traffic is filtered through the old box and
routed to the new one.

123.345.567.789 is the address of the new box.

I added this:
iptables -A FORWARD -p tcp -i eth0 -o eth0 -d 123.345.567.789 --dport 800 -m
state --state NEW -j ACCEPT

but it doesn't redirect correctly.  What am I doing wrong?

Thanks

--
Bob Crandell, CLS, CNS
Assured Computing, Inc.
When you need to be sure.
http://www.assuredcomp.com/
921 Country Club Road, Suite 100
Eugene, OR 97402
Voice - 541-868-0331
FAX - 541-463-1627

This message is intended solely for the use of the individual and entity to
whom it is addressed, and may contain information that is privileged,
confidential, and exempt from disclosure under applicable state and federal
laws. If you are not the addressee, or are not authorized to receive for the
intended addressee, you are hereby notified that you may not use, copy,
distribute, or disclose to anyone this message or the information contained
herein. If you have received this message in error, immediately advise the
sender by reply email and destroy this message.