osx - Redirect (port forwarding) from en0 to bridge0 (shared connection) on Mac 10.8.5 -
i want communicate mobile app through sockets form desktop mac (app server, desktop client). using "internet sharing" share connection ethernet wi-fi. not allowed use wi-fi wireless router make easy both devices on same lan. application works between mac , diferent windows pc on same lan. can see server on ported mobile app working ok through traces.
however, when try connect mobile (assigned ip 192.68.2.2), fails connect.
using "ifconfig"i see ethernet interfase called "en0" , wireless "bridge0".
is there way connect "bridge0"? read "natd" , "ssl" couldn't make work.
furthermore, connect app windows app through desktop mac.
edit: have seen natd deprecated on mountain lion (http://support.apple.com/kb/ht5414) , pfctl has used. giving try that. found link directions: http://www.openbsd.org/faq/pf/rdr.html
edit2: have found question similar want accomplish, other way (instead of getting packets want send them). https://apple.stackexchange.com/questions/100492/redirect-traffic-using-pf-along-with-internet-sharing ideas on how accomplish this?
Comments
Post a Comment