Server Access from a different Subnet

Associate
Joined
1 Aug 2003
Posts
1,053
I have setup a VPN, but am having an odd issue where I can connect to one of my servers, but all the others are inaccessible.

One server responds absolutely fine, as do all other devices, but two of the servers are totally inaccessible.

I have tried making sure they have their gateway set correctly and I can't see any major differences in iptables - any suggestions?
 

SMN

SMN

Soldato
Joined
2 Nov 2008
Posts
2,502
Location
The ether
To be clear - you have a route to the subnet, and its just two servers in that subnet that are the issue?

What are the routes on those 2 boxes? Do they have the default gw set correctly? Also, bear in mind if you are accessing via VPN you will be coming from a different range, this caught me out before, i.e. my subnet was 192.168.0.0/24 but my VPN client pool was in 172.13.16.0/24 (an openvpn range). I had to explicitly add an 'iptables -I INPUT 1 -s 172.13.16.0/24 --dport 22... -j ACCEPT' to let me in (making that command up off the top of my head!).
 
Associate
OP
Joined
1 Aug 2003
Posts
1,053
Yes, route to the subnet, two servers not responding.

They have near identical settings output in /sbin/route

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default router.asus.com 0.0.0.0 UG 0 0 0 bond0
link-local 0.0.0.0 255.255.0.0 U 1004 0 0 bond0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 bond0

The only real difference is the metric values which, as I understand it, specifies interface priorities.
 
Back
Top Bottom