Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Scripts
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Florian Meißner
Scripts
Commits
8cee1423
Commit
8cee1423
authored
11 months ago
by
Florian Meißner
Browse files
Options
Downloads
Patches
Plain Diff
fix(vpn_uni): Switch path for hipreport.sh automatically
parent
4b8f774e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
vpn_uni.sh
+8
-3
8 additions, 3 deletions
vpn_uni.sh
with
8 additions
and
3 deletions
vpn_uni.sh
+
8
−
3
View file @
8cee1423
...
@@ -3,16 +3,21 @@
...
@@ -3,16 +3,21 @@
MTU
=
1284
MTU
=
1284
VPNUSER
=
meissnerfl73755
VPNUSER
=
meissnerfl73755
VPNPASSWORD
=
$(
cat
pws/vpn_uni
)
VPNPASSWORD
=
$(
cat
pws/vpn_uni
)
HIREPORT
=
/usr/libexec/openconnect/hipreport.sh
if
[
-e
/usr/lib/openconnect/hipreport.sh
]
;
then
HIPREPORT
=
"/usr/lib/openconnect/hipreport.sh"
else
HIPREPORT
=
"/usr/libexec/openconnect/hipreport.sh"
fi
DEADPEERSSECS
=
30
DEADPEERSSECS
=
30
IFACE
=
vpn0
IFACE
=
vpn0
set
+o histexpand
echo
$VPNPASSWORD
|
sudo
/usr/sbin/openconnect
\
echo
$VPNPASSWORD
|
sudo
/usr/sbin/openconnect
\
--protocol
gp
\
--protocol
gp
\
--syslog
\
--syslog
\
--disable-ipv6
\
--disable-ipv6
\
--csd-wrapper
$HIREPORT
\
--csd-wrapper
$HI
P
REPORT
\
--interface
$IFACE
\
--interface
$IFACE
\
--mtu
$MTU
\
--mtu
$MTU
\
--force-dpd
$DEADPEERSSECS
\
--force-dpd
$DEADPEERSSECS
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment