OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of godfather007 »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

  • Messages
  • Topics
  • Attachments

Messages - godfather007

Pages: [1] 2
1
Hardware and Performance / throughput is limited using KVM on XEON vs Ryzen
« on: July 23, 2023, 08:25:44 am »
Hi,

I'm using truenas scale as a hypervisor for OPN as VM
Giving them multiple cores, 2GB RAM, virtio NIC, latest OPN and tested on different platforms:

System1: and old kabini quad core @ 2.050 MHz
System2: an older Intel Xeon E5-2675 16 core @ 1.800 Mhz
System3: relative new AMD Ryzen 5 3400G 4 core @ 4000 Mhz

My Gbit internet readings are at:
System1: 350Mbit
System2: 750Mbit
System3: 975Mbit

System 1 and 2 get double the performance when providing multiple threads/core-counts but are limited to the readings above while the 3rd system can handle the Gbit speed with even 1 thread/core.

Even when i quadruple system 1 or 2, it does not matter. Readings stay the same and from the CPU indicator, on the mainpage of truenas, it looks like a single thread using 100% core time. Also getting multiple TCP streams does not affect the maximum speed, it stays limited.

Is this explainable by the CPU's frequency alone or should go to the tuning pages of BSD? I'm fine with my 750Mbit though, but just curious.


Thx for any substantiated insights

2
21.7 Legacy Series / Solved: unassigned interfaces
« on: February 10, 2022, 06:59:53 am »
Looks like my Aliasses were blocked by resolving issues, this way the VPN could not be made.


The unassigned interfaces is something that i see on multiple installations.

Will rebuild it any time soon. Looks like header mismatch in the config.file

3
21.7 Legacy Series / SOLVED: unassigned interfaces (not solved)
« on: February 04, 2022, 02:35:35 pm »
Hi,

2 weeks ago i upgraded my HA config tot 21.7.7 and today i am experiencing some issues.

  • One of my mainswitches just disappears and reappears from ping requests from my zabbix interface. When it happens, it's not possible to ICMP the thing, only from that same VLAN. Happens every UNKNOWN
  • Another issue, a UDP-state to my other branch does not close so the VPN does not reconnect. A reboot fixed it. This never happened before.
  • A third issue, under interfaces/overview, all the physical interfaces appear as unassigned.

I see there is a new upgrade to 22 series. An upgrade at a 3rd opnsense appliance did not fix the "unassigned" issue. I will try a restore config on 22 and compare the interface section at xml file.

I found a patch at PFsense: https://redmine.pfsense.org/issues/12698
Could this cause my issue(s)?


Thanks in advance

4
22.1 Legacy Series / RESOLVED Re: OTP device lost
« on: January 30, 2022, 02:56:10 am »
Figured to boot in singe mode.

mount -o rw /

giving the command:

"opnsense-shell password" it provides to turn off OTP.

 :)

5
Web Proxy Filtering and Caching / Re: transparent proxy to other IP than 127.0.0.1
« on: January 30, 2022, 12:44:33 am »
Adjusted the cloud-init image to know about the manual proxy-server instead of transparant.

6
22.1 Legacy Series / RESOLVED OTP device lost
« on: January 30, 2022, 12:42:12 am »
Maybe a simple answer for it, i lost my phone with the authenticator app.

Anyone knows how to login to the root account and re-establish it?

Thx in advance

7
Web Proxy Filtering and Caching / Re: transparent proxy to other IP than 127.0.0.1
« on: January 04, 2022, 07:34:16 am »
Actually, i gave up on this.

Isn't there any other way to avoid those certificates?

I want to load some ready cloud-init images which do not have the certificate or even a browser.

8
18.7 Legacy Series / Re: dhcp relay on WAN
« on: February 19, 2019, 09:39:26 am »
After some wiresharking, digging and searching we found the problem.

If you enable the DHCP service on a (clients) interface the DHCP Relay service also starts at the interface behind which it will find the DHCP server. But in order to do that the firewall needs to know before hand where it can find the DHCP server.

