Hi,
you can define a rule like that:
iptables -A FORWARD -s 192.168.235.43,192.168.235.46 -d
10.0.0.1,192.168.0.1 -j ACCEPT
it will create 4 rules.
be sure to activate Networking support->Networking options->Network
packet filtering framework->Core Netfilter Configuration->iprange
address rang
Jarry writes:
> I'd like to ask if there is some way to include multiple discrete
> hosts/IP's in --source and --destination options of iptables.
>
> I'm trying to write firewall rules for my server, but it has
> 12 IP's from different segments (and maybe it gets a few more
> later), and the scri
On Mon, 2010-04-05 at 19:32 +0200, Jarry wrote:
> Hi
>
> I'd like to ask if there is some way to include multiple discrete
> hosts/IP's in --source and --destination options of iptables.
>
> I'm trying to write firewall rules for my server, but it has
> 12 IP's from different segments (and maybe
Hi
I'd like to ask if there is some way to include multiple discrete
hosts/IP's in --source and --destination options of iptables.
I'm trying to write firewall rules for my server, but it has
12 IP's from different segments (and maybe it gets a few more
later), and the script grows up as I have
4 matches
Mail list logo