Request for Question Clarification by
bikerman-ga
on
19 Oct 2003 14:44 PDT
Hello, climbingboulder-ga,
I can answer your question, but I need a little more info. First of
all, I am not quite understanding your network configuration. Tell me
if I have the correct picture of your network layout:
eth0 (1.2.3.4) is connected to the Internet and eth1 is on your
internal network--both cards are in the same computer and 1.2.3.4 and
172.16.0.1 are two different IPs for the same computer (one on the
external network and one for the internal network). Do you want for
computers on your internal network to be able to access the Internet
using this computer as a gateway? If so, you will need to have
masquerading setup. Do you have masquerading setup in another script?
Do you want ports 3306, 32768, and 32773 to only be open to your
internal network (172.16.*), or do you want for all requests that come
from the Internet directed to 1.2.3.4:3306, 1.2.3.4:32768, and
1.2.3.4:32773 to be redirected to 172.16.0.1:3306, ...? This is
called destination NAT, and isn't hard, however it wouldn't make sense
to do DNAT if 1.2.3.4 and 172.16.0.1 are two IPs for the same
computer. Are 1.2.3.4 and 172.16.0.1 the same computer or does eth1
connect to an internal computer who's IP is 172.16.0.1?
If I haven't made my questions clear, please say so. Firewalling is
fun. :)
Thanks,
Bikerman