Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Benjamin Graillot
scripts
Commits
6d734576
Commit
6d734576
authored
Dec 23, 2017
by
Gabriel Detraz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2 Règles temporaires pour permettre l'accès des bornes à l'url d'upgrade
parent
6fa50d00
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
utils/unifi_utils/start_upgrade.sh
utils/unifi_utils/start_upgrade.sh
+3
-0
utils/unifi_utils/stop_upgrade.sh
utils/unifi_utils/stop_upgrade.sh
+2
-0
utils/unifi_utils/unifi_ap_sync.py
utils/unifi_utils/unifi_ap_sync.py
+0
-0
No files found.
utils/unifi_utils/start_upgrade.sh
0 → 100755
View file @
6d734576
# Permet temporairement aux bornes d'accéder à internet pour récupérer le firmware unifi (https sur le site web)
iptables
-t
nat
-A
POSTROUTING
-s
10.231.148.0/24
-o
eth1
-j
SNAT
--to-source
138.231.136.254
iptables
-I
FORWARD 1
-s
10.231.148.0/24
-j
ACCEPT
utils/unifi_utils/stop_upgrade.sh
0 → 100644
View file @
6d734576
# Retire les règles permettant au vlan bornes d'accéder à internet
/usr/scripts/gestion/gen_confs/firewall4/firewall4.py restart
utils/unifi_ap_sync.py
→
utils/unifi_
utils/unifi_ap_sync.py
View file @
6d734576
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment