Distribute VIP's to specific LAN users
I hope I am asking this at the right forum.
I am a newbie and this might be a noob questions.
My internet provider is giving me 5 usable static IP's
I am successfully able to use internet using the default WAN settings.(something like 184.108.40.206)
I wanted to know if I can distribute Virtual IP's to users in my network, as in, local IP 192.168.1.10 to 192.168.1.19 tries to access whatismyip.com the public IP for them should show as 220.127.116.11
local IP from 192.168.1.20 tries to access whatsmyip the public IP it shows to them will be 18.104.22.168
Another question is if I can make sure that all requests which goes for port 22 (outbound) should always use my Public IP and for all other services it should use Virtual IP.
Below is the IP range I have got (not exactly same but similar).
IP - 22.214.171.124
Sub net - 255.255.255.252
Gateway - 126.96.36.199
Public IP Pool - 188.8.131.52/29
Network - 184.108.40.206
Gateway - 220.127.116.11
Broadcast - 18.104.22.168
Usable - 22.214.171.124 - 126.96.36.199
Can somoeone help me on how this needs to be configured.
You can do that all with Firewall > NAT > Outbound. Switch it into hybrid mod, then you can add rules to override the default behaviour (masquerading).
If you strict want to forward a public IP to a certain internal and have this internal IP use that public, you can use NAT 1:1 rules.
However, before you have to assign each IP out of the additional /29 subnet in Firewall > virtual IPs as type "IP Alias" to your WAN.