Search found 42 matches

by fdisk
2018/11/01 14:52:56
Forum: CentOS 7 - Networking Support
Topic: OpenVPN: Clients can connect to each other but not the server
Replies: 5
Views: 1608

Re: OpenVPN: Clients can connect to each other but not the server

Have a look at iptables default policy and check if there are firewall rules preventing connections through tun-interface.

Code: Select all

iptables -L -v  |grep -i 'tun\|policy'
by fdisk
2018/09/14 21:16:05
Forum: CentOS 7 - Networking Support
Topic: To shutdown all network computers
Replies: 3
Views: 3467

Re: To shutdown all network computers

Depending on your hardware there's a good chance to accomplish this task with WOL (wake on lan) instead of scripting around ssh. However, personally I would prefer ansible as an orchestration tool - in my opinion this is a neat solution no matter how large your system pool is. And it comes with tons...
by fdisk
2018/08/15 17:54:37
Forum: CentOS 7 - Software Support
Topic: [SOLVED]OpenVPN don't start from systemd
Replies: 5
Views: 21773

Re: [SOLVED]OpenVPN don't start from systemd

This sounds like your /etc/openvpn/server directory is denied by selinux.

Check selinux context with

Code: Select all

ls -laZ /etc/openvpn
If server directory shows no selinux context you can restore centos defaults with

Code: Select all

fixfiles -R openvpn restore
by fdisk
2018/08/09 11:24:10
Forum: CentOS 7 - General Support
Topic: regex in shell script
Replies: 2
Views: 532

Re: regex in shell script

Something like this:

Code: Select all

sed -r /abc/s/"(([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5])\.){3}([0-9][0-9]?|[0-1][0-9][0-9]|[2][0-4][0-9]|[2][5][0-5])"/"192.168.1.1"/g file1.txt
by fdisk
2018/07/29 22:58:25
Forum: CentOS 6 - Software Support
Topic: Access IPMI from api
Replies: 3
Views: 1735

Re: Access IPMI from api

IPMI can be used locally or remotely. When it comes to multiple servers you may want to combine it with an orchestration tool like ansible.
by fdisk
2018/07/29 09:50:21
Forum: CentOS 6 - Software Support
Topic: Access IPMI from api
Replies: 3
Views: 1735

Re: Access IPMI from api

I haven't done something with IPMI lately. But as fas as I can remember you just need to configure its dedicated management LAN Port and browse onto it.
by fdisk
2018/07/26 16:18:55
Forum: CentOS 7 - General Support
Topic: fpm problem
Replies: 1
Views: 551

Re: fpm problem

Most likely this is due to insufficient child processes configured in php-fpm settings. Check /etc/php-fpm/*.conf and check/tune pm.* values.
by fdisk
2018/07/05 20:15:13
Forum: CentOS 7 - Networking Support
Topic: Server in the middle
Replies: 3
Views: 619

Re: Server in the middle

Didn't read it word by word but this tutorial should be fine: https://linuxtechlab.com/turning-centosrhel-6-7-machine-router/ In your case the mentioned "WAN IP address" is the NIC connected with your router. This means it must have an address within the subnet of your routers IP range. The "interna...
by fdisk
2018/07/02 19:06:00
Forum: CentOS 7 - Networking Support
Topic: Connect to a VPN server on Centos 7
Replies: 5
Views: 6287

Re: Connect to a VPN server on Centos 7

Have a look at Redhat Bugzilla, as this might be a known bug: https://bugzilla.redhat.com/show_bug.cgi?id=1467910