Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
It's a bit hard to understand exactly what you are trying to do. Could you give some more details about your network setup, what you want to achieve and what methods you have tried already?
Using a slackware 10.2 machine to basically share internet with a bit of a firewall on it.
Also slackware machines behind it, one win2k.
eth0 for internet and eth1 to forward it to my LAN. The port forwarding works, ssh and webserver. The only thing that doesn't work is port forwarding ftp.
I tried using mobprobe conntrack and mobprobe conntrack_ftp.
I used this for the other port forward which worked:
So, for http you have a line exactly the same except you have "80" instead of "21". If that is the case I think the problem could be with your ftp server. Have you checked it's logs? Perhaps it only accepts connections from the localhost?
One other thing that might be worth checking: Does the following work (use append instead of insert)?
Yea for 80 and others its the same except port 80 and 192.168.x.xx:80, with that at the end as well.
I read that it could be ftp's pasv problem which prevents it from port forwarding. The ftp server works fine though, I tried from inside my network logging in and that works. So it should from the outside as well.
A few times it would login from the outside but only half way. Like it would open the home directory in the left window but it will try to keep connecting and not finish or complete the login and timeout after some time. Its kinda weird.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.