Tested in VyOS 1.3.1-S1. And Windows 10 Pro 21H2
L2TP connects. However, it does not work as expected in 1.3.1-S1.
In 1.2.8 the same config works.
[email protected]:~$ sh vpn remote-access ifname | username | calling-sid | ip | rate-limit | type | comp | state | rx-bytes | tx-bytes | uptime --------+----------+-------------+--------------+------------+------+------+--------+----------+----------+---------- l2tp0 | test | 192.168.6.1 | 172.25.255.1 | | l2tp | mppe | active | 14.9 KiB | 240 B | 00:00:12
To reproduce:
set interfaces dummy dum4 address '4.4.4.4/32' set interfaces ethernet eth0 address 'dhcp' set interfaces ethernet eth1 address '192.168.6.31/24' set service ssh set vpn ipsec ipsec-interfaces interface 'eth1' set vpn ipsec nat-networks allowed-network 0.0.0.0/0 set vpn ipsec nat-traversal 'enable' set vpn l2tp remote-access authentication local-users username test password 'test' set vpn l2tp remote-access authentication local-users username test static-ip '172.25.255.1' set vpn l2tp remote-access authentication mode 'local' set vpn l2tp remote-access authentication require 'mschap-v2' set vpn l2tp remote-access client-ip-pool start '172.25.255.1' set vpn l2tp remote-access client-ip-pool stop '172.25.255.14' set vpn l2tp remote-access idle '1800' set vpn l2tp remote-access ipsec-settings authentication mode 'pre-shared-secret' set vpn l2tp remote-access ipsec-settings authentication pre-shared-secret 'test' set vpn l2tp remote-access ipsec-settings ike-lifetime '3600' set vpn l2tp remote-access ipsec-settings lifetime '3600' set vpn l2tp remote-access outside-address '192.168.6.31'
Once the client is connected, traffic from the client does not pass even on 4.4.4.4.
ping 4.4.4.4 -t Pinging 4.4.4.4 with 32 bytes of data: Request timed out. Request timed out. Ping statistics for 4.4.4.4: Packets: Sent = 2, Received = 0, Lost = 2 (100% loss),
In 1.2.8 the same ping toward 4.4.4.4 is successful.