summaryrefslogtreecommitdiff
path: root/src/validators
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2020-04-14 17:15:58 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2020-04-16 12:48:59 +0200
commitbb9f99853c723c5100c3fffbc592ba79f3abebfe (patch)
tree77b5e7da7b6b20bdec5b282108148a54df8c3300 /src/validators
parentf50877bff8afed409f02d2978da6a70c383ccea1 (diff)
downloadvyos-1x-bb9f99853c723c5100c3fffbc592ba79f3abebfe.tar.gz
vyos-1x-bb9f99853c723c5100c3fffbc592ba79f3abebfe.zip
openvpn: T149: IPv6 support
- allow configuring IPv6 server addresses and push options - add IPv6 server client IP pool - add IPv6 push dhcp-option DNS6 - allow configuring IPv6 server client addresses - allow configuring IPv6 site-to-site addresses - validate all IPv6 options and addresses - use protos that explicitely open an IPv6 listening socket (tcp6-server, tcp6-client, udp6) as the default on Linux listens on IPv4 only (https://community.openvpn.net/openvpn/ticket/360) - add validator for any IPv6 address, host or network (used by pool)
Diffstat (limited to 'src/validators')
-rwxr-xr-xsrc/validators/ipv63
1 files changed, 3 insertions, 0 deletions
diff --git a/src/validators/ipv6 b/src/validators/ipv6
new file mode 100755
index 000000000..f18d4a63e
--- /dev/null
+++ b/src/validators/ipv6
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+ipaddrcheck --is-ipv6 $1