ifconfig addresses are not in the same /30 subnet (topology net30)

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
moliver_xxii
OpenVpn Newbie
Posts: 1
Joined: Mon May 09, 2022 8:00 pm

ifconfig addresses are not in the same /30 subnet (topology net30)

Post by moliver_xxii » Mon May 09, 2022 9:00 pm

hello as suggested by support here i am!
i've tried to configure a router as a VPN, but i always get that same error in the title and that annoys me, since it's a recurring error across the internet.
what should i do?

i've recieved a .ovpn file and open it in OPEN VPN CONNECT 3.3.5

1 my (modified to hide ip adress) .ovpn aka "profile" file (if you could tell me how i should modify it seems like it should be possible)
2 my (modified as well) log file showing

thank you very much!

HERE'S MY PROFILE FILE (modified with IP_ADRESS for privacy)
[oconf]client
remote IP_ADRESS IP_PORT
proto tcp-client
nobind
dev-type tun
tun-ipv6
pull
dev tun0
redirect-gateway
auth-user-pass
auth-retry interact
cipher AES-128-CBC
remote-cert-tls server
verify-x509-name "C=FR, O=Freebox SA, CN=Freebox OpenVPN server 4d809818d6b4e8c8dee9d7fd25380ff9"
# use tls-remote instead of verify-x509-name for deprecated openssl
# tls-remote "/C=FR/O=Freebox_SA/CN=Freebox_OpenVPN_server_4d809818d6b4e8c8dee9d7fd25380ff9"
<ca>
-----BEGIN CERTIFICATE-----
gibberish
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
gibberish
-----END CERTIFICATE-----
</cert>
<extra-certs>
-----BEGIN CERTIFICATE-----
gibberish
-----END CERTIFICATE-----
</extra-certs>
<key>
-----BEGIN PRIVATE KEY-----
gibberish
-----END PRIVATE KEY-----
</key>[/oconf]



[olog]

[May 9, 2022, 19:52:56] OpenVPN core 3.git::d3f8b18b mac x86_64 64-bit built on Mar 25 2022 06:19:21
[May 9, 2022, 19:52:56] Frame=512/2048/512 mssfix-ctrl=1250
[May 9, 2022, 19:52:56] UNUSED OPTIONS
3 [nobind]
5 [tun-ipv6]
6 [pull]
10 [auth-retry] [interact]
[May 9, 2022, 19:52:56] EVENT: RESOLVE
[May 9, 2022, 19:52:56] EVENT: WAIT
[May 9, 2022, 19:52:56] UnixCommandAgent: transmitting bypass route to /var/run/agent_ovpnconnect.sock
{
"host" : "IP_ADRESS",
"ipv6" : false,
"pid" : 1643
}

[May 9, 2022, 19:52:56] Connecting to [IP_ADRESS]:52361 (IP_ADRESS) via TCPv4
[May 9, 2022, 19:52:56] EVENT: CONNECTING
[May 9, 2022, 19:52:56] Tunnel Options:V4,dev-type tun,link-mtu 1559,tun-mtu 1500,proto TCPv4_CLIENT,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client
[May 9, 2022, 19:52:56] Creds: Username/Password
[May 9, 2022, 19:52:56] Peer Info:
IV_VER=3.git::d3f8b18b
IV_PLAT=mac
IV_NCP=2
IV_TCPNL=1
IV_PROTO=30
IV_CIPHERS=AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305:AES-128-CBC
IV_GUI_VER=OCmacOS_3.3.5-4310
IV_SSO=webauth,openurl,crtext

[May 9, 2022, 19:52:56] SSL Handshake: peer certificate: CN=Freebox OpenVPN server 4d809818d6b4e8c8dee9d7fd25380ff9, 2048 bit RSA, cipher: TLS_AES_256_GCM_SHA384 TLSv1.3 Kx=any Au=any Enc=AESGCM(256) Mac=AEAD

[May 9, 2022, 19:52:56] Session is ACTIVE
[May 9, 2022, 19:52:56] EVENT: GET_CONFIG
[May 9, 2022, 19:52:56] Sending PUSH_REQUEST to server...
[May 9, 2022, 19:52:56] OPTIONS:
0 [redirect-gateway]
1 [ping] [30]
2 [ping-restart] [120]
3 [dhcp-option] [DNS] [212.27.38.253]
4 [route] [192.168.27.64] [255.255.255.224]
5 [route] [192.168.1.0] [255.255.255.0]
6 [dhcp-option] [DNS] [fd0f:ee:b0::1]
7 [ifconfig-ipv6] [2a01:e0a:214:30b8::10/124] [fd0f:ee:b0::1]
8 [ifconfig] [192.168.27.66] [212.27.38.253]
9 [peer-id] [0]
10 [cipher] [AES-256-GCM]

[May 9, 2022, 19:52:56] TunPersist: short-term connection scope
[May 9, 2022, 19:52:56] TunPersist: new tun context
[May 9, 2022, 19:52:56] EVENT: ASSIGN_IP
[May 9, 2022, 19:52:56] PROTOCOL OPTIONS:
cipher: AES-256-GCM
digest: NONE
key-derivation: OpenVPN PRF
compress: NONE
peer ID: 0
[May 9, 2022, 19:52:56] TUN Error: tun_prop_error: ifconfig addresses are not in the same /30 subnet (topology net30)
[May 9, 2022, 19:52:57] EVENT: TUN_SETUP_FAILED tun_prop_error: ifconfig addresses are not in the same /30 subnet (topology net30)
[May 9, 2022, 19:52:57] EVENT: DISCONNECTED
[May 9, 2022, 19:52:57] Client exception in transport_recv: tun_exception: not connected
[May 9, 2022, 19:52:57] Raw stats on disconnect:
BYTES_IN : 2750
BYTES_OUT : 3468
PACKETS_IN : 6
PACKETS_OUT : 9
TUN_SETUP_FAILED : 1

[May 9, 2022, 19:52:57] Performance stats on disconnect:
CPU usage (microseconds): 7948784
Network bytes per CPU second: 782
Tunnel bytes per CPU second: 0
[/olog]

Post Reply