#!/bin/sh ifconfig usb0 192.168.129.1 netmask 255.255.255.255 up route add -host 192.168.129.201 usb0 iptables -t nat -F iptables -t nat -A POSTROUTING -j SNAT -o eth0 --to 10.0.1.15 echo 1 > /proc/sys/net/ipv4/ip_forward
Well, I discovered under OSX there are no iptables, but there is ipfw. So, I've tried to rewrite this script, but unfortunately I'm not 'getting it.' Can anybody help?
Just for a laugh, here's my best guess so far:
#!/bin/sh
route add -host 192.168.129.201 en1
/sbin/ipfw add 101 allow ip from 192.168.129.201 to 192.168.129.201 via en0
BTW, en0 is my LAN port, and en1 is the usb port.
Curtis
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Fink-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-users
