natd -redirect_port

Christian Hiris 4711 at chello.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 10.10.10.4:25 25
> to redirect port 25 to 10.10.10.4 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 freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"

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

regards
ch

-- 
Christian Hiris <4711 at chello.at> | OpenPGP KeyID 0x941B6B0B 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040515/7b9e40d2/attachment.bin


More information about the freebsd-questions mailing list