mercredi 25 février 2015

Port forwarding Yosemite


I have a server running on my imac (port 8000) and I want my ipad to be able to visit it through the local network so I set this rule using pf anchors (hence ipfw is gone)..


It doesn't work, what am I missing?


file: /etc/pf.anchors/com.test



rdr pass on lo0 inet proto tcp from any to 127.0.0.1 port 80 -> 127.0.0.1 port 8000


enable the command:



pfctl -ef /etc/pf.anchors/com.test


Visiting my imac's ipaddress from the ipad 192.168.1.1 gives me an unreachable message (safari)





Aucun commentaire:

Enregistrer un commentaire