Can't ping server on different private subnet
-
- OpenVpn Newbie
- Posts: 6
- Joined: Fri Nov 02, 2018 4:09 pm
Can't ping server on different private subnet
I setup an Access Server in a public AWS subnet. Routing is set to use NAT. I specified both the subnet the AS is on and another in the "Specify the private subnets to which all clients should be given access". When I remotely connect to the AS from a windows server, I can ping servers that are on the same private subnet. I can't ping anything on the other subnet. The AS can ping a server on the other subnet though. There are no NACLs involved. I know the security group is configured correctly because the AS can ping the server on the other subnet. A tracert from the client server shows it using the AS ip address as the first hop. How can I fix this?
Thank you
Thank you
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: Can't ping server on different private subnet
I'd suggest running tcpdump on the Access Server itself, and then pinging from a VPN client to the target subnet, and see if the source address of the packet remains the same as it passes through the Access Server. If it does, then somehow routing is being used instead of NAT. And then it would be a matter of looking in your settings where routing is being applied for the target subnet.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.
-
- OpenVpn Newbie
- Posts: 6
- Joined: Fri Nov 02, 2018 4:09 pm
Re: Can't ping server on different private subnet
I take it that this means the packet remains the same:
14:58:54.283669 In ethertype IPv4 (0x0800), length 76: 172.27.232.3 > 172.17.10.3: ICMP echo request, id 1, seq 384, length 40
14:58:54.283695 Out 12:31:9d:c5:7b:dc ethertype IPv4 (0x0800), length 76: 172.27.232.3 > 172.17.10.3: ICMP echo request, id 1, seq 384, length 40
Thank you
14:58:54.283669 In ethertype IPv4 (0x0800), length 76: 172.27.232.3 > 172.17.10.3: ICMP echo request, id 1, seq 384, length 40
14:58:54.283695 Out 12:31:9d:c5:7b:dc ethertype IPv4 (0x0800), length 76: 172.27.232.3 > 172.17.10.3: ICMP echo request, id 1, seq 384, length 40
Thank you
-
- OpenVpn Newbie
- Posts: 6
- Joined: Fri Nov 02, 2018 4:09 pm
Re: Can't ping server on different private subnet
This is what I see in the Access Server config:
"vpn.server.routing.gateway_access": "true",
"vpn.server.routing.private_access": "nat",
"vpn.server.routing.private_network.0": "172.17.0.0/22",
"vpn.server.routing.private_network.1": "172.17.8.0/22",
"vpn.server.routing.gateway_access": "true",
"vpn.server.routing.private_access": "nat",
"vpn.server.routing.private_network.0": "172.17.0.0/22",
"vpn.server.routing.private_network.1": "172.17.8.0/22",
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: Can't ping server on different private subnet
Yeah, somewhere in your config, you are using routing. Try checking under Advanced VPN > Routed subnets, and empty that field out?
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.
-
- OpenVpn Newbie
- Posts: 6
- Joined: Fri Nov 02, 2018 4:09 pm
Re: Can't ping server on different private subnet
That field is empty.
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: Can't ping server on different private subnet
I suggest you open a support ticket on the official openvpn.net main website and submit your findings so the situation as a whole can be evaluated. But your tcpdump says that routing is being used. And if so, then you can either switch to NAT so things are easy for you, and obviously somewhere in your settings routing is being set, or you can adjust your network to reciprocate this routing approach.
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.
-
- OpenVpn Newbie
- Posts: 6
- Joined: Fri Nov 02, 2018 4:09 pm
Re: Can't ping server on different private subnet
Thank you. That was what I wanted to do before submitting this post but the website wouldn't send me a confirmation email for a new account.
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: Can't ping server on different private subnet
And did you succeed now?
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.
-
- OpenVpn Newbie
- Posts: 6
- Joined: Fri Nov 02, 2018 4:09 pm
Re: Can't ping server on different private subnet
yes, I have a support ticket open now.
- novaflash
- OpenVPN Inc.
- Posts: 1073
- Joined: Fri Apr 13, 2012 8:43 pm
Re: Can't ping server on different private subnet
Was the issue eventually resolved, and did you figure out what the problem was?
I'm still alive, just posting under the openvpn_inc alias now as part of a larger group.