Giving public ip addresses to servers behind pfsense
Hi pfsense team, i have public address as 126.96.36.199/25 from isp, 188.8.131.52 gw and 184.108.40.206 is pfsense wan interface, i have also lan interface 192.168.1.0/24, now i want give other ips (220.127.116.11-126) addresses to my servers which are behind pfsense how can i do this without using any NAT???
Call your ISP and have them give you a /29 on the interface and route the /25 to your address on that. Then you can just put all or part of the /25 on that inside interface.
and i think i should give one of this ip addresses to my server_interface and this ip should also be gateway of servers?
Yes. Just like you would with an rfc1918 network.
If they routed 18.104.22.168/25 to you:
Interface: 22.214.171.124 /25
Usable: 126.96.36.199 - 188.8.131.52
They'd set 184.108.40.206 as the gateway.
Or you could configure DHCP to hand out the addresses if you wanted.
You could also just use a /26, /27, /28, /29, /30, /31 on the inside interface and use the rest of the space for other purposes.