Re: AppleScript-Users Digest, Vol 12, Issue 551
Re: AppleScript-Users Digest, Vol 12, Issue 551
- Subject: Re: AppleScript-Users Digest, Vol 12, Issue 551
- From: Jim Weisbin <email@hidden>
- Date: Fri, 13 Nov 2015 12:14:25 -0500
- X_v_e_cd: 880d35c61acf954898153a7b0aa5544a
- X_v_r_cd: f072530305ef362af2ad7fee146a533f
"email@hidden" <email@hidden> wrote: --- changed en1 to en0
$ sudo sysctl -w net.inet.ip.forwarding=1
$ sudo natd -interface en0
--- changed "any to any" by the IP addresses? Is that correct?
$ sudo ipfw add divert natd ip from 10.100.4.100 to 10.110.4.100 via en0
Anyway commands seems to be accepted but it doesn't work.
Am I missing something?
The default interface may not be en0 or en1. To get the default interface:
set my_interface to do shell script "netstat -rn -f inet | egrep \"^default\" | awk '{print $6}’ "
However, not really sure what you are trying to do. If you want the client machine to accessible at a different IP address, you can set it up with virtual IP’s:
Jim Weisbin | C.T.O. | human
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden