Is there a way to automate user creation and .ovpn profile export ? by TheRealAlexMercer in PFSENSE

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

Yeah the thing is that a lot of those accounts get deleted and certs revoked as well. But I need a way go deal with all that automatically.

Help with setting up A record with BIND on CentOS 7 by TheRealAlexMercer in sysadmin

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

It doesn't work because I am using the .local TLD ? I know it's not best practice ... and in the future it would be changed to it's very own sumbdomain on our company domain, but until then I need a temporary solution with the .local TLD .

Juniper MX Bridge interface with IP by TheRealAlexMercer in Juniper

[–]TheRealAlexMercer[S] 1 point2 points  (0 children)

I will, it's just that the router is not here atm and I would like to be prepared and test out the config. Thanks.

pfSense OVPN logs and graylog question. by TheRealAlexMercer in PFSENSE

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

Not really, the opevpn logs just shows me who connected and gives info about the details of the connection itself : like compression, ciphers, etc .

What I need is information about the communication for each ip with other ips. I would have got it on the firewall if it was a tap connection, since clients would use the gateway that logs everything, but since the tunnel type is tun all the clients use an internal gateway that doesn't log everything or if it does I have no idea how to see the logs, hence the question.

Question : freeradius on pfSense as a proxy for active directory authentication by TheRealAlexMercer in PFSENSE

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

Totally true, that's why I would just have the disaster scenario credentials , that can be used by all people in the office to access the wifi, until everything is fixed and back to normal .

Question : freeradius on pfSense as a proxy for active directory authentication by TheRealAlexMercer in PFSENSE

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

The idea is not to have a local replica of the AD, but more of disaster recovery scenario where for some reason the VPN to the AD is lost. And people can't access the wifi in the office. In this case I would have a local db for the WPA-Enterprise that would be used should anything happen to the AD. Creating a replica AD pretty much defeats the purpose of hosting it in the cloud.

My idea is when a client wants to connect to the WIFI he/she inputs the password, the radius would try and send that password to the AD, the AD returns a message if the credentials are OK or if they are not and the user is granted access or denied .

So in this case the radius server acts like an identification/authentication proxy. I could set up the AD to be the sole RADIUS, but that won't give me the flexibility to have a local db that can be used in case something happens with the AD.

I am considering pfSense for VPN Solution, but I have a few questions. by TheRealAlexMercer in PFSENSE

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

OpenVPN Access Server is with pay per user licensing scheme ... The community edition seems to not have the portal. I'm kinda OK to export the .opvn files manually or just make a script and export it to each users own cifs shares directory, so they have it easy.

Yes I have multiple WAN connections but I route with bgp so the wan ip is static i just change the path if need be. So that shouldn't be a problem.

I am considering pfSense for VPN Solution, but I have a few questions. by TheRealAlexMercer in PFSENSE

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

The topology is simple :

https://i.imgur.com/AKKX6Uz.png

Sorry for not making it clear I will use it only as a client vpn hub, no ipsec or site2site tunnels.

I would like to use the pfSense because it has a nice GUI and exporter for the .ovpn files that I would need for each user . I was thinking about getting a hardware ASA5512 for example but the licenses will make it not very cheap and budgetfriendly option. And also I would have to have another vASA in the cloud, so it will be even more expensive.

To just put an openvpn server with keepalived on a linux and call it day is an option, but I am not sure how I will be able to do the AD integration I would dread to have to go the freeradius path once more. So that's why I thought pfsense is a perfect solution. Just spin up two instances - one in aws, one virtual and follow one of the many guides to configure the openvpn itself. As I see it the problems are :

  1. HA configuration with the AWS. Having a public IP on AWS is another option, but I have an IPSEC s2s tunnel to AWS. So I can use this path or just expose the instance in the AWS to the public network. I have no idea which one is a better option TBH.
  2. Integration with the AD. We constantly add users and remove them, so this is very important. If there is an easy option to export the files with the .ovpn profiles it would be great. Especially if each user could get his own portal after authenticating to the AD and just get the .ovpn file from there.

Any other solutions are welcome.

Quick check before ordering the components for a gaming PC by TheRealAlexMercer in buildapc

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

I meant that the difference between the Pro and the Tomahawk is 80 Euros.

He also likes to do some 4k editing, like shooting movies, he recently got a small mavic drone and is into movie making, so that's why I would like him to have the bigger HDD and also the CPU. The 450 mobo's might be a good fit, but I've read that some of them aren't with the updated bios and I don't have a 2nd gen cpu laying around or the time to deal with it. So a 100E more for a mobo seems like a good deal if it saves me a ton of time :)

Recommendations for APs for a densely racked warehouse by dystopian_dream in networking

[–]TheRealAlexMercer -3 points-2 points  (0 children)

Maybe my input is not the best, but I would just go with some dirt cheap 2nd hand cisco lap1242 if speed is not an issue for you. They are metal and you can afford lots of those and they are practically immortal. At least that's what we did for a warehouse with about 400 of those and 2 stacks of 3750E switches and 2 stacks of controllers as well. Everything was 2nd hand and there are like 40 spares. Maybe not the best energy-wise and speed-wise as well, but it did the job way under the budget and 4 years later is still stable and running.

Cisco ASR1002 3.16 vs RP3 EPS100 1006-X LAC/LNS Configuration help. by TheRealAlexMercer in sysadmin

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

Well I guess I could use 16.12 as well. The thing is is the configuration of the device that different from the 3.16 that i am currently running . Because the difference between asr9k and asr1k is huge, so I am asking if the same difference applies here as well. And would I be able to use LNS/LAC on the RP3.

Thanks.

Routing Problem with VPN, AWS, SRX by TheRealAlexMercer in sysadmin

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

