4 Wanip in same network
-
Hello.
We're have a one network 10.10.10.40/29, as first ip set to 10.10.10.46, it's a default gateway for users and server. Users network 192.168.1.0/24 and servers net 192.168.66.0/24. We're setup a virtual IP 10.10.10.45 and it's pinged from global internet. On firewall enabled icmp to wan. Basic Wan IP it .46. We're succesfully setup a port forward from internet to local servers, it's good. But one thing are not good.
We're want that users in internet matching as .46 and servers in internet must be matching as .45. Load balancing it'swrong way as gateway on both IPs .41.How can I post another IP address to outgoing traffic from some computers?
Please answer me, who can i decide it problem and two networks go to internet and matching with another IPs? -
You have to configure your outbound NAT for the appropriate mappings depending on the internal source.
-
Yes, I understand it. But in current config all another. If I set sorce net 192.168.0.0 and NAT address manually x.x.x.45 and source net 192.168.1.0 to NAT manually x.x.x.46 all outgoing traffic goes form basic first interface with ip x.x.x.46, no changes in it. I check outgoing ip with internet service such as myip.ru or another site. May be I look in other place or it's a bug of pfsense. I think what this problem only if i use two or more IP's from one WAN subnet. With two WAN subnets it may work. Can someone check this problem on own hardware? On cisco routers it's no problem, but with pfsense ????
P.S. And now with one WAN subnet i don't want loadbalancing such LB need a two another GW.
-
It works fine, just have to create the appropriate outbound NAT. Post a screenshot of your outbound NAT rules.