Compare commits
8 Commits
v0.0.6o-em
...
v0.0.6s-jl
Author | SHA1 | Date | |
---|---|---|---|
083b112d03 | |||
252618618b | |||
34f3adb117 | |||
3565d85543 | |||
de757a6b55 | |||
e38f8c6da5 | |||
40eadcc37a | |||
68c05b0794 |
@ -35,23 +35,22 @@ table filter {
|
||||
proto (udp tcp) dport domain ACCEPT;
|
||||
proto udp dport bootps ACCEPT;
|
||||
}
|
||||
|
||||
# interface réseau
|
||||
interface $DEV_WORLD {
|
||||
|
||||
}
|
||||
|
||||
# the rest is dropped by the above policy
|
||||
}#FIN INPUT
|
||||
|
||||
# outgoing connections are not limited
|
||||
chain OUTPUT {policy ACCEPT;
|
||||
chain OUTPUT {
|
||||
policy ACCEPT;
|
||||
# interface $DEV_VPN proto ssh dport 22 ACCEPT;
|
||||
|
||||
}#FIN OUTPUT
|
||||
|
||||
chain FORWARD {
|
||||
policy ACCEPT;
|
||||
|
||||
proto icmp icmp-type echo-request ACCEPT;
|
||||
}
|
||||
# connection tracking
|
||||
mod state state INVALID DROP;
|
||||
mod state state (ESTABLISHED RELATED) ACCEPT;
|
||||
|
1
roles/peertube/files/resolv.conf
Normal file
1
roles/peertube/files/resolv.conf
Normal file
@ -0,0 +1 @@
|
||||
nameserver 192.168.99.99
|
@ -5,6 +5,12 @@
|
||||
- name: installation de k3s...
|
||||
shell: curl -sfL https://get.k3s.io | sh -s - --docker
|
||||
|
||||
- name: mise a jour de resolv.conf...
|
||||
copy:
|
||||
src: /root/tools/ansible/gsb2023/roles/peertube/files/resolv.conf
|
||||
dest: /etc/
|
||||
mode: '0644'
|
||||
|
||||
- name: création du répertoire du dépot peertube...
|
||||
file:
|
||||
path: /root/tools/peertube
|
||||
@ -27,4 +33,4 @@
|
||||
shell: curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
|
||||
|
||||
- name: installation de peertube...
|
||||
shell: helm repo add https://charts.bitnami.com/bitnami && helm repo add https://bokysan.github.io/docker-postfix && helm dependency build /root/tools/peertube/helm/ && helm install --create-namesapce -n peertube peertube-gsb /root/tools/peertube/helm
|
||||
shell: helm repo add postgresql https://charts.bitnami.com/bitnami && helm repo add redis https://charts.bitnami.com/bitnami && helm repo add mail https://bokysan.github.io/docker-postfix && helm dependency build /root/tools/peertube/helm/ && helm install --create-namespace -n peertube peertube-gsb /root/tools/peertube/helm
|
||||
|
@ -14,4 +14,4 @@ iface enp0s3 inet static
|
||||
allow-hotplug enp0s8
|
||||
iface enp0s8 inet static
|
||||
address 192.168.100.20/24
|
||||
post-up systemctl start k3s
|
||||
post-up systemctl start k3s && export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
roles:
|
||||
- base
|
||||
- peertube
|
||||
- post
|
||||
- snmp-agent
|
||||
- ssh-cli
|
||||
- peertube
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
#recuperation du fichier de config
|
||||
wget http://r-vp1.gsb.adm:8800/wg0-b.conf
|
||||
wget http://r-vp1.gsb.adm:8000/wg0-b.conf
|
||||
#renomage fichier et mv
|
||||
mv ./wg0-b.conf /etc/wireguard/wg0.conf
|
||||
#activation interface wg0
|
||||
|
Reference in New Issue
Block a user