Need HELP with IPTABLES RULES on an ubuntu router!!
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.
I agree, FTP is not intuitive and would go as far as to say that it should not be part of any normal curriculum any more. Furthermore there are differences between active and passive FTP connections. Take a look at the sequence diagram for FTP. You can see how complicated it is from a packet filter perspective, as you are finding out first hand. Notice also how it was designed decades before packet filters became common, back when direct connections to the Internet itself were expected on both ends. Therefore FTP does not work well through NAT, for example.
I agree, FTP is not intuitive and would go as far as to say that it should not be part of any normal curriculum any more. Furthermore there are differences between active and passive FTP connections. Take a look at the sequence diagram for FTP. You can see how complicated it is from a packet filter perspective, as you are finding out first hand. Notice also how it was designed decades before packet filters became common, back when direct connections to the Internet itself were expected on both ends. Therefore FTP does not work well through NAT, for example.
yea also bash script for me all programming is hard, but especially bash scripting I don't understand how to create scripts that work
(The book ought to be available at your library, but can otherwise be ordered inter-library loan or just plain bought. If none of those are an option, you can still make do with an CC-licensed PDF.)
Also, take advantage of the ShellCheck site to inspect your scripts.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.