L2TPv3 using UDP Documentation/Reference

Dear Members

Kindly recently I have started using VyOS and really enjoying building different scenarios and test cases.

I stuck while creating L2TPv3 using UDP as encapsulation. Is there any detailed document about it.

I try to find since last 2 days, but unable to find any with clear examples.

Thanks in advance.

Hello @razi_zaheer, you can find documentation by the following link L2TPv3 — VyOS 1.4.x (sagitta) documentation

I think you need to add
set interfaces l2tpv3 l2tpeth1 encapsulation udp

1 Like

Many thanks, I checked this document but not so clear.

we need combination of Bridge and UDP L2TPV3 interfaces for making tunnel up ?

Over UDP
UDP mode works better with NAT:

Set local-ip to your local IP (LAN).
Add a forwarding rule matching UDP port on your internet router.

show interfaces l2tpv3

l2tpv3 l2tpeth10 {
address 192.168.37.1/27
destination-port 9001
encapsulation udp
local-ip 192.0.2.1
peer-session-id 100
peer-tunnel-id 200
remote-ip 203.0.113.24
session-id 100
source-port 9000
tunnel-id 200
}
To create more than one tunnel, use distinct UDP ports.

You can use a bridge or routing or etc. this depends on your network architecture. Also, you can use IPSec and make your tunnel secure.

1 Like

@razi_zaheer For example, you can build this map.

@Viacheslav @Dmitry many thanks … appreciate