[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

rdr rule in ipnat based on source IP



Hi,

I want to setup quite strange redirecotr. When user from special subnet want
to go to WWW server I want OpenBSD to redirect him to squid server. But
other users should not be affected.

In ipnat there is rule:
rdr xl0 0.0.0.0/0 port 80 -> squid IP port 3128

But I don't know hot to implement source IP redirection. This redirects all
trafic.
Is there a solution?

Thank you.


Vladimir Jirasek
RadioMobil a.s.
0603402718