Page 1 of 2

No ping out of the server

Posted: Wed Oct 26, 2016 3:03 pm
by edica
No ping out of the server after installing Vesta.

I already change /etc/resolv.conf to:
nameserver 8.8.8.8
nameserver 8.8.4.4

/etc/sysconfig/network-scripts/ifcfg-eth1:

DEVICE=eth1
ONBOOT=yes
BOOTPROTO=static
IPADDR="x.x.x.x"
NETMASK="255.255.254.0"
GATEWAY="x.x.x.x"

ifcfg-venet0:

DEVICE=venet0
BOOTPROTO=static
ONBOOT=yes
IPADDR=127.0.0.1
NETMASK=255.255.255.255
BROADCAST=0.0.0.0
ARPCHECK="no"

ifcfg-venet0:0:

DEVICE=venet0:0
ONBOOT=yes
IPADDR=10.250.176.0
ARPCHECK="no"
NETMASK=255.0.0.0

Re: No ping out of the server

Posted: Thu Oct 27, 2016 12:01 pm
by skurudo
Please try to stop firewall and check.
With openvz vps there is somethimes thing like this.

Re: No ping out of the server

Posted: Thu Oct 27, 2016 4:44 pm
by edica
I stopped the firewall but the problem continues. :/

Re: No ping out of the server

Posted: Fri Oct 28, 2016 7:10 am
by skurudo

Code: Select all

v-stop-service iptables 
?

Re: No ping out of the server

Posted: Fri Oct 28, 2016 11:53 am
by edica
wow nice. It worked. I had run with: service firewalld stop

But how to fix? I cannot leave iptables always stopped.

Thanks.

Re: No ping out of the server

Posted: Fri Oct 28, 2016 1:40 pm
by skurudo
edica wrote:wow nice. It worked. I had run with: service firewalld stop
But how to fix? I cannot leave iptables always stopped.
Why? You can! You not wish ;-)

Anyway, do you use OpenVZ vps?

Re: No ping out of the server

Posted: Fri Oct 28, 2016 4:16 pm
by edica
Yes OpenVZ VPS with CentOS 7.2

Re: No ping out of the server

Posted: Tue Nov 01, 2016 1:46 pm
by skurudo
Can you show us output:

Code: Select all

iptables -L 
?

Re: No ping out of the server

Posted: Wed Nov 02, 2016 7:31 pm
by johny009
I have the same problem. Debian VPS 8 openvz. When the stops firefall is ok.

Re: No ping out of the server

Posted: Thu Nov 03, 2016 7:40 am
by mehargags
Looks like some problem which we had long time back... but it was fixed in later revisions.

Anyhow, please take a look at this topic :

(Solved) firewall disables outwards DNS lookup / apt-get