OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • New user, help needed
« previous next »
  • Print
Pages: [1]

Author Topic: New user, help needed  (Read 5821 times)

pun1x

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
    • View Profile
New user, help needed
« on: July 16, 2017, 10:00:36 pm »
Hello,
First of all thanks for nice firewall distro, just switched from pfsense today.
Spent most of the time to mirror same setup I had previously (openvpn, ddns, etc)
So far I really like it and I think I will keep it.
There is one minor issue that I have.
Looks like by default ICMP responses are blocked (to WAN, like 8.8.8.8 ), I tried but I can't get it to work.
Any hints would be much appreciated
« Last Edit: July 16, 2017, 10:19:47 pm by pun1x »
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: New user, help needed
« Reply #1 on: July 17, 2017, 08:18:41 am »
Did you run the wizard? It puts in default allow any rules for LAN net source on the LAN rules tab. This allows ICMP responses from other interfaces on state.

Bart...
Logged

pun1x

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
    • View Profile
Re: New user, help needed
« Reply #2 on: July 17, 2017, 09:25:22 am »
Hi.
I have default rule from LAN to any. Everything works fine except ICMP responses from WAN


Sent from my iPhone using Tapatalk
Logged

bartjsmit

  • Hero Member
  • *****
  • Posts: 2023
  • Karma: 194
    • View Profile
Re: New user, help needed
« Reply #3 on: July 17, 2017, 06:20:56 pm »
Run a packet trace on the WAN interface and confirm that the echo replies are making it back to OPNsense. If so, check your firewall log to see what's blocking it.

Bart...
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: New user, help needed
« Reply #4 on: July 17, 2017, 08:16:15 pm »
can you try to create a pass rule for ICMP and IPv4 (any host to any host) and retry?
Logged

pun1x

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
    • View Profile
Re: New user, help needed
« Reply #5 on: July 17, 2017, 09:01:34 pm »
Hi,
Thanks for all the suggestions,
I cannot get ICMP reply from 8.8.8.8 but ping replies from bbc.co.uk works fine. that is really weird
All I want to do is to be able to test if I get internet as my provider is flaky sometimes.
I did not know that I can run packet capture straight from the GUI, that is awesome.
I will start packet capture and see how it goes
Logged

pun1x

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
    • View Profile
Re: New user, help needed
« Reply #6 on: July 17, 2017, 09:31:26 pm »
Hi,
I think it's something to do with my provider,
Here is traceroute from OPNsense with ICMP tickbox enabled

traceroute to 8.8.8.8 (8.8.8.8 ), 18 hops max, 48 byte packets
 1  * * *
 2  80.X.X.X  7.678 ms  10.443 ms  10.853 ms
 3  * * *
 4  62.253.175.34  10.873 ms  9.682 ms  9.309 ms
 5  74.125.52.226  15.216 ms  14.629 ms  16.521 ms
 6  * * *
 7  216.239.57.131  16.750 ms  16.018 ms  16.224 ms
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *

Ans here is regular traceroute from OPNsense

traceroute to 8.8.8.8 (8.8.8.8 ), 18 hops max, 40 byte packets
 1  * * *
 2  80.X.X.X  8.354 ms  9.074 ms  9.989 ms
 3  * * *
 4  62.253.175.34  10.876 ms  11.143 ms  9.875 ms
 5  74.125.48.190  9.789 ms
    74.125.52.226  14.174 ms  15.459 ms
 6  108.170.246.225  9.429 ms
    108.170.246.129  15.896 ms
    108.170.246.193  18.348 ms
 7  * 216.239.57.163  12.552 ms
    216.239.57.169  11.766 ms
 8  8.8.8.8  16.060 ms * *

From the above it looks like ICMP never gets to the destination.
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: New user, help needed
« Reply #7 on: July 17, 2017, 10:04:18 pm »
Google drops your pings if you send to many.
Logged

Ciprian

  • Sr. Member
  • ****
  • Posts: 284
  • Karma: 50
    • View Profile
Re: New user, help needed
« Reply #8 on: July 18, 2017, 10:29:32 am »
Quote from: pun1x on July 17, 2017, 09:01:34 pm

All I want to do is to be able to test if I get internet as my provider is flaky sometimes.


You can also monitor the GW (apinger), it allows you to ping the IP of the provider's gateway, or another public IP. Though, I wasn't concerned about an URL, to check if DNS translations works... Try!
Logged

pun1x

  • Newbie
  • *
  • Posts: 6
  • Karma: 1
    • View Profile
Re: New user, help needed
« Reply #9 on: July 18, 2017, 01:15:01 pm »
Hi. That would actually be awesome. Thanks for that!


Sent from my iPhone using Tapatalk
Logged

Ciprian

  • Sr. Member
  • ****
  • Posts: 284
  • Karma: 50
    • View Profile
Re: New user, help needed
« Reply #10 on: July 18, 2017, 03:09:49 pm »
Quote from: pun1x on July 18, 2017, 01:15:01 pm
Hi. That would actually be awesome. Thanks for that!


Sent from my iPhone using Tapatalk

You're welcome! :)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • New user, help needed
 

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