Static route back to LAN subnets?!
-
Dear all,
I've been always a follower to this forum and looking to be an active member here to learn more on pfsense!
I have this problem.
My previous setup was like this:
192.168.1.0 & 192.168.2.0 & 192.168.3.0 …(LAN)--->Mikrotik (NAT)--->DSL modem---> Internet
No problems at all.My setup now:
192.168.1.0 & 192.168.2.0 & 192.168.3.0 ...(LAN)--->Mikrotik---> pfsense (NAT) --->DSL modem---> InternetIt's not working, unfortunately and I don't know why!
It will only work when the subnets are NATed on the mikrotik, yes for sure it will give me internet but i dont want it that way. I don't want to do double NAT!
the mikrotik router will be used only as a router and L3 switch for internal networking and such.the subnet 192.168.1.0/24 for example has the gateway 192.168.1.254 which it is on the mikrotik.
the mikrotik router then has a last resort route 0.0.0.0/0 to the pfsense. the connection between mikrotik and pfsense are on a separeate subnet 192.168.254.0/30. pfsense: 192.168.254.1 & mikrotik: 192.168.254.2the packets from the hosts on subnet 192.168.1.0 will go the gateway 192.168.1.254 (mikrotik interface) and then using the static route 0.0.0.0/0 it will be forwarded to pfsense 192.168.254.1 wich then it will be NATed and then go to the WAN.
packets needs to go back so I created static routes on the pfsense so it can know how to get to those subnets.
192.168.1.0 & 192.168.2.0 ... though gateway 192.168.254.2 (mikrotik)here it is:
now I can't ping the internet from the host
i can't ping the pfsense from the host
i CAN ping the host from pfsense!!
i can ping internet from mikrotik and pfsensecan anybody tell me whats going on? I'm sure it's a problem with routes, but how come pinging the pfsense from the host gives "request timed out" but when pinging host from pfsense it will do it noramlly?!
from pfsense routes:
Gateways
Name Interface Gateway Monitor IP Description
ToLANSubnets LAN 192.168.254.2 192.168.254.2
WAN_PPPOE (default) WAN 17X.XX.X.XX 17X.XX.X.XX Interface WAN_PPPOE Gatewayfrom mikrotik:
can plz anybody give me a hint, it must be something that I'm not noticing!
-
Firewall rules on LAN only allowing traffic sourced from LAN net?
-
Firewall rules on LAN only allowing traffic sourced from LAN net?
well I didn't create any rules yet, I only have those came by default:
any suggestions?
-
Put the Mikrotik in bridged mode only. I have one downstream from my pfSense router and it's set up that way and works fine. pfSense does the DHCP, DNS, NAT, etc.