OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • new on Opnsense
« previous next »
  • Print
Pages: [1]

Author Topic: new on Opnsense  (Read 4311 times)

gytepr65

  • Newbie
  • *
  • Posts: 21
  • Karma: 1
    • View Profile
new on Opnsense
« 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
have dhcp on lan side there no problem.
What can I do for coming out
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: new on Opnsense
« Reply #1 on: March 14, 2018, 01:59:47 pm »
In the GUI, go to Interfaces, WAN and untick the setting 'Block private networks'

Bart...
Logged

gytepr65

  • Newbie
  • *
  • Posts: 21
  • Karma: 1
    • View Profile
Re: new on Opnsense
« Reply #2 on: March 14, 2018, 02:11:03 pm »
I have that unsticked
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: new on Opnsense
« Reply #3 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...
Logged

gytepr65

  • Newbie
  • *
  • Posts: 21
  • Karma: 1
    • View Profile
Re: new on Opnsense
« Reply #4 on: March 14, 2018, 03:10:40 pm »
Hey,

how that route back to lan
I cant ping google dns
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: new on Opnsense
« Reply #5 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...
Logged

gytepr65

  • Newbie
  • *
  • Posts: 21
  • Karma: 1
    • View Profile
Re: new on Opnsense
« Reply #6 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.
Logged

gytepr65

  • Newbie
  • *
  • Posts: 21
  • Karma: 1
    • View Profile
Re: new on Opnsense
« Reply #7 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
Logged

gytepr65

  • Newbie
  • *
  • Posts: 21
  • Karma: 1
    • View Profile
Re: new on Opnsense
« Reply #8 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • new on Opnsense
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2