attention c'est très court
Code :
- root@ender equi # emerge -a iptables
- These are the packages that I would merge, in order:
- Calculating dependencies ...done!
- [ebuild N ] net-firewall/iptables-1.2.9
- Do you want me to merge these packages? [Yes/No]
- >>> emerge (1 of 1) net-firewall/iptables-1.2.9 to /
- >>> md5 src_uri ;-) iptables-1.2.9.tar.bz2
- >>> Unpacking source...
- >>> Unpacking iptables-1.2.9.tar.bz2 to /var/tmp/portage/iptables-1.2.9/work
- * Applying various patches (bugfixes/updates)...
- * 01_all_grsecurity.patch.bz2... [ ok ] * 02_all_imq.patch.bz2... [ ok ] * Done with patching
- >>> Source unpacked.
- Making dependencies: please wait...
- Something wrong... deleting dependencies.
- make: *** [asm/kgdb.h] Error 1
- !!! ERROR: net-firewall/iptables-1.2.9 failed.
- !!! Function src_compile, Line 53, Exitcode 2
- !!! (no error message)
- root@ender equi #
|
j'ai besoin de iptables pour activer le partage de connexion sur mon réseau
Code :
- echo "1" > /proc/sys/net/ipv4/ip_forward
- iptables -t nat -A POSTROUTING -s 192.168.0.2 -j MASQUERADE
|
donc si quelqu'un pouvait m'aider