That's the thing, I've tried the rule before and I'm getting this error :-(
syntax error error at "->", line 1
/etc/init.d/ipfboot: load of /etc/opt/ipf/ipnat.conf failed

The rule is:
rdr pcn0 from 192.168.0.5 to 192.168.0.1 port 80 -> 192.168.0.2 port 80

Test OS (this would eventually be used on a SPARC but my test is just
on an x86 box for now):
SunOS unknown 5.9 Generic_118559-05 i86pc i386 i86pc

Using:
ip_fil4.1.8 and pfil-2.1.6

Or is there some incompatibility somewhere?

Regards, Neil

2005/5/26, Damien Gardner <[EMAIL PROTECTED]>:
> 
> From: Neil Quiogue [mailto:[EMAIL PROTECTED]
> >Apologies if this has been answered before but is it possible to do
> >redirection based on the source IP in addition to the destination
> >IP/port?  Currently I'm only able to do redirects based on the
> >destination IP/port.
> 
> Indeed it is possible! :)
> 
> I'm using:
> 
> rdr xl0 from 203.173.179.143/32 to 202.128.96.113 port 80 -> 202.128.96.116
> port 80
> 
> Regards,
> 
> Damien
>

Reply via email to