So Tired !_! 逆水行舟, 不进则退!

3Jul/14

mac下设置nat

Posted by Nick Xu

$ sudo sysctl -w net.inet.ip.forwarding=1
$ sudo natd -interface en1
$ sudo ipfw add divert natd ip from any to any via en1
   
site
site