iptable-rules for eDonkey?
Hi, I use Linux as router. How do I have to configure FORWARD and DNAT-Rules for edonkey? At least one Pc behind the firewall should be able to download via eDonkey.
Bye, Hannes |
iptables -t nat -A PREROUTING -p tcp -i $interface --dport xxxx -j DNAT --to ip_of_machine
iptables -t nat -A PREROUTING -p udp -i $interface --dport xxxx -j DNAT --to ip_of_machine replace xxx with the port or ports edonkey works on and $interface with the interface the traffic is coming in on. and you're away. You don't need any forward rules for this. |
The portnumber you will need is probably listed in your /var/log/messages file
|
All times are GMT -5. The time now is 11:26 PM. |