Menu

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.

Show posts Menu

Messages - procsik

#1
Hello!

I installed a new system "19.7". Configured WAN and LAN at the installation stage. On the motherboard 2 integrated network interfaces and 2 interfaces on the network card Intel PRO/1000 (82571EB/82571GB). I have two ISP. The first and second port of the network card (em0/em1) I configured for ISP1/ISP2 (PPPoE and DHCP).

After successful connection, I set up gateways in groups with appropriate priorities. Also set up the rules of NAT and Firewall (floating). Indicated a previously created group of gateways as a gateway.

After disconnecting the network interface via the web-gui, the network traffic according to priority is sent through ISP2. Monitoring graphs on the main page went to the peak. The system rebooted and rebooted every time I wanted to do something with the network card settings.

PCI slot stopped working correctly with the network card. I installed another system (ubuntu), the uplink lights do not even light. The network card itself works (installed in another server).

ps. "crash report" was sent indicating the contact email like procsik@*
#2
Quote from: mircsicz on May 07, 2018, 09:58:17 AM
We're having issue's with one router where Windows client's are not receiving their leases:

Windows only get's himself a 169 IP and if reboot into Linux I see the same log entry but Linux set the correct IP. As this is over several Windows machines I don't have a clue what this is about...

try to ad in:
/usr/local/etc/inc/services.inc at line 446 after "authoritative;"


ignore client-updates;
ddns-updates on; //if use ddns,


..end /usr/local/etc/rc.d/isc-dhcpd restart



#3
18.1 Legacy Series / Re: Postfix Import
February 02, 2018, 09:56:57 AM
Quote from: fabian on February 01, 2018, 05:49:21 PM
Postfix has an API. Use can use that for bulk imports.

Quote from: mimugmail on February 02, 2018, 06:04:22 AM
You should get familiar with the API to do this:

https://forum.opnsense.org/index.php?topic=6116.msg25681#msg25681

Thanks for the help. It works:

curl -X POST -d '{"recipient":{"enabled":"1","address":"<email>","action":"OK"}}' -H "Content-Type: application/json" -k -u "<key>":"<secret>" http://<ipaddr>/api/postfix/recipient/addRecipient
#4
18.1 Legacy Series / Re: Postfix Import
February 01, 2018, 11:16:27 PM
Quote from: fabian on February 01, 2018, 05:49:21 PM
Postfix has an API. Use can use that for bulk imports.
I use postfix as MTA. For example, I do not want multiple users to receive emails from the outside world. For this, I would write the corresponding entries in the file /usr/local/etc/postfix/recipient_access. But I'm afraid that with the next updates and upgrades, my information will not be preserved. Otherwise, I'll have to add everyone separately through the web-gui.

Quote from: bartjsmit on February 01, 2018, 04:49:41 PM
If your postfix users are in a Radius or LDAP directory, you can use those as authentication sources in OPNsense.
Yes, I can use an authorization server with LDAP, but how it will help me add a lot of users to the recipient_access file via the web interface? Or I have to create all Internet users so that they can authenticate to my gateway? As far as I know, the smtpd_recipient_restrictions = check_recipient_access parameter is responsible for checking incoming mail relative to the recipient.

Still, I will have to manually add users until there is a System:Access:Server integration in the installer plugins, if that happens.
#5
18.1 Legacy Series / [SOLVED] Postfix Import
February 01, 2018, 04:44:53 PM
Hello!

Whether there is a possibility to import users into lists of recipients/senders via web-gui? Or will such functionality appear?

thx!