-
Notifications
You must be signed in to change notification settings - Fork 87
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
problem adding hosts by name on MacOS #75
Comments
Yes, that should work. Questions:
|
Okay, there's a lot going on here. 😅
Do you understand that
I don't really understand what this means 🤷♂️ … does a connection to
This should not matter unless the third byte is also the same. 192.168.0.0/16 is not a standards-compliant IPv4 private network; 192.168.x.0/24 is. If both your local network and the remote network are, say, 192.168.123.0/24… then you should try to change the local network to avoid the collision. |
Also, add |
@bilak Any updates? Please reopen if so. |
Hello,
didn't found vpn-slice on stackoverflow so I'm trying to ask for help here.
When I'm using openconnect on Ubuntu I just configure route
192.168.1.0 255.255.255.0
and everything communicates through VPN.However I'd like to use MAC and route only work related traffic through VPN and everything else "normally".
Something like this works perfectly for some usecases
sudo openconnect --cafile=./myvpn.com.pem --servercert pin-sha256:somecert --disable-ipv6 -u me -s 'vpn-slice 192.168.1.0/24 somehost.myvpn.com' myvpn.com
.I've recently realised that there are some domains that I'm only able to access through VPN but with configuration above I'm not able to do so. So for example if I'd like to connect to som.weird.example.com what would be the configuration? I've tried to modify script like this
-s 'vpn-slice 192.168.1.0/24 somehost.myvpn.com som.weird.example.com'
but that didn't worked. Is that possible at all?Thanks
The text was updated successfully, but these errors were encountered: