basic help for Nat configuration needed

Posted by Klaes S. on Server Fault See other posts from Server Fault or by Klaes S.
Published on 2012-05-30T18:51:06Z Indexed on 2012/05/30 22:42 UTC
Read the original article Hit count: 196

Filed under:
|
|
|

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

© Server Fault or respective owner

Related posts about iptables

Related posts about nat