Virtual HUB DHCP

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
alimanzoor
Posts: 4
Joined: Mon Jan 31, 2022 12:05 pm

Virtual HUB DHCP

Post by alimanzoor » Mon Jan 31, 2022 12:10 pm

Dear Experts,

I am new on softether i need help.

My local network is 10.10.10.0/24
In virtual hub dhcp is 192.168.30.0/24

Now problem is virtual hub dhcp assigning the ip address to the my local network clients how i can stop these issue. Please guide me as i am totaly new on this plate form .

nobody12
Posts: 139
Joined: Sat Feb 13, 2021 10:22 pm

Re: Virtual HUB DHCP

Post by nobody12 » Mon Jan 31, 2022 6:06 pm

Disable virtual NAT/Virtual DHCP

alimanzoor
Posts: 4
Joined: Mon Jan 31, 2022 12:05 pm

Re: Virtual HUB DHCP

Post by alimanzoor » Tue Feb 01, 2022 7:39 am

Hi @nobody12,

If i disable the virtual NAT then how my vpn client get ip

nobody12
Posts: 139
Joined: Sat Feb 13, 2021 10:22 pm

Re: Virtual HUB DHCP

Post by nobody12 » Tue Feb 01, 2022 7:43 am

Unless you want to build a separate Network/subnet for the VPN dial-in clients (where this network would be connected using a virtual L3 switch), your hub is connected with the Bridge to you network, making it a part of it, softher VPN defaults to a Layer2 VPN.
If your network has a DHCP server, vpn-clients will get an IP assigned by this server. Like any other PC inside the Network.
If you do not have a DHCP server, think of installing one, or you have to assign the IP Addresses manually.

alimanzoor
Posts: 4
Joined: Mon Jan 31, 2022 12:05 pm

Re: Virtual HUB DHCP

Post by alimanzoor » Thu Feb 03, 2022 7:29 am

Hi @nobody12,

How i can assign manual ip to the vpn users? Kindly guide me.

nobody12
Posts: 139
Joined: Sat Feb 13, 2021 10:22 pm

Re: Virtual HUB DHCP

Post by nobody12 » Thu Feb 03, 2022 7:46 am

On each users PC, set a desired ip address in the TCP/IP settings of the VPN adapter.
Note: if you choose addresses matching your local network at the servers site, the VPN clients wont be able to talk to the rest of the network unless you disable virtual NAT.

alimanzoor
Posts: 4
Joined: Mon Jan 31, 2022 12:05 pm

Re: Virtual HUB DHCP

Post by alimanzoor » Thu Feb 03, 2022 10:25 am

Dear Expert,

When i disable the secure NAT then client is unable to connect vpn. :(

nobody12
Posts: 139
Joined: Sat Feb 13, 2021 10:22 pm

Re: Virtual HUB DHCP

Post by nobody12 » Thu Feb 03, 2022 7:43 pm

"When i disable the secure NAT then client is unable to connect vpn. "
connecting to the VPN and virtual NAT or DHCP should be not related to each other. You might get no ip address, but should be able to connect to the VPN.

From the beginning there was something I did not understand but ignored it:
"Now problem is virtual hub dhcp assigning the ip address to the my local network clients how i can stop these issue"
If you activate virtual NAT + DHCP, the VPN clients get IP Adresses by the virtual DHCP but this should not have an influence on you local network.

Please describe your setup more detailed.

Post Reply