Hello,
I am trying to implement DHCP via local bridge. The vpn server is installed on a CentOS7 Server running in a VirtualBox. The Server has the following network interfaces:
$nmcli -d
DEVICE TYPE STATE CONNECTION
enp0s3 ethernet connected Wired connection 1
enp0s8 ethernet connected Wired connection 2
tap_tap1 tap connected tap_tap1
The vpn server listen on the enp0s3 interface at port 443.
First I tried to directly run a DHCP server on the bridge network interface. But it seems that it doesnt work this way.
Now I want to use the DHCP Server which is already provided by VirtualBox and reachable via enp0s8 (with ip 10.0.3.2)
Question: How do connect the bridge to the device enp0s8 ? Is this an issue of iptables/NAT ?
Thanks,
plichel
Edit:
After rereading the vpn usermanual, I better understood how the bridge is working. For some reason I thought there has to be a special tun/tap device, which bridges between two networks.
However, by using the BridgeCreate Command and simply specifying an already available network interface (which might be connected to network where a DHCP server is possible running), I got what I want.
Thanks for your attention and much more thanks for this great software !
Regards!