Adding IPv6 blackhole

Scripts to manage certificates or generate config files

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
nobaq
OpenVpn Newbie
Posts: 7
Joined: Sun Jul 28, 2013 11:43 pm

Adding IPv6 blackhole

Post by nobaq » Sun Jul 28, 2013 11:48 pm

Hi,

I want to add a "blackhole" for IPv6 on client side (Windows). I added to my config file:

Code: Select all

route-ipv6 ::/128 ::1
However, I get the following error:
Sun Jul 28 16:13:59 2013 add_route_ipv6(): not adding ::/128, no IPv6 on if OpenVPN
But that's not true: the interface is a tap device which gets its full configuration (IPv4 and IPv6) from DHCP/autoconf.
The problem is that the OpenVPN interface gets a default gateway assigned. On one client however, I do not want this because it has no IPv6 connectivity at all which means that all traffic from Google/Youtube etc. is routed through the (slow) tunnel. So I would like to "disable" IPv6 on one particular config by adding a blackhole (default IPv6 route to localhost)/

Thanks

Post Reply