Posts

Showing posts with the label macos-high-sierra

What are the equivalent of these Linux IPTABLES lines for macOS High Sierra?

Image
Clash Royale CLAN TAG #URR8PPP What are the equivalent of these Linux IPTABLES lines for macOS High Sierra? I am working for fun on a DOSBOX experiment to get Windows 3.11 WFG to connect to the internet through PPP and Trumpet Winsock. So far, with this script (https://github.com/knightmare2600/oldschool/blob/master/WFW/dosbox_ppp.sh) I got it to work on my RPi3 running Raspbian and DOSBOX 0.74, and I could hilariously view the google page (as well as low-bandwidth versions of some pages) on Internet Explorer 5.0! But for this script to work I had to add these lines after enabling ip forwarding: Allow established connections iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT Masquerade iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE Now, I want to do the same on my macbook air running macOS High Sierra. But I can't understand how to make the equivalent of these particular 3 lines for macOS. Anyon...

macOS php sqlsrv drivers installed but throwing unknown exception

Image
Clash Royale CLAN TAG #URR8PPP macOS php sqlsrv drivers installed but throwing unknown exception I'm developing PHP apps and now with GIT and all we're supposed to be running locally the apps we develop, while connecting to the company's SQL server for data. I can otherwise see this SQL server without any problems (from Navicat etc). (I tried installing XAMPP first, never got it to see the sqlsrv / pdo_sqlsrv drivers, tried these guides as well with a "clean" apache install -and then some more- and in the end I did a clean install of macOS, did these guides from scratch again and here we are now). So I followed the steps described here https://www.microsoft.com/en-us/sql-server/developer-get-started/php/mac/ and here https://docs.microsoft.com/en-us/sql/connect/php/installation-tutorial-linux-mac?view=sql-server-2017#installing-the-drivers-on-macos-el-capitan-sierra-and-high-sierra which are the official guides to going about my task. Apart from that, I configured...