OPNsense Forum

English Forums => General Discussion => Topic started by: gytepr65 on March 14, 2018, 01:38:48 pm

Title: new on Opnsense
Post by: gytepr65 on March 14, 2018, 01:38:48 pm
Hello,

have installed Opnsense on an computer with two networks card one is lan and another is wan.
Everything workning good but cant not coming out on internet.
LAN have ip adress 192.168.10.1
WAN have ip adress 192.168.8.1
everything is green on dashboard
have reading these guide https://forum.opnsense.org/index.php?topic=6893.0 (https://forum.opnsense.org/index.php?topic=6893.0)
have dhcp on lan side there no problem.
What can I do for coming out
Title: Re: new on Opnsense
Post by: bartjsmit on March 14, 2018, 01:59:47 pm
In the GUI, go to Interfaces, WAN and untick the setting 'Block private networks'

Bart...
Title: Re: new on Opnsense
Post by: gytepr65 on March 14, 2018, 02:11:03 pm
I have that unsticked
Title: Re: new on Opnsense
Post by: bartjsmit on March 14, 2018, 02:13:54 pm
Does the default gateway on the WAN subnet have a route back to your LAN subnet?

Can you reach 8.8.8.8 from Interfaces, Diagnostics, ping in the GUI?

Bart...
Title: Re: new on Opnsense
Post by: gytepr65 on March 14, 2018, 03:10:40 pm
Hey,

how that route back to lan
I cant ping google dns
Title: Re: new on Opnsense
Post by: bartjsmit on March 14, 2018, 03:47:33 pm
Cool; packets are getting from your firewall via the next hop to the internet and back. So far, so good  ;)

Hosts on your internal LAN can send packets out, but they don't come back. You can run a packet capture on OPNsense to confirm this. (Interfaces, Diagnostics, Packet Capture)

The default gateway on your WAN side needs to know that 192.168.18.1 is the router that 192.168.10.0/24 lives behind (assuming a class C subnet).

Add a static route for 192.168.1.0/24 via 192.168.18.1 on the internet router and you should see an improvement.

Bart...
Title: Re: new on Opnsense
Post by: gytepr65 on March 14, 2018, 03:59:00 pm
But what I can see I is packets coming back I recevie.
WAN is 192.168.8.24 is that see in opnsense as wan port and LAN is 192.168.10.1
That last you writed I do in my router front of internet then.
Title: Re: new on Opnsense
Post by: gytepr65 on March 14, 2018, 04:09:55 pm
Hey,
have en netgear r6400 with advancedtomato installed and found under advanced routing
and I add:
Dest 192.168.10.0
gateway 192.168.8.1
subnet 255.255.255.0
metric 0
interface WAN
Title: Re: new on Opnsense
Post by: gytepr65 on March 14, 2018, 06:38:05 pm
Hello,
I that working now, what doing was install again and setting lan 192.168.1.1 and wan 192.168.8.24 (dhcp)
now can coming out from my client computer