Zweite OpenVPN Instanz auf Port 443/tcp

This commit is contained in:
2017-05-29 20:41:13 +02:00
parent cf08a51dd8
commit 7be42d56d0
27 changed files with 84 additions and 4 deletions
+4
View File
@@ -2,17 +2,21 @@
br="br0"
tap="tap0"
tap1="tap1"
eth="enp0s10f0"
br_ip="10.3.5.1"
br_netmask="255.255.0.0"
br_broadcast="10.3.255.255"
# Create the tap adapter
openvpn --mktun --dev $tap
openvpn --mktun --dev $tap1
# Create the bridge and add interfaces
brctl addbr $br
brctl addif $br $eth
brctl addif $br $tap
brctl addif $br $tap1
# Configure the bridge
ifconfig $tap 0.0.0.0 promisc up
ifconfig $tap1 0.0.0.0 promisc up
ifconfig $eth 0.0.0.0 promisc up
ifconfig $br $br_ip netmask $br_netmask broadcast $br_broadcast
+2
View File
@@ -3,5 +3,7 @@
ifconfig br0 down
brctl delif br0 enp0s10f0
brctl delif br0 tap0
brctl delif br0 tap1
brctl delbr br0
openvpn --rmtun --dev tap0
openvpn --rmtun --dev tap1