GATEWAY
Valerio Pachera
sirio81@gmail.com
Mar 12 Lug 2005 12:47:07 CEST
Voglio impostare il mio pc per condividere la connessione con un client windows.
Ho provato a configurare iptables in questo modo:
-------------------
#RESETTO IL FIREWALL
iptables -F
iptables -F -t nat
# Masquerading, questo permette alla rete di uscire dalla mia PPP0
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
-------------------
E' sufficiente ?
Sul client windows ho impostato l' ip, la netmask e il gateway
predefinito (il pc linux) ma non riesco a visuallizare nessuna pagina
web.
Mi viene proposta la connessione dial up del client windows.
Cosa devo fare per completare le impostazioni del gateway e del client ?
vi posto anche l' output i iptables -L
-------------------
[root@desalitor script]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain f0to1 (0 references)
target prot opt source destination
Chain f1to0 (0 references)
target prot opt source destination
Chain logaborted (0 references)
target prot opt source destination
Chain logaborted2 (0 references)
target prot opt source destination
Chain logdrop (0 references)
target prot opt source destination
Chain logdrop2 (0 references)
target prot opt source destination
Chain logreject (0 references)
target prot opt source destination
Chain logreject2 (0 references)
target prot opt source destination
Chain nicfilt (0 references)
target prot opt source destination
Chain s0 (0 references)
target prot opt source destination
Chain s1 (0 references)
target prot opt source destination
Chain srcfilt (0 references)
target prot opt source destination
-----------------------------------------------------
Grazie !
Maggiori informazioni sulla lista
linuxludus