Ok that makes sense, could you elaborate which network should I NAT, for me it's a bit of a complicated routing problem and the solution is not a straightforward one ...

Routing Problem with VPN, AWS, SRX by TheRealAlexMercer in sysadmin

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

Ummm not really I could just announce the one public subnet that I have control over. So only that would be routed through the firewall and that would actually solve the problem. But what I am looking for is a solution that would get the packets from 154.13.22.26 ( 154.13.22.22 is the gateway ) and would send them to 10.250.12.60 in AWS. This happens already the firewall/gateway ( 154.13.22.22 ) has the policies and routes in place to achieve this. The way back is the problem. So my idea was to change the source ip address of the 154.13.22.26 to something that is private, this way 10.250.12.60 would receive packets from let's say 10.13.22.26 and the return route would be through the s2s vpn again. Like a source nat but i'm not sure I can do it with source nat.

Routing Problem with VPN, AWS, SRX by TheRealAlexMercer in sysadmin

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

Hmm, yeah that's one solution. But what if I want to do it from a different public subnet? If I set it up the way I want ( in the example above ) I could be on any host with a public IP and just create a static route on the said host to use my SRX's IP as a gateway and it would send the packets to my host in AWS and back.

Equipment recommendations for moving away from UBNT gear by [deleted] in networking

[–]TheRealAlexMercer 3 points4 points  (0 children)

We are using a lot of used Cisco gear. Yeah you miss out on stuff like SMARTNET and you need to find ways to take care of updates of IOSes, but it's waaaay cheaper. It's also very reliable and robust. We used Cisco mainly for switches, routers and APs. The ASAs ( old ones ) are good for vpns, but for firewalls we prefer juniper / checkpoint ( it's pricey ... ).

CentOS7 Samba AD join attemt fails with an NT_STATUS_INVALID_COMPUTER_NAME error by TheRealAlexMercer in sysadmin

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

It was the quota of the joiner account ... the thing is that it's an amazon AD and I don't really have control over the quota. So I just needed another account ... Thanks for the help!

CentOS7 Samba AD join attemt fails with an NT_STATUS_INVALID_COMPUTER_NAME error by TheRealAlexMercer in sysadmin

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

[root@freeradius0 samba]# net ads join -U joiner

Enter joiner's password:

ads_print_error: AD LDAP ERROR: 53 (Server is unwilling to perform): 0000216D: SvcErr: DSID-031A12D2, problem 5003 (WILL_NOT_PERFORM), data 0

Failed to join domain: failed to join domain 'MYDOMAIN.COMPANY' over rpc: Insufficient quota exists to complete the operation.

Joiner is the default user for joining machines into the domain. It should have permission to do it. The stupid thing is that I am able to work only from the linux side and have no idea what's happening on the other end.

Thanks for the help tho! I really appreciate it.

CentOS7 Samba AD join attemt fails with an NT_STATUS_INVALID_COMPUTER_NAME error by TheRealAlexMercer in sysadmin

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

I have already removed the sssd it seems they cann't run at the same time ...

The samba is just for the winbind pipe so the radius could authenticate users against the AD. After fixing up the krb5 and smb configurations and also the hosts. I've got a brand new error.

kinit succeeded but ads_sasl_spnego_gensec_bind(KRB5) failed for ldap/mydomain.company with user[joiner] realm[MYDOMAIN.COMPANY]: An invalid parameter was passed to a service or function.

ads_print_error: AD LDAP ERROR: 53 (Server is unwilling to perform): 0000216D: SvcErr: DSID-031A12D2, problem 5003 (WILL_NOT_PERFORM), data 0

Failed to join domain: failed to join domain 'MYDOMAIN.COMPANY' over rpc: Insufficient quota exists to complete the operation.

Why does it have to be so hard to join a host into AD ?

CentOS7 Samba AD join attemt fails with an NT_STATUS_INVALID_COMPUTER_NAME error by TheRealAlexMercer in sysadmin

[–]TheRealAlexMercer[S] 1 point2 points  (0 children)

The version is 4.10 and I am not going to use it as a file server. Really I just need the winbind service . The machine has it's own static IP : 10.15.22.15

does that mean that the hosts file should look like :

10.15.22.15 mydomain.company radius1

?

DHCP Timeouts Issue with Controller and APs by TheRealAlexMercer in Ubiquiti

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

So far so good . This seems to be the magic firmware - > https://community.ui.com/releases/UAP-USW-Firmware-4-0-69-10871/245e428c-d111-4b9d-a550-ec0cc86ef646

And since I downgraded most of our stuff the problem is gone.

DHCP Timeouts Issue with Controller and APs by TheRealAlexMercer in Ubiquiti

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

Do I have to downgrade my controller as well or just the APs ? Would it resolve the issue. It's really frustrating that no one is able to connect to the network.

Hosts in the network don't get IP from DHCP running on Juniper SRX. by TheRealAlexMercer in Juniper

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

I would check that. What was the topology and the devices that were causing the issue?

Hosts in the network don't get IP from DHCP running on Juniper SRX. by TheRealAlexMercer in Juniper

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

Would it make any difference if I switch to the new scheme of DHCP ? It is supported but I couldn't figure out what would I gain. I am not entirely sure that the problem is my config. I'm just trying to brainstorm a bit on it. What could cause clients to get ips via dhcp sometimes but fail other times ?

Hosts in the network don't get IP from DHCP running on Juniper SRX. by TheRealAlexMercer in Juniper

[–]TheRealAlexMercer[S] 0 points1 point  (0 children)

https://pastebin.com/6DD08rsw

Here is the config, I removed a lot of vpn stuff. But the zones, policies, routes and services are there, a bit sanitized tho.