ok its working now, i changed my iptables rows to
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' ! -d '10.10.10.0/24' -o vmbr0 -j MASQUERADE
post-down iptables -t nat -A POSTROUTING -s '10.10.10.0/24' ! -d '10.10.10.0/24' -o vmbr0 -j MASQUERADE
ok i see, what would be the right configuration ? is there an example for what i want ?
i just want that all clients in the 10.10.10.0/24 subnet have access to each other and have access to the internet
i have the following NAT setup on my host:
auto lo
iface lo inet loopback
iface eth0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.240.14
netmask 255.255.255.0
gateway 192.168.240.253
bridge_ports eth0
bridge_stp off
bridge_fd 0...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.