Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
routeuropenwrt [2012/07/10 19:06] – créée madko | routeuropenwrt [2016/02/27 16:29] (Version actuelle) – madko | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | OpenWrt en version 10.03.1 (Backfire) | ||
+ | |||
+ | |||
+ | ====== Parefeu ====== | ||
+ | |||
+ | |||
+ | A configurer dans le parefeu: | ||
+ | |||
+ | |||
+ | * Redirection du port 51413 pour transmission vers 192.168.2.111 | ||
+ | * Redirection du port 2201 pour ssh vers 192.168.2.111 | ||
+ | * Redirection du port 80 pour web vers 192.168.2.111 | ||
+ | * Ouverture du port 10050 pour zabbix sur le routeur | ||
+ | |||
+ | |||
====== OpenVPN ====== | ====== OpenVPN ====== | ||
- | Configuration de la partie openvpn, en tant que client. | ||
- | config ' | + | Configuration de la partie openvpn, en tant que client. Dans / |
- | | + | |
- | | + | |
+ | < | ||
+ | config ' | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | |||
+ | Puis dans / | ||
+ | |||
+ | |||
+ | < | ||
+ | # Nom du device (on met ce qu'on veut) | ||
+ | dev tap0 | ||
+ | # ne pas changer ce qui suit: | ||
+ | | ||
+ | port 1194 | ||
+ | | ||
+ | | ||
+ | # Indiquer les bons chemins | ||
+ | ca / | ||
+ | cert / | ||
+ | key / | ||
+ | | ||
+ | | ||
+ | log / | ||
+ | </ | ||
+ | |||
+ | |||
+ | Configuration d'une interface avec VLAN tagué | ||
+ | |||
+ | |||
+ | < | ||
+ | option ifname ' | ||
+ | option proto ' | ||
+ | option ipaddr ' | ||
+ | option netmask ' | ||
+ | |||
+ | config interface ' | ||
+ | option type ' | ||
+ | option proto ' | ||
+ | option netmask ' | ||
+ | option ipaddr ' | ||
+ | option ipv6 ' | ||
+ | option send_rs ' | ||
+ | option _orig_ifname ' | ||
+ | option _orig_bridge ' | ||
+ | option ifname 'eth0 eth0.1' | ||
+ | |||
+ | config interface ' | ||
+ | option _orig_ifname ' | ||
+ | option _orig_bridge ' | ||
+ | option ifname ' | ||
+ | option proto ' | ||
+ | option txqueuelen ' | ||
+ | |||
+ | config switch | ||
+ | option name ' | ||
+ | option reset ' | ||
+ | option enable_vlan ' | ||
+ | option blinkrate ' | ||
+ | |||
+ | config switch_vlan | ||
+ | option device ' | ||
+ | option vlan ' | ||
+ | option ports '0 1 2 3 5t' | ||
+ | |||
+ | config switch_port | ||
+ | option device ' | ||
+ | option port ' | ||
+ | option led ' | ||
+ | |||
+ | config switch_port | ||
+ | option device ' | ||
+ | option port ' | ||
+ | option led ' | ||
+ | |||
+ | config switch_port | ||
+ | option device ' | ||
+ | option port ' | ||
+ | option led ' | ||
+ | |||
+ | config interface ' | ||
+ | option proto ' | ||
+ | option ifname ' | ||
+ | option auto ' | ||
+ | |||
+ | config interface ' | ||
+ | option proto ' | ||
+ | option ifname ' | ||
+ | option reqaddress ' | ||
+ | option reqprefix ' | ||
+ | option auto ' | ||
+ | </ | ||