बोली-पूर्व पहुँच प्राप्त करने के लिए कृपया अगले चरणों का पालन करें ...
यह बहुत महत्वपूर्ण है कि अपने फ़ायरवॉल को कॉन्फ़िगर करने के बाद (वर्चुअल बॉक्स -> प्राथमिकताएँ -> नेटवर्क -> vboxnet0)।
- रूटिंग की अनुमति दें (ip.forwarding)
- आग्नेयास्त्र के माध्यम से NAT की अनुमति दें
OSX फ़ायरवॉल नमूना
# (I) Firewall config /etc/sysctl.conf
sysctl -w net.inet.ip.forwarding=1 net.inet.ip.fw.enable=1
sysctl -a net.inet.ip.forwarding net.inet.ip.fw.enable
ipfw list
... shoud have ....
net.inet.ip.forwarding=1
net.inet.ip.fw.enable=1
# (II) Enable nat access to /etc/pf.conf
#============add your host-only vlan =================
# this commented lines doesn't work after computer reboot
#nat on en0 from vboxnet0:network -> (en0)
#nat on en3 from vboxnet0:network -> (en3)
# this will work in any situation
nat on en0 from 10.1.100.0/24 to any -> (en0)
nat on en3 from 10.1.100.0/24 to any -> (en3)
#==========================
# Reload pf
pfctl -f /etc/pf.conf
pfctl -e
का आनंद लें