natd -redirect_port

Christian Hiris 4711 at
Sat May 15 00:06:30 PDT 2004

On Saturday 15 May 2004 07:49, Anthony Philipp wrote:
> hello,
> im am trying to redirect various ports through my gateway, a freebsd
> machine, to other machines. when i type: natd -interface rl0 -redirect_port
> tcp 25
> to redirect port 25 to on port 25 it tells me
> natd: Unable to create divert socket.: Protocol not supported
> rl0 is the external ethernet card. if i dont use -interface, it says that
> the aliasing address is not given. any help is appreciated. am i running
> freebsd 5.2-release anthony
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at"

Natd requires 'options IPFIREWALL' and 'options IPDIVERT' in your kernel 
config. Refer to section "RUNNING NATD" in the natd(8) manual for some more 


Christian Hiris <4711 at> | OpenPGP KeyID 0x941B6B0B 
OpenPGP-Key at hkp:// and
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url :

More information about the freebsd-questions mailing list