A couple of years back I set up my first web server. virtualbox I recently decided to upgrade the base set up for extra harddrive space. I followed this guide (http://www.howtoforge.com/perfect-server-debian-wheezy-apache2-bind-dovecot-ispconfig-3) and then copied all of the setting from my old set up. All looked as I just used the lan to test and set up wordpress etc. when I changed the ip address so that it was live the virtualbox could not access the net but still could locally some of my set up is /etc/network/interfaces # The loopback network interface auto lo iface lo inet loopback ### For the Internet ### allow-hotplug eth0 auto eth0 iface eth0 inet static address 203.xxx.xxx.xx netmask 255.255.255.0 network 203.xxx.xxx.0 broadcast 203.xxx.xxx.255 gateway 10.x.x.1 auto eth0:0 iface eth0:0 inet static address 10.x.x.xxx netmask 255.255.255.0 network 10.x.x.0 broadcast 10.x.x.255 gateway 10.x.x.1 result from ispconfig iptables after shutting down fail2ban iptables -S (ipv4) -P INPUT ACCEPT -P FORWARD ACCEPT -P OUTPUT ACCEPT ip6tables -S (ipv6) -P INPUT ACCEPT -P FORWARD ACCEPT -P OUTPUT ACCEPT any help would be appreciated Thanks Dave
I just checked the working version and it is the same but that may mean it was a fluke that it worked. So if you have any suggestions. I am open to try them. Virtualbox is 4.3.0 Thanks Dave
Hi spottyrover, Please install guesst-additions in your Debian-wheezy. I have faced same issue before & I sorted it as follows: At Debian run it as root. Please verify your kernel version in Debain by uname -r Then install the guest addition cd as :- Mount the cd as Finally go to the cd drive in bash & run the additions Finally reboot the VM, cross-check your VM networking parameters. It will work. Cheers. Br// Srijan
Have to cook dinner now. I will recheck your suggestion later tonight. (but I thought it was installed) Thanks Dave
thanks for your input srijan but it did not work vbox network is set up as bridged adapter eth0 promiscuous mode set to allow all it was set to deny ( same as old one) thanks Dave
Hi Please check the your networking parameters. Please ensure that UFW/IPTABLES don't exist. Br// srijan
result from ispconfig iptables after shutting down fail2ban iptables -S (ipv4) -P INPUT ACCEPT -P FORWARD ACCEPT -P OUTPUT ACCEPT ip6tables -S (ipv6) -P INPUT ACCEPT -P FORWARD ACCEPT -P OUTPUT ACCEPT It looks off to me but I have not played with iptables ( I used guarddog in the past, pity it has gone) Thanks Dave
The problem was the debian update itself. After comparing working and not working iptable I could not fing a difference. So I removed both iptables and fail2ban but I still could not access the net. So I started the update process again ( thats what I like about virtual images ) Made sure that the virtualbox additions were working corectly. Then did a partial update of files which were not related to the server ( just in case ) Then did the final update and it now works This problem was proberly a debian one which was fixed during the time of the first problem and finally getting it working. Thanks for all of the help Dave