I'm getting nuts with this problem.
Any help is very much appreciated.
My new subnet is:
Subnet: 88.99.181.208 /28
Usable IP addresses: 88.99.181.209 to 88.99.181.222
I enabled forwarding:
In my host server I got:
Rebooted the server and setup on LXC with:
IP 88.99.181.209/28
and gateway 88.99.148.1
but no luck, the VM can't communicate with Internet and when I ssh into its IP all I'm achieving is to connect to the host. It seems that port forwarding is not working properly?
Any advise is highly appreciated.
Any help is very much appreciated.
My new subnet is:
Subnet: 88.99.181.208 /28
Usable IP addresses: 88.99.181.209 to 88.99.181.222
I enabled forwarding:
Code:
sysctl -w net.ipv4.ip_forward=1
sysctl -w net.ipv6.conf.all.forwarding=1
In my host server I got:
Code:
# Loopback device:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 88.99.148.25
netmask 255.255.255.255
pointopoint 88.99.148.1
gateway 88.99.148.1
iface eth0 inet6 static
address 2a01:4f8:10a:2c58::2
netmask 64
gateway fe80::1
up sysctl -p
# for subnet
auto vmbr1
iface vmbr1 inet static
address 88.99.181.209
netmask 255.255.255.240
bridge_ports none
bridge_stp off
bridge_fd 0
Rebooted the server and setup on LXC with:
IP 88.99.181.209/28
and gateway 88.99.148.1
but no luck, the VM can't communicate with Internet and when I ssh into its IP all I'm achieving is to connect to the host. It seems that port forwarding is not working properly?
Any advise is highly appreciated.