V
V
Vlad Kravets2016-08-31 15:31:49
iptables
Vlad Kravets, 2016-08-31 15:31:49

No internet due to iptables What could be?

There is a server with ubuntu server 16.0.4
iptables is configured by default, incoming connections are dropped
, there is a virtual network for virtual machines ...
and portforwarding is configured
such a trouble when iptables is enabled on the host, the Internet disappears and on virtual machines it is)
what could be the problem?
all local connections are allowed ... you can connect to the host remotely, but there is no Internet from it (

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mureevms, 2016-09-01
@rexido

Apparently, incoming packets are dropped, tk. there is no rule to skip them. Allow all incoming connections in ESTABLISHED,RELATED state to all directions:

iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question