All Questions
Tagged with macos networking
990
questions
2
votes
0
answers
39
views
TP Link Deco Router gets killed when Mac Mini is powered on
I'm facing a issue for quite a few months now,
My internet connection gets killed when I supposedly turn on my Mac Mini/ Windows 11 Dell Laptop.
I verified that my ISP isn't failing by checking the ...
0
votes
0
answers
35
views
macOS WireGuard not working for IPv6
Using wireguard-tools stable 1.0.20210914 from brew on macOS 14.5 May 31, 2024:
This package didn’t use to work at all, now it works for IPv4, but that’s of little help on a dual-stack IPv4 IPv6 mac. ...
0
votes
0
answers
43
views
Connect to PEAP wifi network on mac with a shell script
I am making a shell script for my mac and part of it requires connecting to my school's wifi network.
I have tried both of the following commands and while the settings wifi tab says that the computer ...
0
votes
1
answer
58
views
Using all loopback IPs on OS X
I has service that binds random loopback IP on 127.0.0.0/8 subnet on demand (like 127.12.34.56).
It works fine on Linux but does not work on OS X.
Only solution I found was to make alias for each ...
0
votes
2
answers
76
views
Unable to connect to a raspberry pi4 using SSH via Mac
So I just set up a fresh install of Ubuntu Desktop 23.10. I used the OS Customisation options in the Raspberry pi Imager program. There I set SSH to enabled.
I then mounted the SD card after it got ...
0
votes
0
answers
55
views
Routing Windows 10 trafic via MacBook as Internet router
I try to configure MacBook Pro (Mid 2015, macOS High Sierra, v.10.13.6) to work as an Internet router for Win 10 laptop.
My configuration:
Ethernet cable directly connects Win 10 laptop Ethernet port ...
0
votes
0
answers
228
views
How to setup an Ethernet bridge under macOS Sonoma 14.2.1?
When configuring an Ethernet Bridge under macOS Sonoma, it seems that the bridge will not be set up entirely.
From another post I learned that new devices should be configured via the GUI what I did. ...
1
vote
1
answer
46
views
What are 'unaligned pkts' in MacOS `ifconfig`
While trying to track some network issues with my Mac Studio, I ran into a strange metric that I can't figure out – 'unaligned pkts', which seems to be incrementing at a rate of ~20/s.
> ifconfig -...
0
votes
0
answers
49
views
Allow connection to modem dashboard in pf firewall
I am using Murus to manage the rules of my macos pf firewall.
My approach is to block everything by default and allow only what I need. This has worked well so far, with one exception: I cannot seem ...
0
votes
0
answers
47
views
How to manage port forwarding rules in a centralized way
What is the best practice to maintain port forwarding rules for a group of users using macOS in centralized way (configuration files with rules is sufficient)?
Let's say, I would like to redirect ...
1
vote
0
answers
63
views
Getting a local IP from ISP router when behind NAT
I want my PC to have a unique IP on the LAN (192.168.1.x), however the PC does not have the capability to the router directly.
My current setup involves an ISP modem/router (1.254), a Mac (1.231, 2.1),...
1
vote
0
answers
172
views
MacOS Sonoma: HTTP(S) blocked for one specific user
I am trying to find the cause for outgoing HTTP(s) traffic being blocked for one specific user on a MacbookPro M1 running MacOS 14.2.
Outgoing connections to ports 80 and 443 get blocked with "...
1
vote
0
answers
588
views
Netbird (Wireguard) SSH Connections Blocked Even Though Ping Works
I've begun using Netbird 0.24.3 as an easy way to implement a multi-site secure network via Wireguard. I have 7 peers and for the most part, it's been working great. Tonight, I was connected to a ...
0
votes
1
answer
229
views
Disable writing to macOS DNS cache
Can writing to the macOS DNS cache be disabled through configuration, so that DNS resolution doesn't leave a mark on the filesystem?
The context is that I want to avoid logging the details of network ...
0
votes
0
answers
127
views
I'm trying to connect some macOS computers to a Windows Server file server but it gives me a connection error, what could it be happening?
I have a brand new Windows Server 2022 working as a file server, it works fine when I try to use the file server from Windows and Linux computers, but I'm having a problem with any macOS computer that ...
1
vote
0
answers
38
views
setting DHCP on an interface when it comes UP
When I tether my MacBook Pro via USB-C cable to my Linux mobile device, in MacOS an interface en7 gets created on the fly. The mobile runs a NetworkManager with a DHCP server part. I can use the ...
3
votes
2
answers
2k
views
Getting ERR_NETWORK_CHANGED in Chromium with both Wifi and Ethernet connected on macOS
I have both Wifi and Ethernet connected on my Macbook Pro M1 Max (macOS Sonoma). Ethernet is higher in the service order list, so the OS should use that at all times. And for the most part it does.
...
1
vote
0
answers
409
views
Oculus Virtual Desktop for MacBook Pro with ad-hoc network
I'm trying to use Oculus to do Virtual Desktop with my MacBook Pro M1.
I tried Virtual Desktop streamer for Mac, but it is too slow.
I used Virtual Desktop streamer for Windows 11 using virtualization ...
1
vote
0
answers
107
views
Gateway responding with ACK instead of server. Causes RST
I have a service running on my LAN which works very intermittently. It serves a webpage just fine right after I restart the server running macOS 14.1 (I noticed this happening on multiple versions of ...
0
votes
1
answer
2k
views
Mac OSX can dig or nslookup but cannot ping host
I am facing a problem with my mac on a Sophos Remote IpSec VPN.
The VPN IpSec is set to be the Default Gateway.
I can connect to the VPN, and I can join every IP on my remote network.
I can dig and ...
2
votes
2
answers
408
views
What are the uses for all computer/host/dhcp names?
This question is meant to be specific to a home network.
Windows, Linux, and MacOS computers all have a host name. In addition, MacOS computers have a computer name and a local host name. And when a ...
1
vote
1
answer
1k
views
OSX Sonoma /etc/hosts and local dev
I have setup a VirtualBox with CentOs as a guest for local web development.
I usually edit the /etc/hosts file to direct domain to the local environment in the guest. This worked totally fine until ...
1
vote
0
answers
2k
views
Why can I `curl localhost:<port>` but can't `curl <my IP>:<port>`?
I start by retrieving my IP address by running ifconfig | grep -B7 "status: active". Then, I listen on port 12345 by running nc -l 12345.
Observations:
curl localhost:12345 works
curl <...
0
votes
0
answers
358
views
Connecting to a smb share on a Mac on a network with a static ip
My client has a router that uses a static IP address and has 2 Macs attached to it, one running MacOS 10.13.x and is used as a Filemaker server, and the other running Ventura and is used as a file ...
0
votes
1
answer
1k
views
USB C network connection between Macbook and PC Laptop?
I'd like to connect a Macbook Pro to a Dell XPS laptop so that I can have a direct Ethernet-type connection between the two laptops. This is so that I can remote desktop into the XPS laptop with ...
0
votes
0
answers
641
views
Cannot clear DNS cache on MacOS Monterey
As part of troubleshooting networking issues on my Macbook Pro running MacOS Monterey 12.3.1, I have setup the WLAN network connection to use two different, local DNS servers, which both contained a ...
0
votes
0
answers
63
views
Program wont connect through OpenVPN
I have a MAC M1 that needs to run a windows native app (no MAC option of such app) and to do so I installed a Windows 11 arm x64 with VmWare Fusion - the app that runs needs to connect to SQL on my ...
1
vote
1
answer
311
views
Mac Ventura 13.4 DNS split-horizon - ping doesn't work but dig does
What's the problem:
dig, nslookup can resolve domains using PiHole dns server
ping, browser etc. can't
What I tried to do:
reboot :d
flush cache (sudo dscacheutil -flushcache; sudo killall -HUP ...
0
votes
0
answers
709
views
What is going on with macOS DNS?
I run what I presume is a fairly standard nerd setup. Unify networking gear, and a local DNS for adblocking and a custom internal domain mapping (*.home).
Very regularly all of a sudden my Mac will ...
0
votes
0
answers
27
views
ping flood weird behavior? After a bunch of timeouts, the rate increases 30x
I have a weird behaviour that I don't really understand why it is happening. While troubleshooting why I had periodic packet loss over wifi on my macbook, I noticed a different, strange behaviour.
...
0
votes
1
answer
141
views
Ethernet device not reachable when WIFI is on
I have an IoT device that runs a small HTTP server, which I access through Ethernet.
My Ethernet is routed through 192.168.1.3 and configured manually.
I can access the device with no issues when my ...
0
votes
0
answers
214
views
How do I block port 1234 in localhost without killing the process in MacOS
I have a requirement to close a port without killing the process to test out a certain fallback scenario. I am using MacOS and I am unable to figure out how to do this, can someone please help?
I ...
0
votes
1
answer
145
views
I can't reach a web server of my guest OS (Debian server) from my MacOS host via Parallels
I set up a Debian server VM in Parallels Desktop. I configured it to use the Bridge network. DHCP is enabled, however I configured the VM to use a static IP.
On Debian within my VM the web server ...
0
votes
0
answers
648
views
Strange RDP connection behaviour
I have a strange problem with doing RDP to Azure Windows11 VM with my MacBook(pro).
I cannot do RDP when I am connected to home network. I am receiving below error:
"Your session ended because ...
0
votes
1
answer
2k
views
How to correct ssh local port forwarding saying port is already in use?
I am running a web server that exposes a website locally on the client machine at dev.local.company.com:3888 and I want to access that website on a separate machine on the local network over ssh. Both ...
0
votes
0
answers
32
views
Use guest vm vpn from host
I have a vpn connexion inside a vm and I want to use it from the host.
The host is a MacOS Ventura M2 and the guest is a windows 11, Im using parallels.
Is it possible ?
0
votes
0
answers
202
views
Simple way to forward one domain to another domain in mac
I'm trying to set up domain forwarding on my local machine so that all requests to foo.com are automatically redirected to bar.com.
I've read about setting up a DNS server locally, but I'm wondering ...
0
votes
0
answers
433
views
Mac suddenly lost the ability to connect to apps via ports
Last week, I upgraded to the latest version of Transmission BT (4.0.2), and it suddenly stopped being able to connect to peers. I've tried all the usual suspects: port forwarding, making sure UPnP is ...
1
vote
3
answers
1k
views
How to open LAN port to just one external WAN ip address?
How do I configure my home LAN router (D-Link Dir-882) to accept communication to a LAN IP&port just from one specific WAN IP address only?
More detailed;
I have a port open on my DIR-882 Home ...
0
votes
2
answers
268
views
SSH login@ip@gateway through config+VSCode
I can successfully connect from my macbook+VPN to my corporative cloud server through ssh with this command (passwordless, using my id_ed25519 key):
ssh login@ip@gateway -A
But I need to connect to ...
0
votes
1
answer
236
views
MacBook can't access internet
I have a MacBook that is connected to Wi-Fi but it can't access the internet. It can still ping servers like Google's 8.8.8.8. Does anyone have any clue as to what's happening? It just started ...
0
votes
1
answer
96
views
Can I make my Mac's inet IP address static?
I previously used Ngrok, then scrapped that for LocalTunnel for a short while before discovering CloudFlare Tunnel. All these services help me do the same thing, that is, expose local servers I use to ...
1
vote
0
answers
47
views
How do I figure out why one host is so slow writing to another host on LAN?
I have 3 devices on my LAN, all using wired connections:
MacBook Air
Lenovo ThinkCentre (running Ubuntu Server 22.04)
Raspberry Pi
I am using the ThinkCentre as a home server, and want to write ...
0
votes
0
answers
54
views
MacOS SSH client always wants to connect to same server
I have set up a new virtual server today, including PubKeyAuthentication and so on...
If I now want to connect to other servers via SSH the client always wants to connect to one I was mainly working ...
0
votes
1
answer
148
views
Unable to ping VirtualBox host only interface
On my macOS Monterrey machine I am running Ubuntu as guest on VirtualBox 6.1.30 r148432. In VirtualBox I've enabled the host-only adapter, and I see interface vboxnet0 on macOS:
ifconfig vboxnet0
...
1
vote
0
answers
100
views
Missing ports on macOS in ipv6
I would like to understand how it is possible to have a number of different ports between my local ip v4 and v6.
I have a NodeJS service running on port 57110 but I can't see it on my IP v6. How is ...
1
vote
2
answers
592
views
Could someone execute commands on my netcat server/listener?
TLDR
Someone has connected to my netcat server and tried to execute a command. Is it possible they have done any harm to me/my computer/my network?
Detailed story
I've been learning about networking ...
0
votes
1
answer
358
views
Accessing machine over Ethernet, with internet over Wi-Fi, with both networks using same IP address space
I am on a production in which I am placing my MacBook Pro running macOS 10.15.7 (Catalina) onto a local network via Ethernet (en8), whose IP addresses are 192.168.1.*. I also need to be on the Wi-Fi (...
1
vote
1
answer
876
views
Connect host network from a window remote desktop machine
I have a web server running on my Mac on port 8080(localhost:8080), and I'd like to test it from a windows machine.
I have a Mac machine (Host) and a Microsoft Remote Desktop connected windows machine ...
0
votes
1
answer
368
views
Make my ip accessible from external server
I need to make my IP address accessible to an external server. Specifically, I have a microservice (spring boot) running on port 6002 of my mac (catalina). I would need the external server to contact ...