I've looked through another few questions but none seem to quite fit mine.
I've got an Ubuntu 32 bit system running off of vagrant. It has a public interface (eth1) and a nat interface (eth0). The eth0 is needed to ssh into the machine as it is command line only, but can get rid of it if need be.
My problem is that my website can be accessed by directly on my local machine, but when I try and access it over the internet it doesn't work, same goes for SSH. Nothing seems to be able to break out of the VM sandbox. Does anyone have any tips?
Note: I've just tested and I can access it on my local network, but it doesn't work over the internet. I know that port forwarding works because I can point port 22 and 80 to my host machine and have apache and ssh work on a fresh install, it just seems to be the VM which is breaking things.
my interfaces file:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet dhcp
#VAGRANT-BEGIN
# The contents below are automatically generated by Vagrant. Do not modify.
auto eth1
iface eth1 inet dhcp
post-up route del default dev $IFACE
#VAGRANT-END
/etc/network/interfaces
doesn't contain that information.