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

Error: Wireless interface 'wlan0' detected. DO NOT run this script on your PC or Mac! #492

Closed
luckzhiwei opened this issue Nov 21, 2018 · 5 comments

Comments

@luckzhiwei
Copy link

luckzhiwei commented Nov 21, 2018

Hello Lin Song.
When I try to run the "sudo sh vpnsetup.sh" on my PC, the error appear.
My environment is Ubuntu 16.04.
I use the ifconfig to see my network adapter is "wlan0".
Should I change the network adapter name to solve the problem?
Thank you

@hwdsl2
Copy link
Owner

hwdsl2 commented Nov 21, 2018

@luckzhiwei Hello! The VPN setup scripts should NOT be run on your PC or Mac, it should only be used on a dedicated server or VPS. There are checks that try to prevent this.

If you know what you are doing and are certain that you want to run this on a server at home, however, you can comment out these lines [1] before running the script.

[1] https://github.com/hwdsl2/setup-ipsec-vpn/blob/master/vpnsetup.sh#L78-L84

@hwdsl2 hwdsl2 closed this as completed Nov 21, 2018
@luckzhiwei
Copy link
Author

Sorry,I misunderstand your article and I do this on my laptops.
Thank you very much

@luckzhiwei
Copy link
Author

@hwdsl2 I read your readme.md. You suggest running this script on the Amazon EC2 or VPS.Can I run the script on the aliyun ECS?

@hwdsl2
Copy link
Owner

hwdsl2 commented Nov 21, 2018

@luckzhiwei Yes, you can use any server provider you like. Be sure to open UDP ports 500 and 4500 for the VPN. For Aliyun, see #433.

@luckzhiwei
Copy link
Author

luckzhiwei commented Nov 21, 2018

Thank you! @hwdsl2

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

2 participants