C
C
Chvalov2014-09-10 11:53:49
JavaScript
Chvalov, 2014-09-10 11:53:49

The server does not ping by external ip in the local network, what's the problem?

There is a server on Ubuntu Server 14.04.1 X64
Installed packages:

[email protected]:/home/chvalov# sudo dpkg --get-selections
pastebin.com/raw.php?i=0CegZh1Z
iptables settings:
[email protected]:/home/chvalov# iptables -L -n -v
Chain INPUT (policy ACCEPT 6788 packets, 349K bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination

Chain OUTPUT (policy ACCEPT 11235 packets, 1541K bytes)
 pkts bytes target     prot opt in     out     source               destination

On the local ip "10.11.1.1" pings and loads the Apache page.
Externally, it does not ping or download anything (in the provider's network).
People from other providers go to the external address perfectly and punch.
I thought that the problem was in the provider, but when I started to prove it, they said that everything was in order with them, picking at their place.
The funny thing is that if you connect via pppoe with Windows 7, then everything works fine, pings and loads sites with nginx.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
V
Vitaly Inchin ☢, 2016-08-23
@hummingbird

something.forEach(function(element, i){
   setTimeout(function(){
      useMyFunc(element);
   }, 5000 * ++i)
});

A
Andrey Malinovsky, 2016-08-23
@GAVRAN

Here's an example , I hope it helps.

V
VBKesha, 2014-09-10
@VBKesha

I correctly understood that the server does not respond from a local area network on IP which looks in the Internet?
try to give a command from root
If it helps then edit /etc/sysctl.conf

V
Vladimir, 2014-09-10
@rostel

sudo apt-get install tcpdump
sudo tcpdump -i ppp0 -vnn icmp

try to ping
UPD:
most likely a gateway is registered in the eth0 config
because of this, the answers go through eth0
look in /etc/ppp/peers/ there is a pppoe settings file
add a parameter to it
defaultroute

G
Gasoid, 2014-09-10
@Gasoid

For understanding, you need the output from the command:

route del -net 91.236.248.0 gw 10.11.0.251 netmask 255.255.252.0 dev eth0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question