emilioestevezz Posted November 5, 2003 Report Share Posted November 5, 2003 Hey everybody, im trying without success, to configure shorewall for using proftp in my linux box thing is when trying to access via webbrowser it tells me that the conection was refused. Any tips?? Quote Link to comment Share on other sites More sharing options...
MottS Posted November 8, 2003 Report Share Posted November 8, 2003 Hi emilioestevezz (what a name man !) The answer depends of your setup. It also depends on which computer the 'webbroswer' you are trying to access your ftp server is. If you have 1 computer connected to net and you try to propftd on this computer for those on the net to access it then put the following in /etc/shorewall/rules and restart shorwall ACCEPT net fw tcp 21 - If your server have 2 ethernets cards and you want to access the ftp server from within your lan then it might be ACCEPT masq fw tcp 21 - or (if you don't use NAT) ACCEPT loc fw tcp 21 - If the ftp server is behind a router (running shorewall) then you'll have to forward port 21 (replace 'IP' by the IP of the computer running the ftp server behind the router). DNAT net masq:IP tcp 21 - don't forget to restart shorewall !!!!! As root type service shorewall restart Well, ... HTH :P MOttS Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.