Change private IP to public
Hi to all, Im still new to Linux.
Im running ubuntu on virtualbox and I have a dynamic public IP assigned by my ISP.
I have set my networking on my ubuntu virtualbox to NAT so that i would have internet.
I installed apache web server and when I entered ifconfig on the terminal, it showed that eth0 has an address of 10.0.2.15. I tried to access my localhost using the address of 10.0.2.15 and it works fine.
Now my problem is how can i change my private IP which is 10.0.2.15 to into apublic address so that I can access it outside. Do any of you guys have idea on how will i be able to do this? Any help is appreciated, thank you. I am using a modem, no router.