Title: RE: ipchains firewalling

Works, perfectly!  Thanks, Charles.

I'm unsure how I managed to not get the list footer.  I'm fairly certain that I sent my message Plain Text, but received a bounce from someone complaining about HTML.  Maybe I forgot to set it plain text and the list software stripped the HTML and removed the footer.  Just speculation. 

Anyway, thanks for the help.  Worked like a charm!

Chris Mulcahy

>-----Original Message-----
>From: Charles Galpin [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, December 19, 2000 8:01 PM
>To: '[EMAIL PROTECTED]'
>Subject: Re: ipchains firewalling
>
>
>
>IPMASQADM="/usr/sbin/ipmasqadm"
>LOCALIF="eth0"
>LOCALIP=`/sbin/ifconfig $LOCALIF | grep inet | cut -d : -f 2 | cut -d \
>-f 1`
>INTERNALIP="192.168.2.2"
>$IPMASQADM portfw -a -P tcp -L $LOCALIP 25 -R $INTERNALIP 25
>$IPMASQADM portfw -a -P udp -L $LOCALIP 25 -R $INTERNALIP 25
>$IPMASQADM portfw -a -P tcp -L $LOCALIP 110 -R $INTERNALIP 110
>$IPMASQADM portfw -a -P udp -L $LOCALIP 110 -R $INTERNALIP 110
>
>charles
>p.s. Just curious, but how did you message not get a list footer?
>
>On Tue, 19 Dec 2000, Mulcahy, Chris wrote:
>
>> Greetings:
>>
>> I have successfully set up ipchains as a firewall for my
>newly installed T1.
>> It blocks all traffic coming in and masquerades outbound
>traffic.  That is
>> working fine. 
>>
>> Now, how do I forward incoming traffic on ports 25 and 110
>to my internal
>> mail server?
>>
>> Thanks in advance
>> Chris Mulcahy
>>
>
>
>
>_______________________________________________
>Redhat-list mailing list
>[EMAIL PROTECTED]
>https://listman.redhat.com/mailman/listinfo/redhat-list
>

Reply via email to