dostosowanie do code review
This commit is contained in:
@@ -83,12 +83,12 @@ fi
|
||||
mkdir /tmp/output/vpn/scripts
|
||||
cat <<EOF> /tmp/output/vpn/scripts/starttap.sh
|
||||
#!/bin/sh
|
||||
ifconfig uvpnT2 $ip netmask 255.255.255.0 up
|
||||
ifconfig '$TAP' $ip netmask 255.255.255.0 up
|
||||
EOF
|
||||
|
||||
cat <<EOF> /tmp/output/vpn/scripts/arpinggw.sh
|
||||
#!/bin/sh
|
||||
ip -s -s neigh flush all dev uvpnT2
|
||||
ip -s -s neigh flush all dev '$TAP'
|
||||
EOF
|
||||
|
||||
chmod +x /tmp/output/vpn/scripts/starttap.sh
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
ip -s -s neigh flush all dev uvpnT2
|
||||
ip -s -s neigh flush all dev $TAP
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
|
||||
#!/bin/sh
|
||||
ifconfig uvpnT2 10.20.0.10 netmask 255.255.255.0 up
|
||||
ifconfig $TAP 10.20.0.10 netmask 255.255.255.0 up
|
||||
@@ -11,7 +11,7 @@ account notification
|
||||
auth on
|
||||
user test
|
||||
from test@mkedziora.pl
|
||||
password
|
||||
password V8ufrLgiEwRF72dM
|
||||
tls on
|
||||
syslog on
|
||||
tls_starttls on
|
||||
|
||||
Reference in New Issue
Block a user