View Single Post
  #6 (permalink)  
Old 06-16-2006, 05:20 PM
rcordeiro rcordeiro is offline
Member
User
 
Join Date: Jun 2006
Location: Aveiro, Portugal
Posts: 37
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rcordeiro
Default

root@stan:/var/log/squid# netstat -vat
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:smux *:* LISTEN
tcp 0 0 localhost.localdo:zebra *:* LISTEN
tcp 0 0 localhost.localdom:ripd *:* LISTEN
tcp 0 0 *:3128 *:* LISTEN
tcp6 0 0 ip6-localhost:ripngd *:* LISTEN
tcp6 0 0 *:ssh *:* LISTEN
tcp6 0 0 stan-eth1-8f:ssh piper-eth0-70:4512 ESTABLISHED
root@stan:/var/log/squid#


and my iptables:
root@stan:/var/log/squid# iptables -t nat -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
DNAT tcp -- itav113.av.it.pt anywhere tcp dpt:www to:10.10.1.1:3128
(this line is so i dont disturb other users on the network while proxy testing, only affects my laptop)
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all -- 10.0.0.0/8 anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Reply With Quote