Jump to content

wanna make module ip_conntrack_ftp stick after a reboot


Recommended Posts

Hello people!

I use mdk 9.0 and iptables, and i wanna load the module ip_conntrack_ftp and let users connect with passive mode to my ftpd.

 

I can load the module with "modprobe ip_conntrack_ftp" but how do i make it stick in kernel after a reboot, i suspect it involves a line of "alias somename ip_conntrack_ftp" inside /etc/modules.conf but i aint sure, and i dont know how that line should look like?

 

best regards ;)

Link to comment
Share on other sites

Since it is an iptables related issue I suggest you to put the "modprbe ip_conntrack_ftp" on the script /etc/init.d/iptables

 

The best place will be after the head comments.

 

Once you've edited the file, restart the iptables service with "service iptables restart"

 

HTH

Link to comment
Share on other sites

I solved it like this:

 

as root i did:

echo "ip_conntrack_ftp" >> /etc/modules

 

that did the trick i hope, i havent rebooted since that, cause i dont wanna reboot this server for no reason other then to test, i like to have high uptimes if i can :)

 

thanks for the feedback i appreciate it :)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...