allow DCC through iptables nat box

Lars Nielsen lars at mit-web.dk
Mon Aug 29 18:21:23 CEST 2005


Hey

I have the following setup:

LAN      192.168.1.0/24
   Linux box with iptables
       eth0   192.168.1.1
       eth1   ext_ip
internet

I use the following to allow internal clients to access the internet.
iptables  -t nat -A POSTROUTING -o eth1 -s 192.168.1.0/24 -d 0/0 -j 
MASQUERADE

Which rules should i use to allow DCC to and from an internal Mirc 
client on ip 192.168.1.2

I hope you can help me! ;o)

Best regards Lars Nielsen




More information about the netfilter mailing list