Sorry i meant XX.185.176.28. So it is on the same /24.
- firewall on the HN rejects traffic
No:
# iptables -t nat -L && iptables -t filter -L && iptables -t mangle -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT 0 -- VPSIP anywhere
ACCEPT 0 -- anywhere VPSIP
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
- your network configuration doesn't allow to set random IP (your router can reject such kind of traffic)
Mhm what do you mean with random IP? Also other Servers on the same Switch uses XX.185.183.XX IPs without problems.
OK here are more informations:
HN:
ip route list
XX.158.176.0/24 dev eth0 proto kernel scope link src XX.158.176.27
default via XX.158.176.1 dev eth0
VPS:
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.0.2.1 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
0.0.0.0 192.0.2.1 0.0.0.0 UG 0 0 0 venet0
I've checked with tcpdump, that traffic goes OUT but not in and this is an ARP problem. If i ping the IP of the VPS from another server in the same network than the HN does not respond.
arp -v
Address HWtype HWaddress Flags Mask Iface
VPSIP (incomplete) eth0