[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ipnat/ipf and redirect still not working
Thierry Deval wrote:
>
> Hello,
>
> I may be an idiot (only because I haven't tested such a config ;-) , but
> wouldn't you try to apply the redirect rules on the internal interface as
> rdr xl0 216.165.166.170/32 port 110 -> 180.9.4.160 port 110 tcp
> rdr xl0 216.165.166.170/32 port 143 -> 180.9.4.160 port 143 tcp/udp
> rdr xl0 216.165.166.170/32 port 25 -> 180.9.4.160 port 25 tcp/udp
> rdr xl0 216.165.166.170/32 port 80 -> 180.9.4.160 port 80
>
> My idea is that you want, for instance, every request to port 110 of your
> gateway to go to port 110 of the host 180.9.4.160.
> This redirection has to go out from the internal interface (xl0), hasn't it ?
>
> I don't know the internals of ipnat, but did you try this ?
>
> my .02
The examples I have seen show the external interface (and one specifically
stated such) in the rdr commands.
--
Jesse Trucks
jtrucks@madison.com
Online Technical Producer
Madison Newspapers, Inc. - http://www.madison.com