/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */


Ok, I have the patch in, and have recompiled.  Still, I cannot get this to
work.  Maybe I am missing something.

This is what I have:

ipchains -F
ipchains -P input ACCEPT
ipchains -P output ACEPT
ipchains -P forward DENY
ipchains -A forward -s 192.168.42.0/24 -j MASQ

*       That allows me access to the web etc.

I am adding:
Ipmasqadm portfw -a -P tcp -L 192.168.42.3 80 -R 192.168.42.10 80

Which gives me what looks like what I Want in the rule:
TCP     slacker         192.168.42.10           www     www     10      10

Is there something else I should be doing?

Thank you for your patience and assistance!


Joel Foote
Split1 SME

        -----Original Message-----
        From:   Michael Best [SMTP:[EMAIL PROTECTED]]
<mailto:[SMTP:[EMAIL PROTECTED]]> 
        Sent:   Thursday, March 30, 2000 6:55 PM
        To:     [EMAIL PROTECTED]; <mailto:[EMAIL PROTECTED];>  Joel Foote
        Subject:        [Masq]  Internal Routing?

        On 30 Mar 2000, Joel Foote wrote:
         
        > I want requests going through my linux box (192.168.42.3) on port
80 to be
        > forwarded to port 80 on my proxy server (solaris) at
192.168.42.10.  I
        > cannot seem to get this to work properly, or at all really. 
        > 
        > What am I missing, will ipchains/ipmasqadm do the job?

        It's a limitation of the firewall code.  I've written a patch that
allows you
        to do that above.  I'll forward it to you.  Also your firewall
script must be
        set to masq based on the source address and not the destination (or
it should
        masq to both your internal and external interfaces).

        -- Michael Best


Joel Foote
Split1 SME

_______________________________________________
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.

Reply via email to