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

How to pipe to another command when VPN connects? #21

Open
danielkrajnik opened this issue Dec 27, 2022 · 0 comments
Open

How to pipe to another command when VPN connects? #21

danielkrajnik opened this issue Dec 27, 2022 · 0 comments

Comments

@danielkrajnik
Copy link

danielkrajnik commented Dec 27, 2022

I'm trying to add dns once VPN connects, however I'm not sure how to do this:

sudo nxBender --server SERVER-NAME --username USER-NAME --domain DOMAIN --port 4433 --fingerprint CERT-FINGERPRINT && sudo resolvectl dns ppp0 DNS-IPS && sudo resolvectl domain ppp0 DOMAIN-NAME

nxBender never terminates, so the second command (resolvectl) never gets to run.

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