[Netsplitter-question] quick query..
Brought to you by:
fabioyy
|
From: Chris B. <cb...@hi...> - 2003-09-12 08:42:23
|
Hello! I've recently donwloaded a copy of netsplitter (netsplitter_20021204), = compiled it with make linux, make install and have been using it fine = for a a day ro so but now all of a sudden it seems to have broken = itself, well either that or some config has gone haywire. I've got 2 adsl speedtouch modems both on a 512kbs line, the ip address = of one is 81.130.3.11 and the other is 81.130.21.112 so I've setup the config file thus.. INTERFACE ppp0 81.130.3.11 500 1 INTERFACE ppp1 81.130.21.112 500 2 PING 81.130.3.11 The config file I've got for setting up all the iptables stuff is... iptables -P INPUT ACCEPT iptables -F INPUT iptables -P OUTPUT ACCEPT iptables -F OUTPUT iptables -P FORWARD DROP iptables -F FORWARD iptables -t nat -F iptables -A FORWARD -i ppp0 -o eth0 -m state --state ESTABLISHED,RELATED = -j ACCEPT iptables -A FORWARD -i ppp1 -o eth0 -m state --state ESTABLISHED,RELATED = -j ACCEPT iptables -t nat -A POSTROUTING -p ICMP -o ppp0 -j MASQUERADE iptables -t nat -A POSTROUTING -p UDP -o ppp1 -j MASQUERADE iptables -t nat -A PREROUTING -i eth0 -p tcp -s 10.0.0.0/24 -j DNAT = --to-destination 10.0.0.152:5122 echo done. The ICMP & UDP stuff might be wrong im not sure but tcp is the main = concern at the moment. netsplitter.log contains [Fri Sep 12 09:05:51] [STATUS] [ppp0] ONLINE - PING: 0.000096 ms [Fri Sep 12 09:05:51] [STATUS] [ppp1] ONLINE - PING: 0.000139 ms [Fri Sep 12 09:05:51] [INIT] Interface: [ppp0] [Fri Sep 12 09:05:51] [INIT] Interface: [ppp1] I think thats it for the logs & config. The problem is that for = instances when I'm checking my mail on a machine on the network, it will = connect and then time out. I suspect its telling me its connected = because its connected to port 5122 on linux machine but it times out and = web browsing etc is not possible. When it was working it was great, = downloading files on kazaa etc with speeds up to 100kbs :) Carry on the good work and any ideas? Cheers, Chris |