client
dev tun
proto tcp
remote xxx.xxx.xxx.xxx 1194
nobind
persist-key
persist-tun
tls-client
remote-cert-tls server
ca CA.crt
cert client1.crt
key client1.key
verb 3
mute 10
tls-cipher TLS-RSA-WITH-AES-256-CBC-SHA
auth sha1
auth-user-pass user-pwd.txt
auth-nocache
redirect-gateway def1
# add bridge "br0"
[root@dlp ~]# nmcli c add type bridge autoconnect yes con-name br0 ifname br0
Connection 'br0' (0f4b7bc8-8c7a-461a-bff1-d516b941a6ec) successfully added.
# set IP for br0
[root@dlp ~]# nmcli c modify br0 ipv4.addresses 10.0.0.30/24 ipv4.method manual
# set Gateway for br0
[root@dlp ~]# nmcli c modify br0 ipv4.gateway 10.0.0.1
# set DNS for "br0"
[root@dlp ~]# nmcli c modify br0 ipv4.dns 10.0.0.1
# remove the current setting
[root@dlp ~]# nmcli c delete eno16777736
# add an interface again as a member of br0
[root@dlp ~]# nmcli c add type bridge-slave autoconnect yes con-name eno16777736 ifname eno16777736 master br0
# restart
[root@dlp ~]# reboot