0

in my guest vm i can easily update and download as i want but if ping it says Request timed out after that i installed httpd (apache) in centos 7 port 80 unreachable

in trace

C:\Users\problem>tracert 178.63.148.5x

Tracing route to static.5x.148.63.178.clients.your-server.de [178.63.148.5x]
over a maximum of 30 hops:

1     1 ms     1 ms     1 ms  problem-PC [192.168.1.1]
2    34 ms    33 ms    34 ms  10.45.10.220
3   299 ms   611 ms   120 ms  10.35.11.157
4   732 ms  1108 ms    39 ms  10.37.78.22
5    39 ms    36 ms    37 ms  10.37.24.121
6   575 ms    36 ms    41 ms  10.37.87.149
7    36 ms    53 ms    36 ms  10.37.85.102
8   912 ms   120 ms    69 ms  xe-10-1-3.cr0-mrs1.ip4.gtt.net [46.33.84.217]
9   125 ms    86 ms    86 ms  et-0-0-37.cr10-fra2.ip4.gtt.net [89.149.180.49]
10     *      232 ms    89 ms  hetzner-online-gw.ip4.gtt.net [77.67.76.142]
11  3321 ms   140 ms    89 ms  core21.fsn1.hetzner.com [213.239.245.217]
12    97 ms   102 ms   122 ms  ex9k2.dc3.fsn1.hetzner.com [213.239.229.242]
13   126 ms   130 ms   129 ms  static.186.83.63.178.clients.your-server.de [178.63.83.18x]
14  static.186.83.63.17x.clients.your-server.de [178.63.83.18x]  reports: Destination protocol unreachable.

server interface ### Hetzner Online GmbH installimage

          source /etc/network/interfaces.d/*

          auto lo
          iface lo inet loopback
          iface lo inet6 loopback

          auto eth0
          iface eth0 inet static
          address 178.63.83.18x
          netmask 255.255.255.192
          gateway 178.63.83.129
          # route 178.63.83.128/26 via 178.63.83.129
          bridge_ports eth0
          bridge_fd 0
          bridge_stp      on
          up route add -net 178.63.83.128 netmask 255.255.255.192 gw 178.63.83.129 dev eth0

          iface eth0 inet6 static
          address 2a01:4f8:121:3361::2
          netmask 64
          gateway fe80::1

iptables Chain INPUT (policy ACCEPT) target prot opt source destination ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:53 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:53 ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:67 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:67

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --  0.0.0.0/0            178.63.148.4x/29     ctstate 
RELATED,ESTABLISHED
ACCEPT     all  --  178.63.148.4x/29     0.0.0.0/0
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0
REJECT     all  --  0.0.0.0/0            0.0.0.0/0            reject-with icmp- 
port-unreachable
REJECT     all  --  0.0.0.0/0            0.0.0.0/0            reject-with 
icmp-port-unreachable

   Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
   ACCEPT     udp  --  0.0.0.0/0            0.0.0.0/0            udp dpt:68



 /etc/ufw/before.rules
-A POSTROUTING -s 178.63.148.48/29 -o eth0 -j MASQUERADE

Thanks in advance

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.