Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
howto:utiliser_la_connexion_vpn_de_la_brique_en_filaire [2017/09/23 17:45]
emile
howto:utiliser_la_connexion_vpn_de_la_brique_en_filaire [2017/09/25 17:47]
emile add bonus
Line 104: Line 104:
         iptables -w -I FORWARD -i wlan0 -o eth0 -j ACCEPT         iptables -w -I FORWARD -i wlan0 -o eth0 -j ACCEPT
         iptables -w -I INPUT -i eth0 -j ACCEPT         iptables -w -I INPUT -i eth0 -j ACCEPT
 +        iptables -w -I OUTPUT -o eth0 -j ACCEPT
       ;;       ;;
       stop)       stop)
Line 122: Line 123:
         iptables -w -D FORWARD -i wlan0 -o eth0 -j ACCEPT         iptables -w -D FORWARD -i wlan0 -o eth0 -j ACCEPT
         iptables -w -D INPUT -i eth0 -j ACCEPT         iptables -w -D INPUT -i eth0 -j ACCEPT
 +        iptables -w -D OUTPUT -o eth0 -j ACCEPT
       ;;       ;;
       *)       *)
Line 137: Line 139:
  
  
 +====Phase C - Bonus: IP fixe sur le lan====
  
 +Si vous voulez mettre des IP fixes dans votre lan (imprimante,​ mediacenter) vous pouvez ajouter des options à dnsmasq comme ceci:
  
 +     ​dhcp-host=00:​10:​xx:​xx:​xx:​xx,​imprimante,​fe80::​baba
 +
 +Et/ou en v4
 +
 +     ​dhcp-host=00:​10:​xx:​xx:​xx:​xx,​imprimante,​192.168.1.3
  
  • howto/utiliser_la_connexion_vpn_de_la_brique_en_filaire.txt
  • Last modified: 2018/12/08 22:28
  • (external edit)