Wednesday, June 10, 2020

MikroTech: Block with Keyword

- Go to IP => Firewall
on the Mangle Tab, add new Mangle Rule
+Chain =forword
+Action=mark connection
+New connection=Block

step-2

- Go to IP => Firewall, Onthe filter rules,
add Firewall Rule. Enter parameter value as below :
+Chain =forword
+Connection Mark=Block (created from Mangle)
+Advance
-Content=a.b.c.d (drop your keyword or domain)
+Action =drop

Monday, June 8, 2020

Failed to start rsyslog.service: Unit rsyslog.service is masked.


root@hellogcp:~# systemctl start rsyslogFailed to start rsyslog.service: Unit rsyslog.service is masked.root@hellogcp:~# systemctl unmask rsyslog.serviceRemoved /etc/systemd/system/rsyslog.service.root@hellogcp:~# ls -l /etc/systemd/system/rsyslog.servicels: cannot access '/etc/systemd/system/rsyslog.service': No such file or directoryroot@hellogcp:~# ls -l /etc/systemd/system/rsyslog.servicels: cannot access '/etc/systemd/system/rsyslog.service': No such file or directoryroot@hellogcp:~# systemctl start rsyslogroot@hellogcp:~# systemctl status rsyslog rsyslog.service - LSB: enhanced syslogd Loaded: loaded (/etc/init.d/rsyslog; generated) Active: active (exited) since Mon 2020-06-08 19:25:05 EDT; 5s ago Docs: man:systemd-sysv-generator(8) Process: 21269 ExecStart=/etc/init.d/rsyslog start (code=exited, status=0/SUCCESS)Jun 08 19:25:05 hellogcp systemd[1]: Starting LSB: enhanced syslogd...Jun 08 19:25:05 hellogcp systemd[1]: Started LSB: enhanced syslogd.