Answer the question
In order to leave comments, you need to log in
How to create a bridge to the local network through tap OpenVpn client?
Good afternoon!
On a small device with Ubuntu, if you have Internet access (via Eth0 via DHCP), the tap0 interface rises with the address issued by the OpenVpn server.
It is necessary to organize transparent access through the bridge (without routing) to the network 192.168.11.0/24 through the only physical interface Eth0, without destroying the existing channels to the Internet and VPN on the device, so that after a reboot you will not lose connection.
I beg you, please write the sequence of actions (I would like more details).
Do I need to create a virtual interface Eth0:0 on the physical Eth0 for this?
Since I am a teapot, I ask not just links or calculations like:
brctl addbr br0
brctl addif br0 tap0
brctl addif br0 eth0
ip link set tap0 up
ip link set br0 up
And approximately in the following sequence:
1. We make a change to the file: /etc/network/interfaces
2. For autorun, we make changes to the file ....
3. After the reboot, new interfaces br0 appear, and the transparent bridge tap0 eth0 :0
As a result, when changing (adding) the subnet address 192.168.11.0/24 on the remote computer, any of the addresses of the remote network 192.168.11.0/24 should be available.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question