Not working connection forwarding from wlan to vmbr0

delet-dis

New Member
Jan 27, 2021
1
0
1
45
Hello.

I've followed this setup guide, but I'm still having connection issues. It doesn't work.

Internet connection is not available within the virtual machine for both windows and linux.

I am attaching my config file.

Code:
auto lo
iface lo inet loopback


iface eno1 inet manual


auto wlo1
iface wlo1 inet dhcp
        wpa-ssid ssid
        wpa-psk pass


auto vmbr0
iface vmbr0 inet static
        address  10.10.10.1
        netmask  255.255.255.0
        bridge-ports none
        bridge-stp off
        bridge-fd 0


        post-up   echo 1 > /proc/sys/net/ipv4/ip_forward
        post-up   iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o wlo1 -j MASQUERADE
        post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o wlo1 -j MASQUERADE
        post-up   iptables -t raw -I PREROUTING -i fwbr+ -j CT --zone 1
        post-down iptables -t raw -D PREROUTING -i fwbr+ -j CT --zone 1


I hope there is a way to solve this problem. I am ready to provide all additional information, if necessary.

Thanks in advance for encourage:)