Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2002 05:50:45 -0800
From:      Cy Schubert - CITS Open Systems Group <Cy.Schubert@uumail.gov.bc.ca>
To:        "John Davies" <john@phreebsd.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: dropping 127.* on the floor 
Message-ID:  <200202131351.g1DDp5Z93780@cwsys.cwsent.com>
In-Reply-To: Message from "John Davies" <john@phreebsd.com>  of "Wed, 13 Feb 2002 23:22:07 %2B1100." <006201c1b489$0ddad910$0a00a8c0@john> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <006201c1b489$0ddad910$0a00a8c0@john>, "John Davies" writes:
> I've noticed since updating to 4.5-STABLE that my previously working rule in
> /etc/ipnat.rules has seemed to stop working, with the redirect rule i was
> using to use squid as a transparent proxy, the packet no longer makes it to
> squid and i therefore can't browse unless i comment the redirect out and
> restart ipnat. Anyone that can offer any suggestions, would be greatly
> apreiciated.
> 
> My /etc/ipnat.rules if it helps..
> map fxp0 192.168.0.0/24 -> 0.0.0.0/32 proxy port 21 ftp/tcp
> map fxp0 192.168.0.0/24 -> 0.0.0.0/32
> rdr fxp1 0/0 port 80 -> 127.0.0.1 port 8080 tcp <- that rule

Replace the last rule with:

  rdr fxp1 0/0 port 80 -> ONE_OF_YOUR_INTERFACE_IPS port 8080 tcp

On my firewall here at home I use the interface IP of my internal interface because my external interface uses a DHCP assigned address from the local cable company.


-- 
Regards,                         Phone:  (250)387-8437
Cy Schubert                        Fax:  (250)387-5766
Team Leader, Sun/Alpha Team      Email:  Cy.Schubert@osg.gov.bc.ca
Open Systems Group, CITS
Ministry of Management Services
Province of BC            
                    FreeBSD UNIX:  cy@FreeBSD.org




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202131351.g1DDp5Z93780>