Opnsense forwards DHCP discover pakkets with the IP address of the outgoing interface as source IP.
If Opnsense does not also start the DHCP Relay service on its outgoing interface it will forward DHCP Discover pakkets to the configured server. The DHCP server will respond with a DHCP Offer for the (client) network from which the pakket originally came. But Opnsense will not process the DHCP Offer on its outside interface and relay it back to the original (client) network.

The problem was fixed with a static route to the DHCP server over the WAN interface. Now Opnsense starts the DHCP Relay service on the interface for which you would like to enable DHCP Relaying AND the outside interface to process DHCP Offers.

9
18.7 Legacy Series / dhcp relay on WAN
« on: February 08, 2019, 12:13:38 pm »
We have a problem with DHCP relay over our WAN interface of a branch office in our network.

Our setup is 2 OPNsense firewalls/routers on 2 sites and site 1 is the upstream router for site 2. The internetbreakout is on site 1. Between site 1 and site 2 is 172.16.253.0/30 subnet and no NAT

 INTERNET <--> OPNsense1 <--> OPNsense2

On both sites we have DHCP server but we would like to turn off the DHCP server on site 2 and relay DHCP requests to the DHCP server on site 1. This is not possible because the DHCP server is behind the WAN interface of OPNsense2...

WHY??

10
Web Proxy Filtering and Caching / transparent proxy to other IP than 127.0.0.1
« on: February 07, 2019, 10:45:00 am »
Hi,

i'm trying to follow the webproxy setup.
Manually the webproxy works with manual settings to 3128 but now i want to change it to transparent.

My setup is:

client @ vlanX (10.80.24.0/24)
opnwebprxy  @ vlanY (10.80.25.32)

Through opngateway (10.80.5.1) i try to create a NAT rule to forward http & https to that 10.80.25.32.
The squid answers:

The following error was encountered while trying to retrieve the URL: /
Invalid URL
Some aspect of the requested URL is incorrect.
Some possible problems are:
Missing or incorrect access protocol (should be http:// or similar)
Missing hostname
Illegal double-escape in the URL-Path
Illegal character in hostname; underscores are not allowed.


"Transparent" is already enabled on squid.
I did not enable the CA yet but im first testing it with a non-ssl site.


So: @
interface vlanX
ipv4tcp
source: vlanXnet
source-range: any any
dest: any
dest-range: http http
redirect: 10.80.25.32
target-port: 3128
enable nat-reflection
rule NAT

Moved the rules on the top as i've read this somewhere.

Any idea what i could be missing?

Thanks

11
18.1 Legacy Series / Re: upgrade problems
« on: August 27, 2018, 07:16:36 pm »
Wow.... after manually copying all my config to my other box i experienced the same.

I found that in de aliases is something wrong after deleting whole parts until i got it working.


Strange thing (i don't know yet) but it has to be a limit of aliases or a misplaced character.

Anyway i did not need those aliases anymore...

Happy user again  :-)

12
18.1 Legacy Series / Re: upgrade problems
« on: August 25, 2018, 11:26:43 pm »
Strange,

i took the day to rebuild the whole thing from scratch... having the same issue.
It is like i'm not understanding something..

The box itself has a WAN IP address through dhcp @ vlan34, it can download packages (like letsencrypt) but it does not function as the gateway for my assigned subnets.

It is checked as the default gateway, ip monitoring has been enabled & re-disabled.... no luck with this.

13
18.1 Legacy Series / Re: upgrade problems
« on: August 20, 2018, 07:39:36 pm »
Woops.... and then i pressed "update" to 18.7.1 .... broken again :-(

It was working though... at 18.7 :-(


Email says:

There were error(s) loading the rules: /tmp/rules.debug:153: macro '500' not defined - The line in question reads [153]: nat on re0_vlan34 inet from (re1:network) to any port $500 -> re0_vlan34:0 static-port # Automatic outbound rule

Should i maybe recreate the re0_vlan34  interface??

14
18.1 Legacy Series / Re: upgrade problems
« on: August 20, 2018, 07:25:05 pm »
Thanks!

Strange anyway :-)

15
18.1 Legacy Series / Re: upgrade problems
« on: August 11, 2018, 09:32:22 am »
Hi Franco, did you manage to find anything?

Thanks

Pages: [1] 2
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