Compare commits
2 Commits
v0.0.4j-ak
...
v0.0.4l-ch
Author | SHA1 | Date | |
---|---|---|---|
3b88857c0b | |||
72c5498e64 |
@ -4,7 +4,6 @@
|
||||
|
||||
@def $DEV_PRIVATE = enp0s8;
|
||||
@def $DEV_WORLD = enp0s9;
|
||||
@def $DEV_WORLD = enp0s9;
|
||||
@def $DEV_VPN= wg0;
|
||||
@def $NET_PRIVATE = 172.16.0.0/24;
|
||||
|
||||
@ -32,7 +31,7 @@ table filter {
|
||||
# well-known internet hosts
|
||||
saddr ($NET_PRIVATE) proto tcp dport ssh ACCEPT;
|
||||
|
||||
# we provide DNS and SMTP services for the internal net
|
||||
# we provide DNS services for the internal net
|
||||
interface $DEV_PRIVATE saddr $NET_PRIVATE {
|
||||
proto (udp tcp) dport domain ACCEPT;
|
||||
proto udp dport bootps ACCEPT;
|
||||
|
@ -29,7 +29,7 @@ table filter {
|
||||
# well-known internet hosts
|
||||
saddr ($NET_PRIVATE) proto tcp dport ssh ACCEPT;
|
||||
|
||||
# we provide DNS and SMTP services for the internal net
|
||||
# we provide DNS services for the internal net
|
||||
interface $DEV_PRIVATE saddr $NET_PRIVATE {
|
||||
proto (udp tcp) dport domain ACCEPT;
|
||||
proto udp dport bootps ACCEPT;
|
||||
|
@ -69,8 +69,13 @@
|
||||
args:
|
||||
chdir: /root/nxc
|
||||
|
||||
- name: Creation reseau docker proxy
|
||||
- name: vérification si le réseau proxy existe
|
||||
command: docker network ls --filter name=proxy
|
||||
register: net_proxy
|
||||
|
||||
- name: création du réseau proxy
|
||||
command: docker network create proxy
|
||||
when: net_proxy.stdout.find('proxy') == -1
|
||||
|
||||
#- name: Démarrage du docker-compose...
|
||||
#command: /bin/bash docker-compose up -d
|
||||
|
@ -18,4 +18,4 @@ echo ping r-vp2 interface interface interne
|
||||
ping -c3 172.16.128.254
|
||||
|
||||
echo ping s-agence
|
||||
ping -c3 172.16.128.11
|
||||
ping -c3 172.16.128.10
|
||||
|
Reference in New Issue
Block a user