I have setup and configured softether VPN.
- Set IPsec/L2TP VPN.
- Created bridge interface vmbr2 - 172.31.254.1/24
- Set DHCP server with clients from 172.31.254.51 address
- Set iptables rule
Code: Select all
0 0 MASQUERADE all -- * enp0s31f6 172.31.254.0/24 0.0.0.0/0
Code: Select all
Chain FORWARD policy ACCEPT
- In Softether client created Local Bridge Settings - linked virtual hub and vmbr2 interface
- Successfully connecting to VPN and have next ipconfig:
Code: Select all
Автонастройка включена. . . . . . : Да
IPv4-адрес. . . . . . . . . . . . : 172.31.254.51(Основной)
Маска подсети . . . . . . . . . . : 255.255.255.255
Основной шлюз. . . . . . . . . : 0.0.0.0
DNS-серверы. . . . . . . . . . . : 172.31.254.1
NetBios через TCP/IP. . . . . . . . : Включен
Code: Select all
0.0.0.0 0.0.0.0 On-link 172.31.254.51 26
Please help. What I have missed?