Latest Server related questions

Score: 0
uotn avatar
How to expose an EC2 to internet on AWS?
sd flag

I want to expose an EC2 service behind ALB, the flow looks like

User -> Route53(Domain) -> ALB -> EC2

Which subnet should the EC2 exist? The private or the public? And in this case, does an EIP necessary?

Score: 0
Questions about how to migrate an organization / project to another GCP account
in flag
S.T

I'm trying to move each GCP setting to another account that has been separated from my current account due to a change in the email domain I'm using.

[conditions] Transfer the contents of GCP to another account completely separated from the current account. Suspension of use of Google Workspace.

[Required work] Move API key for each project. Move billing account.

[Concerns] Will moving each GCP setting ...

Score: 0
How to forward my localhost to my VPS's ip address?
cn flag

I am running a localhost service on my VPS.

When i start the service, this is what i get:

Navigate to https://127.0.0.1:7443 in a browser

The problem with this is that i can't open it in my browser because it's a VPS.

I have tried running ngrok, but it says connection to localhost failed.

Is there a way i can forward it to the IP address of the same VPS the localhost is running? For example i open th ...

Score: 0
TSG avatar
Ansible fails to ssh connect to dynamically created EC2 host
cn flag
TSG

My Ansible script creates an AWS machine, then tries to connect to it. Depending on the image I'm creating, the default username for SSH login is either 'centos' or 'ubuntu' etc.

My script below fails on the wait_for_connection with a 'permission denied' error. I assume this is because ssh is using the wrong username; the control node is running the script as 'userx'. (I confirmed my public key ...

Score: 1
weenux28 avatar
Point Realm Join command to a specific Active Directory Server under a local domain on a Linux Machine
kr flag

Not sure if my title is confusing but, just wondering is there a way to point Realm Join command to a specific SRV Active Directory server that is a member ex. of mycompany.local domain?

Here's my join command:

realm join --user='MyAdminUser' --password='p@ssw0rd' --computer-ou='OU=Linux,OU=Servers,OU=MyCompany' --os-name='Linux' --os-version='CentOS 7' mycompany.local

List of my Active Directory servers ...

Score: 1
Outbound mail not sending (newly-installed Exchange 2019 server)
ve flag
Tim

Overview:

We have a demo environment where we have installed Exchange 2019. The Exchange 2019 server is set up in Classic Hybrid mode with centralised mail transport enabled. Inbound emails are successfully flowing through Office 365 to our on-premise Exchange mailboxes. However, outbound messages (sent from on an on-premise mailbox) is not received by external recipients.

Steps to reproduce:

  • An extern ...
Score: 0
mouchin777 avatar
Nginx, unable to redirect www domain to https non www domain when using certbot
us flag

Despite being there a lot of examples online I have tried a lot of stuff, specifically using if statements, but so far ive been unable to setup my vhost properly

So my vhost is

    a1.example.com

www.a1.example.com should redirect to https://a1.example.com
a1.example.com should redirect to https://a1.example.com

The goal is to redirect it to https non-www every single time.

This is my vhost so fa ...

Score: 0
Bhuwan Bhandari avatar
Nginx reverse proxy with Tomcat without showing the in 8080 in IP
ar flag

I have sucessfully proxy passed tomcat 1XX.XXX.XXX.XXX:8080 to 1XX.XXX.XXX.XXX through NGINX . Both 1XX.XXX.XXX.XXX:8080 and 1XX.XXX.XXX.XXX has and shows same thing.

server{ listen 80;
server_name 1XX.XXX.XXX.XXX
location  \{
    proxy_pass http://localhost:8080;
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarde ...
Score: 0
DevopsinAfrica avatar
proxy pass in nginx is returning 404 or 500
kz flag

I wanted to pass requests coming in to my nginx server to anther IP with an endpoint. I have a .conf file listening on specific port 7070 and I want to pass requests coming into my http://xx.x.x.xxx:7070 to http://xx.xxx.x.xxx:6060/api/app. here is my .conf file proxy passing in my sites-enabled folder

    server {
        listen xx.x.xxx.xx:7070;
location / {
        proxy_pass http://xx.xxx.x.xxx:6 ...
Score: 0
isd503 avatar
WinRM "Access Denied" Cross Domain
es flag

I have SERVER1 in DOMAINA and SERVER2 in DOMAINB. There is a firewall between the domains. SERVER1 is running Windows 2012 R2 and SERVER2 is running Windows 2016 Std. SERVER1 is a domain controller and SERVER2 is Windows Event Forwarding (WEF) collector. DOMAINA\SERVER3 is also a domain controller running Windows 2012 R2.

SERVER3 is using a certificate to send its Security event logs to the c ...

Score: 0
user9123 avatar
iptables forwarding not working when service listening on main interface IP address
in flag

I have a VPS with 3 IP addresses (say, 1.1.1.1, 1.1.1.2 and 1.1.1.3). 1.1.1.1 is the IP address for eth0 while 1.1.1.2 and 1.1.1.3 are assigned to eth0:0 and eth0:1 respectively.

I have followed a solution from another SF post to redirect all incoming traffic for 1.1.1.2 to an internal IP address. This works fine when I attempt to access a port on 1.1.1.2 on which there isn't a service listening, but wh ...

Score: 0
AWS Elastic Beanstalk - Disable nginx from EB Platform?
ph flag

I'm switching from nginx to Caddy so I set up Caddy and created a new AMI. When I deploy this AMI to my EB environment, it fails to launch because nginx fails to start during the launch. I'm no longer using nginx and want to remove it from the startup launch.

Using EB platform Ruby 2.7 running on 64bit Amazon Linux 2, how is it possible to prevent nginx from launching?

Score: 1
Rebuild RAID5 with uncorrectable sectors on multiple disks
cn flag

My software RAID5 (mdadm) system consists of five disks. Recently, I get I/O errors when reading certain files. Most of the other files are still readable.

At first, I was planning to find out which disk is broken (using smartctl) and quickly replace the failed disk to rebuild the array before other disks fail as well. However, smartctl shows that three disks have uncorrectable errors.

I'd think that ...

Score: 0
sataranights avatar
How to know in my network which computers have the local administrator account active
jp flag

As the title says: How do I know in my network which computers have the local administrator account active? Because, as per security consultant request, we have to know, and if possible, disable, every local administrator account on every of the 300+ notebook/desktops on the network.

There's a net use or wmi command to address it? Can it be set recursively to ask every computer on the network? We hav ...

Score: 1
rui avatar
DirectAccess not connecting on clients with temporary ipv6 addresses
je flag
rui

Our DirectAccess solution is working fine. We have hundreds of clients connected every day.

But sometimes, clients with Temporary IPv6 Addresses are not connecting. Even after performing:

  • Restart connection
  • Restart interface
  • Restart OS

None of the above helps until we disable IPv6 temporary addresses. Then they connect correctly after restart.

Is anyone else having this issue?

What can we do to s ...

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.