[FROG] TUN interface for OpenVPN traffic

Jan Hugo Prins | BetterBe jprins at betterbe.com
Mon Sep 7 23:04:51 UTC 2020


Hello everyone,

I'm currently trying to move my OpenVPN users from TAP devices to TUN
devices because Apple states that they will disable TAP in the near future.
I have it working for IPv4 just fine, but IPv6 gives me a little OSPF6
issue. The tun0 interface has the following state, even when people are
connected:

tun0 is up, type POINTOPOINT
  Interface ID: 42
  Internet Address:
    inet : 172.31.8.1/32
    inet6: 2a02:b70:0:2::1/64
  Instance ID 0, Interface MTU 1500 (autodetect: 1500)
  MTU mismatch detection: disabled
  Area ID 0.0.0.0, Cost 10
  State Down, Transmit Delay 1 sec, Priority 1
  Timer intervals configured:
   Hello 10, Dead 40, Retransmit 5
  DR: 0.0.0.0 BDR: 0.0.0.0
  Number of I/F scoped LSAs is 0
    0 Pending LSAs for LSUpdate in Time 00:00:00 [thread off]
    0 Pending LSAs for LSAck in Time 00:00:00 [thread off]

I think the "State Down" is the root cause for the routes to this
interface not showing up on other routers, which results in IPv6 traffic
failing completely.
Could someone tell me if this is intentionally, or that I have some
potential config error?
If I need to share my whole configuration, let me know, my hope is that
it is something simple related to TUN interfaces / POINTTOPOINT interfaces.


interface tun0
 ipv6 address 2a02:b70:0:2::1/64
 ipv6 nd suppress-ra
 ipv6 ospf6 mtu-ignore
 ipv6 ospf6 network point-to-point
 no link-detect

router ospf6
 interface tun0 area 0.0.0.0

ipv6 route 2a02:b70:0:2::/64 tun0



-- 
Kind regards

Jan Hugo Prins
/DevOps Engineer/
<https://betterbe.com>
Auke Vleerstraat 140 E
7547 AN Enschede
CC no. 08097527
<https://www.kvk.nl/orderstraat/product-kiezen/?kvknummer=080975270000>
*T* +31 (0) 53 48 00 694 <tel:+31534800694>
*E* jprins at betterbe.com <mailto:jprins at betterbe.com>
*M* +31 (0)6 263 58 951 <tel:+31 (0)6 263 58 951> 	www.betterbe.com
<https://www.betterbe.com>
BetterBe accepts no liability for the content of this email, or for the
consequences of any actions taken on the basis
of the information provided, unless that information is subsequently
confirmed in writing. If you are not the intended
recipient you are notified that disclosing, copying, distributing or
taking any action in reliance on the contents of this
information is strictly prohibited.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20200908/82a36e15/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fdekomemajlolgln.png
Type: image/png
Size: 13988 bytes
Desc: not available
URL: <http://lists.frrouting.org/pipermail/frog/attachments/20200908/82a36e15/attachment-0001.png>


More information about the frog mailing list