Re: port forwarding not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2004-04-15 at 15:57, Nick Vazirianis wrote:
> iptables v1.2.8
> Linux Fedora Core 1
> Kernel 2.6.3
>  
> I am having some trouble getting port forwarding within the attached
> script.
>  Please refer the line starting     # enable port forwarding for
> BitTorrent
> Incoming packets to these ports are being dropped (and logged) by the
> section lower down in the script, I have tried adding the enable port
>  forward section in different parts of the script, but this makes no
> difference.
>  
> could soneone please help, I even tried adding the line 
> $IPTABLES -A INPUT -i $EXT_IF -p tcp --dport 6881:6885 -j ACCEPT
> but i believe this only allows incoming into the firwall and not
> redirecting to another host
>  
> someone please help 
Maybe the source s not 6881 ...
$IPTABLES -A FORWARD -s 6881 -p tcp --dport 6881 -j ACCEPT
try
$IPTABLES -A FORWARD -p tcp --dport 6881 -j ACCEPT
instead
-- 
--
Raymond Leach <raymondl@xxxxxxxxxxxxxxxxxxxxxx>
Network Support Specialist
http://www.knowledgefactory.co.za
"lynx -source http://www.rchq.co.za/raymondl.asc | gpg --import"
Key fingerprint = 7209 A695 9EE0 E971 A9AD  00EE 8757 EE47 F06F FB28
--

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux