Internet Connection causes pings to fail
-
This is the real 1.1.1.1 : https://www.cloudflare.com/fr-fr/learning/dns/what-is-1.1.1.1/
using their IPv4 is just not done, and creates problems.
-
1.1.1.2/30 is what I'm using to simulate a user from the Internet.
Huh? That doesn't make a lot of sense to me. Where exactly does that connect too?
Your rule wan net to lan net? When would that work? your wan net is a /30 so your allowing 1.1.1.1 only to talk to anything on the lan.. What would be generating this traffic into your lan? And whats the point of that rule anyway when you have allow any any rules above them?
If you want to "simulate" external - say internet. What does that have to do with using a public /30 on our pfsense wan?
-
@gertjan Oh my, I did not know that, I'm going to change it later, thanks for the heads up.
-
@gertjan It is just my own sandbox network environment. And yes, WAN to LAN does work when I remove the bridged adapter. I am allowed to talk to the LAN, which in my case is simulating the DMZ where I host my webserver. I added in the rule, later on, to make sure that it allows ICMP to pass through, it was just to serve as a double-check.
And once again, it is my own sandbox environment, so my 'External' isn't really the Internet at all. It's just a simulate it. I hope this clears your doubts
-
@cbch said in Internet Connection causes pings to fail:
so my 'External' isn't really the Internet at all. It's just a simulate it.
That does not require a public IP.. You can "simulate" external or internet with any rfc1918 range just the same.
-
@johnpoz Yea.. I did not know it is a public IP, my bad about that
-
@cbch So what you guys are saying is that using private IP will fix the issue? Do correct me if I am wrong, my network here seems like a disaster to me.
-
@gertjan & @johnpoz I just had a discussion with my teacher. He mentioned that I should add another static route (NAT) from the PFSense router to the Internet, so based on this, I added an OPT5 interface to my router and tested it using an IP of 192.168.0.112/24. Is this the correct idea? Because it still doesn't work for me. Or is it because I have to add another WAN interface to the router?
PS: The first WAN interface is to connect it to a network to simulate the Internet and cannot be changed (it's just set in stone for this project of mine, don't mind it)
-
@cbch Ok, I fixed the issue, just adding another NAT adapter to my PFSense router did the job. Thanks a lot for all your help.
-
@cbch said in Internet Connection causes pings to fail:
just adding another NAT adapter to my PFSense router did the job
Why would you do that?
You really should not have to nat in your vmhost..
For setting up a lab in vm tied to physical network(s) you would use bridge interface in vm network. This ties the vm to the physical world the host is connected to on that interface. If your vms do not need to be tied to physical world via an interface, and say route through pfsense vm to get to the real world. Then the vm network in that case would normally be host only networks.