Gateway not working on client

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
kabads
OpenVpn Newbie
Posts: 2
Joined: Mon Jan 22, 2018 3:00 pm

Gateway not working on client

Post by kabads » Mon Jan 22, 2018 3:01 pm

It seems that I have gateway problem for my client.

When I use:

Code: Select all

$ route -n 
I get

Code: Select all

10.0.1.0        0.0.0.0         255.255.255.0   U     0      0        0 tun1
Where is this configured from on the Openvpn server? I can't see it anywhere.

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Gateway not working on client

Post by TinCanTech » Mon Jan 22, 2018 3:31 pm

What IP address does your server push to the client ?

kabads
OpenVpn Newbie
Posts: 2
Joined: Mon Jan 22, 2018 3:00 pm

Re: Gateway not working on client

Post by kabads » Mon Jan 22, 2018 3:50 pm

Under the routing setting, I've switched it to 10.0.0.0/16 - which then provides a route of

Code: Select all

10.0.0.0        10.0.1.1        255.255.0.0     UG    101    0        0 tun1
10.0.1.0        0.0.0.0         255.255.255.0   U     0      0        0 tun1
which still doesn't allow a connection (I'm trying to ssh to another machine with a private IP address).

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: Gateway not working on client

Post by TinCanTech » Mon Jan 22, 2018 4:24 pm

You did not answer my question .. see how you get on with this ..

Please see:
HOWTO: Request Help !

Post Reply