Setting up routing...


OSX is up and running beautifully, but I also want to let my Linux and BeOS machines out to play. I am not familiar with the routing setup under *nix, so I need a little help.

Everytime I set up a static route, nothing gets passed to the ppp0 interface. I have set the host config to IPFORWARDING=-YES-, but things don't want to play.

Any info will be greatly appreciated. Also, if you have some suggestions for configuring natd, I'd like to know that as well.

You need to write a shell script in your favorite text editor (eg emacs, vi...)

Start script


natd -dynamic -interface ppp0
/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via ppp0
/sbin/ipfw add pass all from any to any

End script

Name the file something like "rc.natd" and set file permissions accordingly (i.e. admin/su access only). Run the script in the console each time you turn on the computer and it'll work great!
It works great. nice to know I don't have to shell out extra $ to get all my machines up and going.

Again, thanks much.

Could you give more specific information on the "followed your instructions" and "it won't work" parts?