Cannot access internet

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
fulkon
Posts: 1
Joined: Mon Nov 02, 2020 4:28 pm

Cannot access internet

Post by fulkon » Mon Nov 02, 2020 4:48 pm

Hi.

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
and

Code: Select all

Chain FORWARD policy ACCEPT
- Set /proc/sys/net/ipv4/ip_forward in 1
- 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. . . . . . . . : Включен
and next routing:

Code: Select all

0.0.0.0          0.0.0.0         On-link     172.31.254.51     26
Can ping vmbr2 IP - 172.31.254.1, but any other IPs in internet - no.

Please help. What I have missed?

Post Reply