I have a server with a IP 126.96.36.199/24. This is the main IP address of the server, and now I have two other IP addresses for the server, they are 188.8.131.52/24 and 184.108.40.206/24. I want to make a VirtualBox running another OS accessible through the Internet, and only allow the specified IP to reach the virtual box.
I'm new to iptables and therefore I need some basic help and getting started information about this.
The hosting provider does not allow more than on MAC address per switch port, which means that I'm not able to make bridge as far as I know.
Futhermore I want the host, to reject the extra IPs so its only the VirtualBox / virtual machine that accepts the request's on the extra IPS.