Multiple public ip addresses

i have a set of public ip addresses that i’d like the ipfire to handle, can i set these up and use them in forwarding rules? ie, my current firewall (linux based) has an interfaces file that looks like this (actual addresses/broadcasts chaged, eth0 can be reached via any of the assigned aliases, and different fw rules can be setup based on each address):
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 1.2.3.4
netmask 255.255.255.224
broadcast 1.2.3.10
gateway 1.2.3.9
dns-nameservers 8.8.8.8

auto eth1
iface eth1 inet static
address 192.168.2.254
netmask 255.255.255.0
broadcast 192.168.2.255

auto eth0:02
iface eth0:02 inet static
address 1.2.3.5
netmask 255.255.255.224

auto eth0:03
iface eth0:03 inet static
address 1.2.3.6
netmask 255.255.255.224

can this be done in ipfire? i suspect it can - is it trivial?
thanks!

Hi @dwfallin

Welcome to the IPFire community.

Yes you can use your multiple public ip’s.

See the following wiki page
https://wiki.ipfire.org/configuration/network/aliases

5 Likes

bingo! thanks! looks like i used the right sample ip addresses too! :slight_smile:

2 Likes