Latest Server related questions

Score: 0
Cannot browse from AWS instance to itself
cn flag
Gen

I created new AWS instance today and ran into a problem. Browsing (HTTPS) from external machines to my AWS instance works fine. When I browse from instance itself, I receive "Site can't be reached". The site is on IIS and the DNS name is bound to all IPs of this instance ("All unassigned").

Running nslookup on the instance yielded, that I receive right external IP while browsing from the instance ...

Score: 0
Per-share encoding in Samba?
cn flag

Most of my filesystems use KOI8-U (since early nineties), but there is one share, which is "owned" by a PHP-based web-application, that uses UTF8.

I have unix charset = koi8-u in the [global] section of smb.conf, but that causes non-ASCII filenames of that one special share to be mangled, obviously.

Trying to set the unix charset to UTF-8 just for that share is rejected by Samba:

Global parameter unix  ...
Score: 0
can't get iptables to handle more than 1.5 million nat sessions
pk flag

I am trying to see how many NAT sessions I can handle in a single linux machine using iptables. I am testing it using a large number of udp packets but I can't seem to pass 1.5 million. I set net.netfilter.nf_conntrack_max to 4194304 and /sys/module/nf_conntrack/parameters/hashsize to the same value. is there any other config I can change to make it support more sessions?

Score: 0
Abid avatar
Local devices aren't reachable via VPN
pl flag

I have a VPN configured on a router (router model is bintec be.ip plus).

VPN Connections are successfully established by the clients using IKEv2 (router is reachable via DynDNS).

Router's local ip address is 192.168.73.1. One of the local device's ip address is 192.168.73.150.

The problem is: sometimes the devices in the local network cannot be reached by the VPN clients. E.g. a ping fails:

> ping  ...
Score: 0
David.Woosley avatar
Can't find SMTP settings for postfix
sk flag

Our web application running on Centos7 has PHP and Perl scripts that send emails. We are switching from Gmail -- we are using it as a relay -- to MS360, and I presume that I need to change our SMTP settings/credentials somewhere, but I don't know where. The scripts and their configuration files don't contain the settings. I've looked at the files mentioned in the postfix documentation:

/etc/postfix ...
Score: 0
merilstack avatar
Remove Apache tomcat version from the app at the container level
cn flag

I am trying to send a GET request to my app as shown:

Request
GET /c%3a%5cboot.ini HTTP/1.1
Host: myapp.io
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Cache-Control: no-cache
Cookie: appCookie=MH3.7.9823272323477.1639691466;
User-Agent: Mozilla/5.0 (Windows NT 10.0; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.39
 ...
Score: 0
gsantos avatar
AWS Route 53 pricing for hosted zones and domain names
pe flag

Novice dealing with DNS services here. I'm setting up an ECS cluster of Fargate containers that need to communicate with each other. They are deployed as separate services in the same cluster, so I wanted to use CloudMap in order to automatically tie domain names to their ip addresses.

These names needed only be reachable from inside the VPC itself, so I did not want to register a public domain n ...

Score: -1
Sasidhar Mankala avatar
SSH port forwarding not working remotely
ai flag

I am trying to build a server with my old PC just out of curiosity. I installed ubuntu 21.10. And connected it with Real VNC. Now I need to connect it with ssh. I can connect to the PC via the local network, but when I try to connect from an external network it did not connect.

After researching I got to know I have to enable port forwarding for my router. When I try to do that the router's admin ...

Score: 0
Yogesh Devi avatar
VMWAre OVFtool export fails with error "Failed to create directory"
cn flag

I am trying to export a VM using OVFtool running on a windows server

ovftool.exe --allowExtraConfig  --noImageFiles --noSSLVerify "vi://xx.xx.xx.xx/myVM"    "c:\myPath"
Enter login information for source vi://xx.xx.xx.xx/
Username: myid
Password: ************
Opening VI source: vi://myid@xx.xx.xx.xx:443/myVM
Opening OVF target: "C:\mypath"
Error: Failed to create directory: "c:\myPath"
Warning:
- E ...
Score: 0
iptables forward all traffic except one
in flag

I am configuring my raspberry pi running Raspbian as a WIFI access point

using iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE to forward all traffic to ethernet and give wifi clients internet access

How do I make it so that if any client makes a request to a specific ip and port 10.10.10.10:8080 for example it will be forwarded to 127.0.0.1:8080 to be processed by a local http server running on ...

Score: 1
codeskipper avatar
Samba/Winbind domain member authentication issue
mx flag

In setting up a new Linux Samba fileserver as a AD member I keep running into an issue with authentication.

It appears to be triggered by running with selinux in Enforcing mode after joining AD, but it doesn't go away if I turn off selinux with setenforce 0 or reboot with SELINUX=permissive in the selinux config - at least not for an hour or so.

On the first test VM I set up with the same distro, setup  ...

Score: 1
How to export the details of a digital certificate (.cer file) to a csv file using powershell?
in flag

I have a digital certificate that I'm using for a specific task. I need to export the details of the certificate such as the serial number and issuer to a csv file that is already on my computer using PowerShell. Please keep in mind this is a digital certificate that is not installed on my computer but was sent to me and I downloaded it.

Score: 0
Imad avatar
IIS: Make multiple applications available from same IIS
eg flag

I am using a VM as a staging server. I have hosted my Sitecor applications there. They are basically 2 websites, abc.local and xyz.local. I wanted my testing team to access abc.local for testing purpose and I made it available using IP based binding

enter image description here

and it worked fine. Now I want them to access xyz.local also but I can't use same IP. So I tried making them available using host name like

enter image description here

but it doesn' ...

Score: 0
Windows Hello in Business Enviroment Bug
cn flag

i wanted to try if it is possible to use a fingerprint authorization for Windows 10 Pro within a domain. I enabled the following GPOs on our Windows 2012 server to test:

  • Computer Configuration/Administrative Templates/System/Logon/Turn on convenience PIN sign-in
  • Computer Configuration/Administrative Templates/Windows Components/Biometrics/Allow the use of biometrics

My goal would have been that doma ...

Score: 0
drowzee avatar
Networking - How to configure 2 routable IPs on different subnets on one CentOS machine
cn flag

Im trying to setup a Centos machine with 2 different IPs. I want that these IP's are able to communicate with their respective network.

  • ens192 : 10.17.252.254/24

  • ens256 : 10.16.51.131/24

Below is my routing table.

Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 
0.0.0.0 10.17.252.254 0.0.0.0 UG 0 0 0 ens192
10.16.51.0 10.16.51.254 255.255.255.0 UG 0 0 0 ens256 
10. ...
Score: 0
wget is not able to get the correct ssl certifiicate expiration date
bt flag

When I execute this

wget -O /root/installer.php https://www.grscripts.com/install/installer.deluxe

I receive this error

ERROR: cannot verify https://www.grscripts.com's/ certificate, issued by ‘/C=US/O=Let's Encrypt/CN=R3’:   Issued certificate has expired.

but it's not true , indeed http://www.grscripts.com's/ certificate is ok and will expire on Feb 2022. Why wget is failing to get th ...

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.