Comments (7)
请问一下,远程ID是什么,没看到文档说明啊
from one-key-ikev2-vpn.
检查一下/usr/local/etc/ipsec.conf 文件是否正常
from one-key-ikev2-vpn.
conn iOS_cert
keyexchange=ikev2
fragmentation=yes
left=%defaultroute
leftauth=pubkey
leftsubnet=0.0.0.0/0
leftcert=server.cert.pem
right=%any
rightauth=pubkey
rightauth2=xauth
rightsourceip=10.31.2.0/24
rightcert=client.cert.pem
auto=add
本来keyexchange是ikev1的,我改了2也是不行。日志里面还是那个样子。
looking for an ike config for .............
resolving 'any' failed: Name or service not known
no IKE config found for.........
IOS上服务器和远程ID都是填VPS的ip了
from one-key-ikev2-vpn.
@freedomlang iOS_cert是ikeV1的配置,ikev2用的是conn ios_ikev2 ,且手机需要导入证书
把ipsec.conf的配置信息改成 https://github.com/quericy/one-key-ikev2-vpn/blob/master/one-key-ikev2.sh#L259
两个EOF之间的内容试试
from one-key-ikev2-vpn.
@quericy 忘了说,证书是已经导入到手机了「也就是描述文件」,ipsec.conf的配置信息改成你所说的也还是一样连不上>_<
PS:改完ipsec.conf后,我是reload过的!
from one-key-ikev2-vpn.
这种情况确实比较奇怪,建议make uninstall卸载了,清除相关文件,再重新下载最新版本编译安装试试
from one-key-ikev2-vpn.
脚本已更新,iOS9/10测试通过,有兴趣的话可以试试
from one-key-ikev2-vpn.
Related Issues (20)
- bandwagonhost no longer work HOT 1
- 非常奇怪的墙
- Ubuntu 安装成功,从log 看是IOS(显示服务器无响应)收不到数据,难道被防火墙挡了? HOT 2
- Google Cloud Platform - CentOS 6, 连接成功, 能打开网页, 但是重启后失效的问题.
- Android 现在支持IKEV2了,CentOS8也出来了,求更新
- 配置文件语法错误,不能启动。 HOT 3
- 修改后还是无法启动,这样改了可以了。 HOT 1
- 现在支持ipv6吗? 支持debian吗?
- lxc虚拟机可以用吗?
- IKE authentication credentials are unacceptable - Windows 10 Client
- 这个脚本在有些VPS上出现809错误 HOT 1
- strongswan客户端连接提示“用户鉴权失败” HOT 4
- How Connect To External radius server HOT 5
- AWS 动态ip如何配置
- 如果採用 Letsencrypt 產生憑證之後的綁定方式 HOT 1
- 安卓 ikev2 HOT 2
- 远程id是多少
- no matching outbound IPsec policy for
- ikev2 可以连接但无法访问网络
- an unexpected error occurred after starting connection HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from one-key-ikev2-vpn.