S
S
Sergey Petrikov2013-08-04 20:28:11
Computer networks
Sergey Petrikov, 2013-08-04 20:28:11

OS X as network wireless bridge?

If you have a Mac mini with OS X 10.8.4, you need to make it work as a wireless bridge. That is, a network with the Internet is connected to it, it is necessary that through its wifi it creates a network with a certain ssid, devices connected to this network must transparently enter the network, without NAT. Using standard tools, you can make the system work only in router mode, when the poppy itself acts as a gateway with DHCP + NAT, can anyone know how to make it become a bridge?
From what I've already found:

sysctl -w net.inet.ip.forwarding=1
sysctl -w net.inet.ip.fw.enable=1
  if [ "$proxyarp" != "no" ]
  then
    sysctl -w net.link.ether.inet.proxyall=1
  fi

  ifconfig bridge0 create
  ifconfig bridge0 addm en0
  ifconfig bridge0 addm en1
  ifconfig bridge0 up
  if [ $? -eq 0 ]
  then
    syslog -s "Mulle Ethernet Bridge is up"
  else
    syslog -s "Mulle Ethernet Bridge failure"
  fi

will create a bridge between network cards, but now how to make it so that other devices can connect to en1? As I understand it, we need an analogue of hostapd for OS X, but I won’t know where to get it, I will be grateful for any help.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question