On 3/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > >   ipfw add fwd xx.xx.xx.xx,25 tcp from 192.168.0.0/24 to any 25
> > >   I got some matches in this rule when I try to send an email, but I
> > > didnt get redirected to my email server.

this is pretty easy with ipnat, this is for smtp and smtps.

for example.

rdr iface0 from any to any port = 25 ->ip on iface0? port 25
rdr iface0 from any to any port = 465 -> ip on iface0? port 465

it helps.

i can't tell you the syntax for natd, but someone else might.

l
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to