Latest Server related questions

Score: 1
Roustam Dzhafarov avatar
libreswan with Ikev2 client and plain text password
bo flag

I need to set up a connection to VPN server with Libreswan. I can't use strongswan, since they are not working well together when installed on the same OC.

My system is Linux Debian 10 (Buster) Kernel version: 4.19.0-17

I already have a working L2TP/IPSec VPN connection, so dont want to install additional software.

When I scan remote VPN with ike-scan, server responses with next:

Handshake returned:HDR ...

Score: 0
Sahat Shah avatar
wget stuck on the connecting to.. after few iptable rules
in flag

I'm using ipset module for iptables to allow only specific IPs in incoming traffic.

Here I have allowed only 2 Ips. Only these two IPs can connect to my server

However, if I do wget 142.250.195.46 it stuck on connecting to...

Here are the rules. I have allowed all outbound traffic.

iptables -I INPUT -i lo -j ACCEPT
iptables -I OUTPUT -o lo -j ACCEPT

iptables -A INPUT -m state --state ESTABLISHED,RE ...
Score: 0
uday avatar
How to route all traffic to a service in Istio?
ke flag

I have a virtual service yaml file with below lines.

apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: nodeserver
spec:
  hosts:
  - "*"
  gateways:
  - node-gateway
  http:
  - match:
    - uri:
        exact: /
    - uri:
        exact: /sample1
    - uri:
        exact: /sample2
    route:
    - destination:
        host: node-service
        port:
          number: ...
Score: 0
Carsten Krüger avatar
Windows Server - how to shrink partition on GPT disk from the front?
fi flag

I'm looking for a way to shrink a partition on a GPT disk from the front on production servers. With diskpart it's only possible to shrink the space from the end. Ideally while running

Score: 1
NGINX SSI working fine, but LAST_MODIFIED returning "(none)"?
cn flag

I have NGINX SSI working fine in the virtualHosts file (code below) but LAST_MODIFIED is returning "(none)", although the NGINX docs for SSI state that the ssi_last_modified directive appeared in version 1.5.1 (we’re running version 1.14.2).

VirtualHost file:

…
  location / {
    ssi on;
    ssi_last_modified on;
    …
  }
…

and in the .html file:

<!--#if expr="$footer_id='blackfooter'" --> ...
Score: 1
Eric H. Bowen avatar
Small business/charity first-time server build; Initializing and hardening?
in flag

I'm the volunteer IT coordinator for our small church. We currently use a Synology NAS as a file server, surveillance controller, web server, email server and DNS. It does a decent job with most of that but it's overmatched in the web server application.

We were using an external streaming service to live stream our Sunday services. Recently, though, our ISP upgraded us to direct fiber to the pre ...

Score: 0
Jacky avatar
Cross update on server failover
li flag

What should be the strategy on server failover and need to cross update. Example; primary server stream live data on Secondary server and incase of failover if traffic move to secondary and database are different then how to update the primary for those transactions happened on the secondary while failover duration.

Score: 1
How do I optionally specify parameters in Powershell?
cn flag

I'm porting some old code from AutoHotkey 'for laughs' and think I've stumbled across an unintended feature it had...

I'm wanting to be able to do something 'like'

$ws = "Minimized"
$parameters = "/k dir F:\" 
start-process cmd.exe ( $(if($parameters){"-argumentlist $parameters"}) )( $(if ($ws){"-windowystyle $ws"}) )

But it never 'concatenates' them into the one command 'holistically' without also ...

Score: 1
Jay avatar
Haproxy set Host Header per origin Server
ug flag
Jay

We are trying to set host header per origin server, we can set per back end, but we are using default names on Azure app services, and as such the service will only respond to its own hostname, for example

http-request set-header Host example1.azurewebsites.net # for origin server 1

http-request set-header Host example2.azurewebsites.net # for origin server 2

However, can't see any way to set this on t ...

Score: 0
IPtables port forwarding to host machine IP
us flag

In an LXC container I have Wireguard installed and the client connects normally and I see the port and the information, but when I try to curl to localhost (127.0.0.1) or to the local ip (192.168.1.180) it doesn't connect.

192.168.1.180 (Host IP) 10.7.0.2 (IP)

10.7.0.2:6060 <-> 192.168.1.180:6060

curl -I 10.7.0.2:6060

-Resolve OK --

curl -I 127.0.1:6060 (OR) curl -I 192.168.1.180:6060

Responde u ...

Score: 0
Darren Alexander avatar
Map a subdomain to an individual email address
in flag

say I want to redirect multiple subdomains to different email addresses

So:

*@it.example.tld --> [email protected]

*@finance.example.tld --> [email protected]

*@hr.example.tld --> [email protected]

*@mail.example.tld --> [email protected]

*@example.tld --> [email protected]

So I would like to be able to translate all emails sent to a specific subdomain to a single mailbox.

Score: 1
Ajaib Singh avatar
Ubuntu 20.04: su command bash-autocomplete stopped working
jm flag

I am using Ubuntu 20.04. The su autocomplete stopped working. For example when I type:

su TabTab

It lists the files and directories of the current directory, where as it should list the available users.

Bash auto-complete for other commands is working fine for example:

apt-get TabTab

It lists the available apt-get options.

usermod TabTab

It lists the available user accounts.

su was working fin ...

Score: 0
vivek avatar
ntpd -g does not sync the clock
cn flag

From ntpd man page

If time is more than 1000s from the server time, ntpd assumes something must be terribly wrong and the only reliable action is for the operator to intervene and set the clock by hand. This causes ntpd to exit with a panic message to the system log. The -g option overrides this check and the clock will be set to the server time regardless of the chip time.

I have done small experiment  ...

Score: 1
Owen avatar
How to enable HTTPS for my marketplace
de flag

I'm building a marketplace platform that enables many merchants to sell to their customers. At the moment I serve stores on my own domain like so https://storeA.mydomain.com or https://storeB.mydomain.com (I'm able to use the subdomain to distinguish which store is to be served). However, I'd like to enable my merchants to use their own domains on my platform whilst being able to secure the site o ...

Score: 0
Use Nginx proxy pass (reverse proxy) to serve an Apache hosted site with SSL
us flag

I've searched the forums (and elsewhere on the web) and have found related but seemingly not identical information. Hopefully I'm not duplicating here.

I have a site running on an Apache server. It already has an SSL certificate (via LetsEncrypt) and runs without issue.

I've recently setup a machine 'in front' of it that is running Nginx. That machine serves three domains (with one certificate from  ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.