Help me review my iptables config
Hi to all,
I worked on lot on my iptables config, could you check if it makes sense or it's broken?
Here is a few problems I had:
How do you specify many addresses as sources?
-s 192.168.20, 192.168.30
I don't think it will work...What's the official way to do this?
I found with ports it was easy to do with:
-p tcp -m multiport --dport 137, 138, 139
is there something similar?
Also, if I'm on the LAN, and I try to access a service that's disponible from the Internet using the Internet IP address, it won't work. Like, if I host something on my 192.168.0.2:81 web server, it works only if I access it using the LAN IP address or using the Internet IP address from another building.
Also, where should I add prioritizations? Is this done in iptables? Also, where can I specifiy bandwidth throttling by port and time of day/day of month?
How can I improve security and performance of the networks?