Unable to connect between lan1 and lan2
-
@johnpoz actually, I’m using this as a test system therefore I didn’t take others remote access details.
-
@sutha What freaking interface did you take the sniff on where you showed 50.100 sending traffic to 60.50?
What does that have to do with "test" system..
This is really simple
Device A ----> (a) pfsense (b) ----> Device B
You sniffed where interface a or b of pfsense.. If a we know your client is sending the traffic trying to get to device b to pfsense.
If you sniffed on b you know that pfsense sent the traffic on to device B IP address. If you do not get an answer, that has zero to do with pfsense.. And again SCREAMS firewall on device B.
This test takes all of 30 seconds at most..
-
@johnpoz I have a switch on lan 1 and a switch on lan 2, on these switches I have pc‘s connected. I have a pc on both side for my own use, you can call as personal use, administrative or test use. I need these pc to access each side when something goes wrong like now. Because this is a new environment, I don’t have all remote access details now.
If I’m wrong correct me, for sniffing the packages you need to access the pfsense open the packet capture and switch between lan1 and lan2. Only the ping should be done from the pc, which is on lan1 and lan2. Those complete sniffing which I have sent is from lan 1, I couldn’t send you the sniffing from lan 2 because the pc went offline. I’ll do it half an hour .
-
@sutha dude your sniffing on pfsense interfaces..
Its as simple as changing the interface on pfsense. You do not need to take the sniff on the device.. Its right therein pfsense - you can select any of the pfsense interfaces.. You can access pfsense from anywhere.. Could even be in from the internet.. Anything that can access the pfsense gui..
Its all of 3 seconds to change the interface your capturing the data that is flowing in or out of pfsense... Yes the device in network B needs to be up so pfsense knows what mac to send to but when you took that sniff it would of been 3 more seconds to look at the traffic that was leaving B..
-
Yes if any other hosts exist on the 192.168.60.X subnet then you can try pinging them. If they are using DHCP you can those hosts in Status > DHCP and try to ping those IPs.
Even if the hosts don't respond you will still see the ping traffic in a capture on the .60 interface proving that pfSense is routing it as expected.
-
@stephenw10
First of all, I would like to thank everyone who helped to succeed with my connection.
The problem was in two places: the firewall and an IP. I disabled the Windows firewall, but even if you disable the firewall, you have to enable the "Echo-request-ICMPv4" in the firewall inbound rule under advanced settings. The second problem resided with the IP, I had set up an additional IP and forgot to remove it.
While capturing the pings independently, I found as you guys said, that something is blocking on this machine. I tried to enable the echo request even though the firewall is off, and I'm still facing the same issue. Finally, I put the IP in auto setting and it suddenly started to working. Then I realized the additional IP was causing the problem.
I have enabled my tunnel and the rules one by one, it's working fine. -
Ah, sounds like you hit the common issues there then.
-
@stephenw10
Thanks again !
I don't understand how pfSense is handling the traffic between two interfaces without a unique IP. I thought I needed a unique IP, which is why I added the second IP on my machine (192.168.60.50). Now I have removed the ip on all devices. -
That's how IP routing works. Both hosts do not have a direct route to the other subnet so they send traffic via their default route/gateway which is the pfSense interface. pfSense has an interface in both subnets so it knows how to reach them, it has a route. So when traffic comes in with a destination of the other subnet it routes it correctly out of the other interface.
-
@sutha said in Unable to connect between lan1 and lan2:
handling the traffic between two interfaces without a unique IP.
You don't seem to grasp the basic concept of a router?? How do you think your soho router works - routes you to the internet? Does your client have an IP in every single network out on the internet?
-
@johnpoz Actually, I have seen many routers, but they are very complicated to set up. I have never set up a site-to-site VPN in a short period of time, but with pfSense, it was so easy, and many advanced and secure methods are available. That's why I like pfSense.
Anyway, Thanks again!