OpenVZ Forum


Home » Mailing lists » Users » can access vps from server not from network
Re: can access vps from server not from network [message #3171 is a reply to message #3168] Tue, 16 May 2006 08:36 Go to previous messageGo to previous message
rkagan is currently offline  rkagan
Messages: 11
Registered: May 2006
Location: Moscow
Junior Member
On Tue, May 16, 2006 at 08:08:14AM +0530, abhishek jain wrote:
> Hi,
> I add vps via the process listed at quick install guide, i can access the
> vps via the server on which it is hosted , but when accessing from outside
> using the assigned IP i access the server and not the VPS.
> I can see the ip assigned to VPS in /sbin/ifconfig of the server.

Make sure

# sysctl net.ipv4.ip_forward

prints 1. If it doesn't, set it with

# sysctl net.ipv4.ip_forward=1

To have it set on every boot you need to tweak a config file depending
on the distro you're using. E.g. for RedHat-based distros (RHEL,
Fedora, CentOS) this is /etc/sysctl.conf.

IIRC this is mentioned in the installation guide.

Roman.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: rsync to cone VPS - Urgent for me.
Next Topic: SecurityFocus Article
Goto Forum:
  


Current Time: Wed Aug 07 05:25:16 GMT 2024

Total time taken to generate the page: 0.02929 seconds