[Closed] addresses not in the same /30 subnet - anonine.com

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Locked
Eldoras
OpenVpn Newbie
Posts: 2
Joined: Wed Feb 19, 2014 9:46 am

[Closed] addresses not in the same /30 subnet - anonine.com

Post by Eldoras » Wed Feb 19, 2014 9:52 am

Hi all,
I Tried searching the forum for errors like these but could not figure out how they solved them so I'm posting here to hopefully get some clarity, forgive my noobness.

I've set up a Openvpn connection to Anonine VPN service but when I connect I only get the error "Tun interface setup failed: tun_builder_error: ifconfig addresses are not in the same /30 subnet (topology net30)"
This is my config file:

Code: Select all

client

dev tun

proto udp

remote openvpn.anonine.net 1194
remote openvpn.anonine.net 1195
remote openvpn-2.anonine.net 1196
remote openvpn-2.anonine.net 1197
remote openvpn-3.anonine.net 1198
remote openvpn-3.anonine.net 1199
remote openvpn-4.anonine.net 1200
remote openvpn-4.anonine.net 1201

remote-random

resolv-retry infinite

auth-user-pass

nobind

persist-key
persist-tun
topology subnet
push "topology subnet" 
ifconfig-push 10.8.0.6 255.255.255.255
ca anonine.ca.crt
Could some kind soul shine some light on what I'm doing wrong? Thanks in advance.
Last edited by debbie10t on Wed Feb 19, 2014 4:41 pm, edited 1 time in total.
Reason: [Closed]

Eldoras
OpenVpn Newbie
Posts: 2
Joined: Wed Feb 19, 2014 9:46 am

Re: ifconfig addresses are not in the same /30 subnet

Post by Eldoras » Wed Feb 19, 2014 4:08 pm

debbie10t wrote:
Eldoras wrote:

Code: Select all

push "topology subnet"
ifconfig-push 10.8.0.6 255.255.255.255
You cannot "push" from the client.
Eldoras wrote:ifconfig addresses are not in the same /30 subnet
This is because you are using ifconfig-push when you need ifconfig.

Your Client config should read:

Code: Select all

# push "topology subnet" - The # comments this line out .. just remove it completely.
ifconfig 10.8.0.6 10.8.0.5
However, if your server is setup correctly you would not need this line so maybe you should post your server config as well.
I tried ifconfig 10.8.0.6 10.8.0.5 without any success...
Sorry for noob question but since I'm not hosting the server I haven't got any server configuration do I? I'm connecting to a service called Anonine.

Locked