Latest Server related questions

Score: 0
Apache Rewrite to Nginx with ProxyPass
ck flag

I'm trying to redirect an Subdomain hosted on an Apache Webserver* with .htaccess to an external URL with hiding this external URL. The .htaccess file looks like this:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^sub.domain\.com [NC]
RewriteRule ^(.*) http://external-domain.com/$1 [P]

How I must configure the Nginx site? The site is very simple and works if called directly in the local network:

server ...
Score: 0
SoftEther vpncmd example
ne flag

Here there is a tutorial for SoftEther. But it is based upon the GUI software that is available only for Windows. I'm reading the manual, but it describes the functions in general.

I'm looking for an example of the list of vpncmd commands to achieve the "device to LAN" scenario for both server and client side.

I've already downloaded, compiled and started the server and client applications on both mac ...

Score: 0
iptables NAT REDIRECT
pe flag

I have a server that is receiving syslog traffic. Many of my devices can only send to the default udp/514 port. My syslog server can't run on ports <1024 and is running on 5000. I have a nat PREROUTING REDIRECT on the system and it's working great.

I do have a few Aruba wireless controllers that I want to direct to a different port. I'm trying to redirect packets with source addreess 10.5. ...

Score: 1
Marco Ferrara avatar
getpeername failed: Bad file descriptor
ma flag

I run script from an OracleLinux 8.4 VM (with NatNetwork configured on VirtualBox) on my Windows 10 pc, to remote hosts using jump host.

My PC can't connect directly to remote hosts, but need to pass by jump host after connect to VPN.

This is my env:

Server IP
Windows PC LAN: 192.168.0.10
Windows PC VPN: 10.201.66.134
OracleLinux VM: 10.0.100.100
Jump Host 90.x.x.x

I use these para ...

Score: 0
enpaul avatar
Create a /tmp partition that uses filesystem type of tmpfs in kickstart?
vn flag

I'm writing a kickstart script to use when PXE booting to automatically configure new systems with basic settings. I've got everything working except for the partitioning of the boot drive: my /tmp directory is under my / (root) partition instead of a dedicated tmpfs partition. I've found this support article on the topic, but it's locked behind a paywall.

This is what I have so far for partitionin ...

Score: 1
Website root trailing slash auto-removed (issue)
jp flag

as per title, when I enter my website URL manually (examples at the end of the topic), the trailing slash at the end of the domain being removed automatically. I have SSL redirect forced and Apache ModRewrite enabled in .htaccess and this is the file content (as you can see, it's autogenerated from Prestashop CMS (1.7.x)):

    # ~~start~~ Do not remove this comment, Prestashop will keep automatically  ...
Score: 0
Rob Campbell avatar
Unable to join a dc I just created with samba ad dc
au flag

I followed these instructions: https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller

These instructions didn't work exactly as they read. There was one step I didn't get a result because samba was stopped and it needed to be running (for dns) to get the result in the guide but other than that, everything happens as this guide says but when I try to join the doma ...

Score: 3
Nginx max_conns limit on multiple servers
br flag

If I have two server block in an Nginx and they both use the same upstream definitions. How would the max_conns limit work in this case?

I am assuming that the both server blocks will have a limit of 100 max connections and 90 keepalive. So in total, the following server blocks can have a total of 200 max_conns?

upstream example {
    server example.com:443 max_conns=100;
    keepalive 90;
}

 server  ...
Score: 1
Christopher Gibson avatar
Is it possible to connect through session manager to the instance using SSH from an external source like my desktop. And if so, how
cn flag

I have been clicking through the Session Manager console. Pretty neat.

The next question I have with this - I *think we should be able to connect using SSH from an outside SSH client. Meaning, I have a client on my desktop (The client I use is called Putty). So, is it possible to connect from desktop through session manager instead of having to login to the console?

The end goal for this: In product ...

Score: 0
"DNS address could not be found" in OPNsense using OpenVPN configured for ProtonVPN
de flag

I'm trying to route the WIFI and OPT nets from my OPNsense box to my VPN. The LAN port is connected to another router and passes directly to my WAN (for greater speed and less privacy). When I connect to the OPNsense WIFI and browse to a variety of sites, they all return "DNS address could not be found."

My VPN gateway status is "online", the VPN is "up" and has a unique remote and virtual IP. Wh ...

Score: 1
Ipsec VPN to AWS: Can't ping AWS end inside tunnel
in flag

Summary: I think I'm missing some routes on my Ubuntu server connecting to an AWS VPN with Strongswan Ipsec. Any idea what routes I need on my server?

I'm trying to setup a BGP routed VPN from a server to AWS. I've had this working with a statically routed VPN, so I know my AWS-side and ipsec is correct. However, BGP is proving tricky.

I'm using Strongswan on Ubuntu as the "customer" side. My ipsec  ...

Score: 1
Braden avatar
Use DFS to replicate file shares to two new servers?
au flag

Trying to find the best way to migrate file shares on one server we are deprecating to a new server. We will then use dfs from this new server to replicate with another new machine for our final setup.

I thought I’d just use dfs to replicate from the old machine to the new one, but then read about some potential issues (however this was on older server OS they had issues). I’ve seen numerous  ...

Score: 1
Why does Chrome on Windows 7 still display the old root certificate?
gb flag

Early this morning, I updated (with win-acme) the web server's (IIS 8.5) SSL certificate due to the known problem of Let's Encrypt with the expiration of the its root certificate (DST Root CA X3). So almost everything is fine and dandy with the new one: Firefox in Win XP 3 SP3, every browser in Windows 10 and Firefox on Windows 7.

However Chrome on Windows 7 shows the old one (DST Root CA X3) ins ...

Score: 0
How to test VPN connection inside LAN?
ne flag

I'm going to setup several machines for remote development and debugging. The final scenario will be:

[SERVER] at my office
   |----> VPN server
   |
Internet
   |
   |----> Router at customer's place
              |
              |----> Device 1
              |----> Device 2
              |----> ...
              |----> [CLIENT] my target machine (VPN client)

My goal is to connect t ...

Score: 0
Rafael Rebouças avatar
I can'`t create VM instance in Zone:southamerica - Google Cloud
it flag

Create VM instance "instance-1" and its boot disk "instance-1"

Permission denied on 'locations/southamerica-east1-a' (or it may not exist).

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.