I have a server with a IP 18.104.22.168/24. This is the main IP address of the server, and now I have two other IP addresses for the server, they are 22.214.171.124/24 and 126.96.36.199/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.