Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vpn backend does not route return packets on Darwin #598

Open
scareything opened this issue Apr 17, 2024 · 0 comments
Open

vpn backend does not route return packets on Darwin #598

scareything opened this issue Apr 17, 2024 · 0 comments

Comments

@scareything
Copy link
Member

I set up a vpn share, the backend was created on Darwin and it was accessed from a Windows host. An ssh connection from the Windows host didn't work initially. A packet capture on the Mac showed that the segments from the ssh client on Windows were arriving, but the return segments were going out on the Mac's default route and not making it to the client host.

The connections started working after I manually added a route to send subnet packets through the tun interface:

sudo route add 10.122.0.0/16 -interface utun5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant