Current time: 12-25-2024, 03:31 PM Hello There, Guest! (LoginRegister)


Post Reply 
FTP for firewalled users...
Author Message
seba22 Offline
Junior Member
*

Posts: 39
Joined: Jul 2008
Reputation: 0
Post: #1
FTP for firewalled users...
Hi,

I have problem, i want to enable PSV mode for FTP.

I assign in proftpd config files passive port range.

Nex on my web gateway i put this lines:

Quote:iptables -A INPUT -p tcp -s 0/0 --sport 59500:59600 -d xxx58 --dport 21 -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -p tcp -s xxx17.158 --sport 21 -d 0/0 --dport 59500:59600 -m state --state ESTABLISHED -j ACCEPT
iptables -A INPUT -p tcp -s 0/0 --sport 59500:59600 -d xxx158 --dport 59500:59600 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A OUTPUT -p tcp -s xxx7.158 --sport 59500:59600 -d 0/0 --dport 59500:59600 -m state --state ESTABLISHED -j ACCEPT
iptables -A OUTPUT -p tcp -s xxx.158 --sport 20 -d 0/0 --dport 59500:59600 -m state --state ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -p tcp -s 0/0 --sport 59500:59600 -d xxx7.158 --dport 20 -m state --state ESTABLISHED -j ACCEPT


The problem, not working...

The question is, does ispcontrol use iptables ?
Does i need to enable this range on webserver based on ispcontrol ?
I'm asking for default installation. On debian 4.0 etch and ispcontrol newest build.
12-16-2008 11:48 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
FTP for firewalled users... - seba22 - 12-16-2008 11:48 PM
RE: FTP for firewalled users... - BeNe - 12-17-2008, 05:54 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)