dostosowanie do code review

This commit is contained in:
2023-04-24 08:27:35 +02:00
parent 951d0e2631
commit ac3e7f7edf
7 changed files with 32 additions and 35 deletions

View File

@@ -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

View File

@@ -1,3 +1,3 @@
#!/bin/sh
ip -s -s neigh flush all dev uvpnT2
ip -s -s neigh flush all dev $TAP

View File

@@ -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

View File

@@ -11,7 +11,7 @@ account notification
auth on
user test
from test@mkedziora.pl
password
password V8ufrLgiEwRF72dM
tls on
syslog on
tls_starttls on