Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

natd -redirect_address

1 view
Skip to first unread message

dma_o...@yahoo.com

unread,
Aug 5, 2004, 10:31:38 AM8/5/04
to
Hello all,

I am probably missing something really stupid but here it goes. I've read the man pages, the handbook and even googled the problem to no avail.

I am trying to set up natd to redirect public ips to my private addresses.

This is what I have set up in rc.conf

defaultrouter="24.97.250.201"
gateway_enable="YES"
hostname="gir.visionpayments.net"
ifconfig_rl0="inet 192.168.0.13 netmask 255.255.255.0"
ifconfig_xl0="inet 24.97.250.202 netmask 255.255.255.248"
linux_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
firewall_enabled="YES"
firewall_type="OPEN"
natd_enabled="YES"
natd_interface="xl0"
natd_flags="-f /etc/natd.conf"

This is what I have in natd.conf

redirect_address 192.168.0.10 24.97.250.203

>From what I read in the man pages and handbook this should be all I need, however, I cannot even ping 24.97.250.203. So I typed in

-bash-2.05b$ natd -redirect_address 192.168.0.10 24.97.250.203

and got

natd: aliasing address not given

So I added

ifconfig_xl0_alias0 "inet 24.97.250.203"

to rc.conf and now I am able to ping that public addy but it is doesn't seem to be redirecting me to 192.168.0.10. So I typed in
-bash-2.05b$ natd -redirect_address 192.168.0.10 24.97.250.203
again to see what was happens and got
natd: aliasing address not given
again. am I just being a dumb n00b? wtf am I doing wrong?



---------------------------------
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
_______________________________________________
freebsd-...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

0 new messages