xfulviox
31-10-2004, 23:30
dal client, mediante browser, non riesco a visualizzare le pagine di siti il cui ping va perņ a buon fine...
il file /etc/resolv.conf del client contiene i dns del provider e ip del server, mentre quello del server contiene quelli del provider.
le iptables sul server sono volutamente "morbide" (make it work first and then make it work better, no?):
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
TCPMSS tcp -- anywhere anywhere tcp flags:SYN,RST/SYN tcpmss match 1400:1536 TCPMSS clamp to PMTU
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
(non chiedetemi che sia quella robaccia in forward, non so nč cosa sia, nč come levarla...)
iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
qualcuno sa darmi qualche indicazione?
grazie ciao!
il file /etc/resolv.conf del client contiene i dns del provider e ip del server, mentre quello del server contiene quelli del provider.
le iptables sul server sono volutamente "morbide" (make it work first and then make it work better, no?):
iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
TCPMSS tcp -- anywhere anywhere tcp flags:SYN,RST/SYN tcpmss match 1400:1536 TCPMSS clamp to PMTU
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
(non chiedetemi che sia quella robaccia in forward, non so nč cosa sia, nč come levarla...)
iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
qualcuno sa darmi qualche indicazione?
grazie ciao!