Problem in advanced routing with FTP

Linux Advanced Routing and Traffic Control

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

 



I have a router with 2 isp's connected.

My default route is by isp1, and i mark packets to port 80 and port 21
with mark 2.

with: ip rule ls

0:	from all lookup local 
32765:	from all fwmark        2 lookup 200 
32766:	from all lookup main 
32767:	from all lookup 253 

and in table 200 i have the route by isp2.

My http traffic goes well, but ftp doesn't.
Using Passive mode all works well, but with active it doest work,
because the ftp server callsback with port 20.
Please note that isp2 is masqueraded and i have ip_conntrack_ftp in the
kernel.

Thanks for any advice.

Nuno Fernandes


-- 
Nuno Miguel Pais Fernandes <npf@eurotux.com>
Eurotux S.A.

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


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux