On Sun, May 18, 2008 at 09:51:26PM +0300, Oleksandr Samoylyk wrote:
> Hello freebsd-ipfw,
> 
> I'd like to make smtp port rewriting for any destination by means of ipfw.
> 
> With iptables I just used this rule in order to achieve this functionality:
> 
> iptables -t nat -A PREROUTING -i ppp+ -p tcp --dport 2525 -j DNAT 
> --to-destination :25

ipfw nat 123 config redirect_port tcp YOURIP:2525 25 
ipfw add nat 123 tcp from any to any

or something along the line.

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

Reply via email to