October 22, 2005
IRC’s DCC Send behind iptables
To establish an IRC’s DCC Send connection behind your Linux’s Iptables firewall few modules should be compiled/loaded on your kernel to make this connection possible.
While compiling your kernel make sure to add the following drivers on the kernel or compile them as modules:
ip_nat_irc
ip_conntrack_irc
Note: When both drivers are compiled as modules remember to modprobe them, a good idea is to insert the lines in your firewall script:
modprobe ip_nat_irc
modprobe ip_conntrack_irc
-Your IRC client should not set to any unsual IRC networking settings such as: Behind a firewall, proxy, socks etc…
-Set your IRC client to get Local host and IP address on connect, for mIRC, the lookup method should be set as “normal”
-For Windows XP SP2 users, turn off the Firewall option or just set mIRC as an exception.
Note: If on the firewall’s syslog you get:
kernel: Forged DCC command from internalIP: externalIP:ports
then something is wrong on your client.
Filed by haytham at 10:54 am under Linux HOWTOs / Tutorials
No Comments