Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Unable to reach the Internet
« previous
next »
Print
Pages: [
1
]
Author
Topic: Unable to reach the Internet (Read 4398 times)
acc
Newbie
Posts: 3
Karma: 0
Unable to reach the Internet
«
on:
November 07, 2019, 12:08:14 am »
Hello, I've hit a bit of a brick wall and looking for someone to tell me I'm doing it wrong please :-) I can't ping 8.8.8.8!
I have two subnets that can reach each other: all devices either side can ping, RDP, ssh, everything. 192.168.0.0/24 is a TP-LINK Wireless router running DD-WRT and the other is 192.168.175.0/24 on a Hyper-V VM as opnsense. Both vNICs for the opnsense VM are external: one is shared with the host and is connected to 192.168.0.0/24 LAN (opnsense's WAN interface) and the other is not shared with the host and is 192.168.175.0/24 (opnsense's LAN interface). On the same switch I have a couple of other Hyper-V machines with several VMs all making use of 192.168.175.0/24.
Currently, no VLANs. I do intend to, but I'm not implementing that until I get routing to Internet sorted.
So I can't ping 8.8.8.8 from anywhere within 192.168.175.0/24. If I tracert 8.8.8.8 it reaches 192.167.175.1 and 192.168.0.1 but thereafter, nothing. I can ping 8.8.8.8 from the shell of opnsense and tracert shows it's not touching 192.168.175.1 as its first hop is 192.168.0.1 so I suspect it's sending from the WAN interface.
Here is a screenie of the routing table, left is opnsense and the right is DD-WRT.
I'd appreciate _anyone_ hitting me with an idea.
Logged
ARCHmatux
Newbie
Posts: 7
Karma: 0
Re: Unable to reach the Internet
«
Reply #1 on:
November 09, 2019, 12:10:31 pm »
Hi.
Is pfSense using NAT or routing between the subnets?
If it's using routing, does DD-WRT have appropriate outbound NAT rules for the 192.168.175.0/24 subnet?
«
Last Edit: November 09, 2019, 12:14:32 pm by ARCHmatux
»
Logged
acc
Newbie
Posts: 3
Karma: 0
Re: Unable to reach the Internet
«
Reply #2 on:
November 10, 2019, 04:09:13 pm »
Hello, it was NAT! Thank you.
Entering this command in Administration > Commands (save Firewall) resolved:
Code:
[Select]
iptables -t nat -I POSTROUTING -o `get_wanface` -j MASQUERADE
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
19.7 Legacy Series
»
Unable to reach the Internet