Can't get ipv4 address in raspberry pi os

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
endeod4
Posts: 1
Joined: Fri Nov 20, 2020 5:21 am

Can't get ipv4 address in raspberry pi os

Post by endeod4 » Fri Nov 20, 2020 5:53 am

VPN Server: Ubuntu, using dnsmasq
VPN Client: Raspberry pi

VPN Connection is complete, has no problems When the VPN session connects,
VPN Client is getting ipv6 address, but doesn't get ipv4 address...

vpn_soft: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::5cb2:3ff:fed2:b333 prefixlen 64 scopeid 0x20<link>
ether 5e:b2:03:d2:b3:33 txqueuelen 1000 (Ethernet)
RX packets 13 bytes 854 (854.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 31 bytes 2298 (2.2 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

So I entered the command "sudo dhclient vpn_soft", will get ipv4 address
But I want to use to when connecting, get ipv4 address automatically, no commands!

And I was test of windows 10 Softether VPN client manager program. That's work, the client gets ipv4 address when connecting...

My vpn server settings
Securenat Disabled.
dhcp use dnsmasq
local bridge use tap device and set ip, it use dnsmasq interface

My vpn client settings
create account, set password, connect server
has no other configurations

get ipv4 using dhclient command, vpn client can connect to internet through vpn server...

I'd like to fix this... I've been working on it for 4 days.... help god

Post Reply