NAT is working fine,but when I try to pass options (either through /etc/rc.conf or directly running natd), it gives me an error. I have an Ftp server running inside (which has no problem accessing the internet thru the NAT box), I would like to be able to reach this server from outside. Following numerous documents AND the man page, I type this:
natd -redirect_port tcp 192.168.0.22:21 21
So, I want to pass all Ftp traffic to this system. Is this not correct??
No matter what address I give, it gives me this error:
natd: aliasing address not given.
I have tried also including the address of the cards in the NAT box, without any luck. Anybody have any ideas?
BTW - I have all of the options in the kernel that are needed according to FreeBSD Documentation.
I have entered this in the Kernel config file:
options IPFIREWALL
options IPDIVERT
options IPFIREWALL_DEFAULT_TO_ACCEPT
For NAT I have this in rc.conf:
gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
natd_enable="YES"
natd_interface="fxp0"
natd_flags=""
If anybody has any ideas, I would really appreciate some help. Thanks.
natd -redirect_port tcp 192.168.0.22:21 21
So, I want to pass all Ftp traffic to this system. Is this not correct??
No matter what address I give, it gives me this error:
natd: aliasing address not given.
I have tried also including the address of the cards in the NAT box, without any luck. Anybody have any ideas?
BTW - I have all of the options in the kernel that are needed according to FreeBSD Documentation.
I have entered this in the Kernel config file:
options IPFIREWALL
options IPDIVERT
options IPFIREWALL_DEFAULT_TO_ACCEPT
For NAT I have this in rc.conf:
gateway_enable="YES"
firewall_enable="YES"
firewall_type="OPEN"
natd_enable="YES"
natd_interface="fxp0"
natd_flags=""
If anybody has any ideas, I would really appreciate some help. Thanks.