From 2fd70489540c22731fb8e746d9ceefce38b0639c Mon Sep 17 00:00:00 2001 From: Hu Xiaohong Date: Fri, 10 May 2024 13:40:14 +0800 Subject: [PATCH] update ipv6 content --- README.md | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1ee100a..d40c4d8 100644 --- a/README.md +++ b/README.md @@ -70,8 +70,6 @@ Please make sure your docker service has been enabled ipv6 support, if not yet, ```json { - "ipv6": true, - "fixed-cidr-v6": "2001:0DB8:1::/64", "experimental": true, "ip6tables": true } @@ -83,7 +81,27 @@ then, restart your docker service: sudo systemctl restart docker.service ``` -Please note that the `fixed-cidr-v6` network segment and `subnet` in compose file should belong to same larger network segment, but side by side with each other. +The ocserv server should be works now. + +If you want, you can add settings to assign a default ipv6 network segment: + +```json +{ + "experimental": true, + "ip6tables": true, + "ipv6": true, + "fixed-cidr-v6": "2001:db8:1::/64" +} +``` + +### resolve IPv6 domain error + +Maybe you will see the error when you connect to the server with your Cisco Security Client, especailly when your server is IPv6 only. Maybe thers's a problem in your DNS settings or IPv4/IPv6 weights settings etc. The easy way to solve problem is edit your HOST file. For example, on Windows you could find `C:\Windows\System32\drivers\etc\hosts` and open it, and add content into it: + +```text +2406:da12:3456:7890:1abc:1:2 vpn.example.com +18.111.222.333 vpn.example.com +``` ---