Thursday, May 16, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 2390  / 2 Years ago, sun, october 16, 2022, 10:31:07

Where to find a easy "iptables for dummies" tutorial?



I know NOTHING about it and basically I need to allow only http, ssh and ftp connections...



thank you all


More From » server

 Answers
4

If you are a beginner you shouldn't use iptables directly, as it probably will give you more problems than it solves. Unless you are familiar with a handful of RFC:s, you should use a frontend instead.



I would really recommend you to use ufw if you don't route traffic between different LAN. It's quite easy to use and there are some useful instructions to look up. But if you do need routing, I have found shorewall useful as ufw doesn't support any routing or NAT (yet, it's comming).
The good thing with ufw is that it also supports IPv6 besides IPv4, it uses both iptables and ip6tables.



In short, use a frontend and not iptables unless you really know what you do and you know the differences between different ICMP messages.


[#26862] Monday, October 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
beateyra

Total Points: 499
Total Questions: 113
Total Answers: 125

Location: Falkland Islands
Member since Mon, Jul 13, 2020
4 Years ago
beateyra questions
Mon, Jul 11, 22, 17:35, 2 Years ago
Wed, Sep 22, 21, 13:51, 3 Years ago
Tue, Jan 3, 23, 12:05, 1 Year ago
Mon, Sep 26, 22, 09:51, 2 Years ago
;