[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ipnat/ipf and redirect still not working
Thierry Deval wrote:
> 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 18.104.22.168/32 port 110 -> 22.214.171.124 port 110 tcp
> rdr xl0 126.96.36.199/32 port 143 -> 188.8.131.52 port 143 tcp/udp
> rdr xl0 184.108.40.206/32 port 25 -> 220.127.116.11 port 25 tcp/udp
> rdr xl0 18.104.22.168/32 port 80 -> 22.214.171.124 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 126.96.36.199.
> 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.
Online Technical Producer
Madison Newspapers, Inc. - http://www.madison.com