Why can a port can be accessible from outside although it is not in firewall open ports on centos 7?

I have a remote vps working with CentOS 7, related firewalld info is as below, firewalld is running actively. [[email protected] mydir]# firewall-cmd –get-zone-of-interface=eth0 no zone [[email protected] doer mydir]# firewall-cmd –list-ports You’re performing an operation over default zone (‘public’), but your connections/interfaces are in zone ‘home’ (see –get-active-zones) You most likely need to use –zone=home option.…

Source policy-based routing to couple of sit tunnels. Works only first one

At Ubuntu Server 18.04 I want to have this behavior: curl -6 –interface 2001:470:e09f::3 ifconfig.co/ip 2001:470:e09f::3 curl -6 –interface 2001:470:c160::4 ifconfig.co/ip 2001:470:c160::4 But, unfortunately, only first prefix works. My startup script: #!/bin/sh sysctl -w net.ipv6.conf.default.forwarding=1 sysctl -w net.ipv6.conf.all.forwarding=1 sysctl -w net.ipv6.ip_nonlocal_bind=1 modprobe ipv6 ## tunnel_0 ip tunnel add he-ipv6-0 mode sit remote 216.66.22.2 local 154.16.126.60…

Nginx : How to do dynamic path routing requests to single root directory with different country (geoip module)

How to do dynamic path routing requests to single root directory and url to /<country_zone>/<actual_url>/* . I am able to retrive $country_zone value which can be any of (in|uk|us|other) using geoip module. e.g Request => Response / => / / (with geoip country as US) => /us/ /path/ => /path /path/ (with geoip country as…

How to serve 2 different URL as single URL in Apache 2?

I have Apache2 as my reverse proxy server. I have two web servers 1. Node and 2. Tomcat. Configuration looks like this: NodeJS server <Location /abc> ProxyPass http://127.0.0.1:3000 ProxyPassReverse http://127.0.0.1:3000 </Location> Tomcat Server <Location /xyz> ProxyPass http://192.168.1.29:8080/xyz ProxyPassReverse http://192.168.1.29:8080/xyz </Location> I want to serve both requests from single domain and URL should not change. It…