[pmfirewall] 2 way communication w/ ipchains

Date view Thread view Subject view Author view

From: /dev/null (dev-null@home.com)
Date: Tue Feb 06 2001 - 06:22:24 PST


I have one machine (192.168.1.5) on eth1 that I need _all_ internet traffic
from one outside server (x.y.z.12) on eth0 to be directed to. I tried
setting this up:

ipchains -A forward -i eth0 -s 192.168.1.0/24 -j MASQ
ipchains -A forward -i eth1 -s x.y.z.12/32 -d 192.168.1.5/32 -j MASQ

Well, web pages from the general inet work fine with this, but for some
reason connections coming in from .12 are not forwarded on to the correct
machine. How can I tell ipchains to masq all traffic coming in from .12 to
.5?

Basically .5 initiates a connection but .12 can't initiate any connections
back to .5.

Thanks!

****************************************************************************
* To UNSUBSCRIBE from the list, send a message with "unsubscribe pmfirewall"
* in the message body to majordomo@pointman.org. Please direct other
* questions, comments, or problems to pmfirewall-owner@pointman.org.
*
* Need answers fast? Check the list archive located at:
* http://www.pointman.org/PMFirewall/list-archive/
*


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sun Jun 10 2001 - 02:39:19 PDT