can't ping from virtualbox ubuntu server --nat connection

Posted by George on Ask Ubuntu See other posts from Ask Ubuntu or by George
Published on 2011-08-09T11:34:05Z Indexed on 2011/11/27 10:04 UTC
Read the original article Hit count: 259

Filed under:
|

i set up an ubuntu server in virtual box following these and these instructions.My connection worked,also ssh . Then, i signed up in dyndns.com ,i configured the router ,but in the port forward i changed the 2222 port to 80 because it couldn’t forward from 2222.My port is open and accepting connections but i don’t have any more connection from the server in the virtual box. From virtual box settings->network->port forwarding , i use: Host IP :127.0.0.1 , Host port :80 , Guest Port :22 ,Guest IP : its empty.

I am not sure if i am using right the address in /etc/network/interfaces , i use 192.168.0.2 and also this address i use for the firewall rules in the router. Also,in the server /etc/resolv.conf i put that address and in /etc/mysql/my.cnf.

I can ping that address but nothing more.(of course neither ssh works)

Thank you

© Ask Ubuntu or respective owner

Related posts about server

Related posts about virtualbox