I'm having a (what I believe) network problem wich I don't seem to be able to solve, so if there's anybody who likes to solve or sourting out the problem, I'd glad.
I have DHCP (adsl) internet access which works fine (program keeps me logged on automaticly) via a dlink 604 router. Firefox and so on works fine, the problem shows when I start nessus (after nessusd -D) when I log in I get 'could not open a connection to localhost'. I'm using the dhcp script of
oscar andreasson with:
Code:
$IPTABLES -A tcp_packets -p TCP -s 0/0 --dport 1241 -j allowed
$IPTABLES -A udp_packets -p UDP -s 0/0 --source-port 1241 -j ACCEPT
also in the dlink 604 router I have created a virtual server on the same port to 192.168.0.xxx.
The same thing goes for dcgui-qt (direct connect clone). I can't connect to hubs in active mode. I've done the same thing as above with the following added in the iptables script described by
axljab
Code:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -t nat -A PREROUTING -j DNAT -p tcp -i eth0 --dport 9176 --to-destination 192.168.0.xxx:9176
iptables -t nat -A PREROUTING -j DNAT -p udp -i eth0 --dport 9176 --to-destination 192.168.0.xxx:9176
I didn't think these were related untill I added trigger 1241 + 9176. Both suddenly worked, for about 2 hours... After it stopped working I added 1241 + 9176 to inbound ports, no change...
Now I don't understand why they're not working. I tried to turn of the iptables script, no change and put the puter on dmz, no change. If I plug out the router and stick the cable into the eth0 the network won't start. It could be many things and I'm returning to the same problems now so I an outside point of view...