Sharing wi-fi internet connection from MacBook to the private Ethernet LAN Hi, Hopefully, we can find a solution and it will even help somebody else in the future. I tried connecting the MacBook and the Mac Mini to my android phone's wifi hotspot but the situation is the same. I didn't spend much time on this but I thought it's related to the machine being confused with network interfaces, so I disabled all of them except the 192.168.* on the mac mini but it didn't fix the problem. Reverse Path Filter seems extremely close to what I have but it's about Linux and Mac OS treats this differently. This suggests that if I set the IP of mac mini to something else in the DHCP pool it may do something but it didn't (I tried 192.168.1.230 and 192.168.1.232), so I put auto address back. This gave me an idea it may be caused by Ipv6 so I ran networksetup -setv6off Wi-Fi on both machines which caused no changes, so I enabled it back. MacBook got no responses, all 4 requests timed out but as you can see mac mini got all requests and seems to even respond to ARP but ICMP is left without a response. Note: I do have a VPN installed but it's not connected/used at the moment, so you might see something here related to that.ġ92.168.1.1 20:1f:31:aa:e5:90 UHLWIir en1 1196ġ92.168.1.255 ff:ff:ff:ff:ff:ff UHLWbI en1 ! Nslookup sams-mbp successfully resolves to 192.168.1.231 Netstat -rn (routing table): see SuperUser post Nslookup sams-mac-mini successfully resolves to 192.168.1.185 This forum has a limit of 5000 characters, so I had to cut out some stuff. I want to connect my laptop (MacBook) to the stationary PC (mac mini) via remote desktop. Both machines run on Mac OS, firewalls disabled, tried connecting them using my Android phone's hotspot wifi with the same result. Ping from A to B fails on timeout. tcpdump shows that machine B does see the incoming requests. I have a home network with 2 machines connected to the wifi router. I found multiple similar questions but none of them helped me. So any help will be very appreciated.Ĭomputer receives ping but doesn't respond Also posted on SuperUser StackExchange. ![]() I guess I should set up NAT somehow, but I'm not sure how to do that with PF to achieve that. Load anchor "com.apple" from "/etc/pf.anchors/com.apple" ![]() I'm able to redirect ports inside Mac OS, so if I access localhost:444 it redirects to localhost:443 this way:Ģ. I would like to configure Mac OS in that way if I access localhost:443 it will redirect to 192.168.100.50:443. I'd like to see this fixed, this is just a workaround.I have a host with Mac OS and another machine (192.168.100.50) in the same LAN. You can also use host, nc, syslog, getent, perl, or anything else that will call getnameinfo or gethostbyname. I do assume the environment has some variant of ping. bash has had more testing than anything else. It should work in posix sh, busybox ash, bash, etc, unless I broke something this morning while cleaning it up before dropping it onto the gist for public consumption. Finally, it exports DOCKERHOST_IP and DOCKERHOST_OS, which are the detected host IP and the detected host OS. It will also add any additional names you want /etc/hosts to have for host address that are passed in as $EXTRA_DOCKER_HOSTNAMES, also via environment variable. It detects the type, putting the address into /etc/hosts as $DEFAULT_DOCKER_HOSTNAME, which can be passed into the container as an environment variable (defaults to dockerhost.internal). ![]() I've been using this script, which is based off of my answer to the stackexchange answer above.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |