Softether not returning DHCP result, but dnsmasq offered it

Post your questions about SoftEther VPN software here. Please answer questions if you can afford.
Post Reply
plichel
Posts: 3
Joined: Tue Mar 17, 2015 8:13 pm

Re: Softether not returning DHCP result, but dnsmasq offered

Post by plichel » Wed Jul 01, 2015 9:30 pm

steve.p wrote:
> I have the latest softether install on Ubuntu 14.02.2. I have a DHCP
> server set up on my network, but it uses DHCP relay (VPS server is on
> 172.16.253.X, DHCP is on 192.168.0.X). I couldn't figure out how to get
> softether to talk to that DHCP server, so I followed the guide here:
> http://blog.lincoln.hk/blog/2013/05/17/ ... al-bridge/
> on how to install dnsmasq.

I also found this guide, but I don't understand what he is doing. After some experimentation I found a solution based on iproute2, which is usually available when using a recent linux. What I do here is:
1.) to create virtual ethernet interface pair
2.) let dnsmasq listen to the ip configured end of that interface pair
3.) bridge vpnserver to the other end of that interface pair
Regarding iproute2, I found this page http://baturin.org/docs/iproute2/ helpful.

You could use the following command lines to create virtual ethernet device pair and configure them:
$ ip link add veth0 type veth peer name veth1
$ ip addr add 192.168.0.1 dev veth1
$ ip link set veth0 up
$ ip link set veth1 up

Make sure that no firewall blocks traffic to/from 192.168.0.1, which was the case in my CentOS Test environment.

Edit1: I think I misunderstood you. You probably dont want to run dns/dhcp server on the same machine as the vps. However you could do what I suggested as small test...

Post Reply