Let infterface with two IPs and gateway
-
I'm having trouble doing with the ip nat virtual.
I have the following configuration:
Wan = 192.168.0.9 xl0
Lan = 192.168.1.240 rl0And I would like to put a virtual dot in Lan rl0 "alias" to make nat for network 192.168.2.0. I would like the board was rl0 gateway to 192.168.2.0 network 192.168.1.0 and I already went on Firewall - Virtual IP and created there ip 192.168.2.1 in lan And did the nat in Firewall - NAT - Outbound. and also tried making forward.
Please make it Lan = 192.168.1.240 and virtual ip 192.168.2.1 in rl0
I tried several ways but the virtual network of machines not navegavão.
I tried via the command line to See if would, with ifconfig rl0 alias0 192.168.2.1 netmask 255.255.255.0, add but not run in pfsense.
In comano pfctl-s state appears the following:
self udp 192.168.2.10:1131 -> 200.180.22.1:53 SINGLE: NO_TRAFFIC
self udp 192.168.2.10:1131 -> 201.10.1.2:53 SINGLE: NO_TRAFFICself udp 192.168.2.10:1039 -> 192.168.0.9:53031 -> 200.180.22.1:53 MULTIPLE: MULTIPLE
self udp 192.168.2.10:1040 -> 192.168.0.9:59782 -> 200.180.22.1:53 MULTIPLE: MULTIPLE
self udp 192.168.2.10:1131 -> 192.168.0.9:65223 -> 200.180.22.1:53 MULTIPLE: MULTIPLE
self udp 192.168.2.10:1131 -> 192.168.0.9:57219 -> 201.10.1.2:53 MULTIPLE: MULTIPLE
self udp 192.168.2.10:1040 -> 192.168.0.9:64148 -> 201.10.1.2:53 SINGLE: NO_TRAFFIC
self udp 192.168.2.10:1039 -> 192.168.0.9:51900 -> 201.10.1.2:53 MULTIPLE: MULTIPLE
self udp 201.10.1.2:53 <- 192.168.2.10:1039 MULTIPLE: MULTIPLE
self udp 201.10.1.2:53 <- 192.168.2.10:1040 NO_TRAFFIC: SINGLE
self udp 201.10.1.2:53 <- 192.168.2.10:1131 MULTIPLE: MULTIPLESomeone could tell me how I nat with the virtual dot in rl0 in pfsense? I did some tests with some things that I found on google but I do not know if I did something wrong that was the same thing.
PaTricK