Hello,
I have done my research, but didn't find a solution. I have the following problem: I have a simple private subnet on the host:
and I can reach the LXC guests on this subnet without any problems (ssh from host, reverse proxy from VM in different subnet and with public IP etc.). The guests have no trouble reaching the internet.
However, the guests cannot reach the host (ping, ssh) nor each other.
I have not changed the guests' default /etc/network/interfaces config, since it routes all traffic correctly over vmbr1. What do i miss?
Thanks for pointers...
I have done my research, but didn't find a solution. I have the following problem: I have a simple private subnet on the host:
Code:
iface vmbr1 inet static
address 10.10.10.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
# Enable NAT so machines in this network can reach the internet
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE
and I can reach the LXC guests on this subnet without any problems (ssh from host, reverse proxy from VM in different subnet and with public IP etc.). The guests have no trouble reaching the internet.
However, the guests cannot reach the host (ping, ssh) nor each other.
I have not changed the guests' default /etc/network/interfaces config, since it routes all traffic correctly over vmbr1. What do i miss?
Thanks for pointers...
Last edited: