Welcome Guest. Please Login or Register  


You are here: Index > Virtualizor - Virtual Server Control Panel > General Support > Topic : How create VPS with only internal IP but have access to internet from inside of VPS



Threaded Mode | Print  

 How create VPS with only internal IP but have access to internet from inside of VPS (6 Replies, Read 7933 times)
payamsaderi
Group: Member
Post Group: Newbie
Posts: 2
Status:
Hi,

How we can create VPS with only internal IP but have access to internet from inside of VPS.

I have Internal IP pool. when I create VPS with only internal IP, I can't access to internet inside of VPS,

For example I can't update OS or install something.
IP: --   

How create VPS with only internal IP but have access to internet from inside of VPS
empiretech
Group: NOC
Post Group: Newbie
Posts: 16
Status:
there are a couple ways to do this
but the easiest way  is to assign your pool as a NAT


http://www.virtualizor.com/wiki/NAT

and and don't forget to add to your iptables rules
iptables -t nat -A POSTROUTING -j MASQUERADE


this assumes you have at least one static public  IP assigned to your node

Edited by empiretech : November 21, 2018, 5:41 pm

-----------------------
█ Lowest Host/Empire Technology LLC
█ Offering Quality Shared, Reseller, VPS servers, and Dedicated Servers
█ 24x7 Tech Support http://empire-hosting.net
IP: --   

How create VPS with only internal IP but have access to internet from inside of VPS
payamsaderi
Group: Member
Post Group: Newbie
Posts: 2
Status:
Quote From : empiretech November 21, 2018, 5:33 pm
there are a couple ways to do this
but the easiest way  is to assign your pool as a NAT


http://www.virtualizor.com/wiki/NAT

and and don't forget to add to your iptables rules
iptables -t nat -A POSTROUTING -j MASQUERADE


this assumes you have at least one static public  IP assigned to your node


I do it exactly.
But when I try to create VPS with only NAT IP got this error:

Code

error: Failed to create domain from /etc/libvirt/qemu/v1028.xml
error: Requested operation is not valid: network 'natbr7' is not active
IP: --   

How create VPS with only internal IP but have access to internet from inside of VPS
empiretech
Group: NOC
Post Group: Newbie
Posts: 16
Status:

Works without issue on our  nodes  right out of the box

Better log into your node and see why your nat did not start
error: Requested operation is not valid: network 'natbr7' is not active

you may need to create your NAT bridge manually

-----------------------
█ Lowest Host/Empire Technology LLC
█ Offering Quality Shared, Reseller, VPS servers, and Dedicated Servers
█ 24x7 Tech Support http://empire-hosting.net
IP: --   

How create VPS with only internal IP but have access to internet from inside of VPS
jevingala
Group: Virtualizor Team
Post Group: Super Member
Posts: 742
Status:
Hi,
You can have a look at this guide :
https://www.virtualizor.com/wiki/Manage_VPS_Domain_Forwarding
You can open a ticket if still face issues.
https://www.softaculous.com/support/open.php


-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/
IP: --   

How create VPS with only internal IP but have access to internet from inside of VPS
empiretech
Group: NOC
Post Group: Newbie
Posts: 16
Status:
I don't think the OP wanted the internal VM'S
to be publicly facing

Just access to internet at least that is the  way I read it

-----------------------
█ Lowest Host/Empire Technology LLC
█ Offering Quality Shared, Reseller, VPS servers, and Dedicated Servers
█ 24x7 Tech Support http://empire-hosting.net
IP: --   

How create VPS with only internal IP but have access to internet from inside of VPS
jevingala
Group: Virtualizor Team
Post Group: Super Member
Posts: 742
Status:
Hi,
In that case, he can use this part of the guide :
https://www.virtualizor.com/wiki/Manage_VPS_Domain_Forwarding#KVM.2C_LXC.2C_OpenVZ_7_and_XEN


-----------------------
Regards,
Virtualizor Team.
http://virtualizor.com/
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 19, 2024, 11:59 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.036